Will
- 1 Post
- 14 Comments
You’re describing the primary selection. The article’s about patching secondary selection back into gtk3 (c. 2015?). It’s ctrl+select followed by ctrl+middle to paste as yet another clipboard. This has the unique and useful property that neither selection nor paste changes the text cursor’s position.
A more in-depth look at secondary selection is in the embedded video which has it’s own write-up on https://www.cs.man.ac.uk/~lindsec/secondary.html
[I suspect primary-secondardy selection is not a confusion you have, but one a casual skip-the-article-direct-to-comments reader might have]
Will@lemmy.mlto
Linux@lemmy.ml•GNOME & Firefox Consider Disabling Middle Click Paste By Default: "An X11'ism...Dumpster Fire"English
2·2 days agoAnd the keyboard shortcut for primary clipboard paste (
Shift+Ins) is already gone from gtk.- https://gitlab.gnome.org/GNOME/gtk/-/issues/352 (closed)
- https://bugzilla.mozilla.org/show_bug.cgi?id=1070518 (open)
- There’s a nice Q/A on stackexchange: “Why does Shift+Insert paste from CLIPBOARD in some applications and PRIMARY in others?”
Will@lemmy.mlto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?English
5·24 days agoFor interactive editing, the keybind
alt+.inserts the last argument from the previous command. Using this instead of $_ has the potential to make your shell history a little more explicit. (vim $_isn’t as likely to work a few commands later, butvim actual_file.shmight)
Will@lemmy.mlto
Linux@lemmy.ml•What are some of your most useful or favorite terminal commands?English
4·24 days agohttps://atuin.sh/ does one better. history with context: $PWD, $HOST, time. There’s a bunch of other bells and whistles, but they’re easy to ignore to get an noninvasive upgrade to ctrl+R
I have a bash function in
fuzzy_argthat I bind to Alt-a to uses fzf for interactively inserting arguments from previous commands. It’s Ctrl-r for Alt-. – I’ve found it super useful for essentially inserting partial commands (single arguments) from the history
you can get a lot of the way there with Control+R reverse history search (mentioned in the article) – and it’s interactive. With
fzfyou can even get fuzzy history searching (the first search result has a video).atuinputs history into a proper db, optional syncs across hosts, and, like fzf, enhances control+r
I get not wanting to find yourself in the crosshairs of IT policy people. And more so, having reverence for security measures. But, at least for the enterprise software I interact with, I don’t see security implications and don’t feel the effort to be frictionless is symmetric. I see the opposite. Policies increase insecure behavior and are obstacles to my job.
Methinks those making purchase and policy decisions are not those who interact with the consequences (use the software in anger). I’ve been on the receiving end of some sales pitches – the users are often an afterthought, not a priority. It’s hard to respect the spirit (if not the letter) of bad policies, especially when the polices are hostile to me-the-user and getting-my-job-done.
Currently grinding my gears: Why are we using MS Teams? Why does Teams block firefox (and safari, based on user-agent of all things!)? Why is IMAP disabled?
yeah! davmail provides a LDAP bridge for contact lookup. There’s a guide for setting up Thunderbird to use it
Give the aforementioned davmail main page a look! The diagram does a pretty good job showing it’s capabilities. Among other services, davmail bridges to LDAP (contacts) and calDav (calendar) too!
I pull my work outlook calendar and personal google with vdirsync and khal on laptop and desktop.
doesn’t have to be outlook! davmail (configured with the outlook client id) can provide an imap bridge for mbsync, thunderbird, etc to access in even the most restrictive O365 environments.
davmail.oauth.clientId=d3590ed6-52b3-4102-aeff-aad2292ab01c davmail.oauth.redirectUri=urn:ietf:wg:oauth:2.0:oob
Will@lemmy.mlto
Linux@lemmy.ml•Wine Staging 9.11 Released With A Patch For A 17 Year Old Bug ReportEnglish
3·2 years agoDoes ReactOS already support the newest office and Photoshop out of the box!?
MS Office 2021 is garbage but at least 2016 and O365 Home (32-bit) are both silver. The linked Photoshop CC 2023 is also silver. That already seems like an impressive feat by the wine team.
Will@lemmy.mlto
Linux@lemmy.ml•Software to use laptop/tablet screen as an external monitorEnglish
2·2 years agoI’ve gone the x11vnc on a dummy display route, but found the setup’s too much ceremony to want to use with any consistency.
Deskdock + barrier/synergy is slightly more ergonomic – your laptop mouse and keyboard redirect to control android when you move the mouse out of the laptops screen and onto the tablet, but both displays are showing their native OS.
It’s entirely tangential (not for android, not just a screen), but arcan does some cool stuff in this space. Here’s a video of “sever tunneling” https://youtu.be/jIFjzN7dk10?t=107 (fancy x11 forwarding; It looks fascinating, but I’ve never gotten it setup).
It’s in emacs! Using alt instead of ctrl https://www.gnu.org/software/emacs/manual/html_node/emacs/Secondary-Selection.html