Solved shift-ctrl-c vs ctrl-c

Coming from macOS, copy & paste is pretty straight forward and universal because the shortcuts will not interfere with other features (ie command-c ≠ ctrl-c).

As I use more often my FreeBSD Xfce4 desktop I find myself frustrated over the copy & paste shortcuts as they change across applications. Most seem to use ctrl-c but for an obvious reason XFCE Term will not (shift-ctrl-c instead).

Is there a way to change the copy and the paste shortcuts in every applications so that I can:
- have a unified UX
- map those to buttons 4 and 5 of my mouse like I do on macOS?
 
I’m well aware of ctrl-c usage in terminals and I don’t want to mess with that.
What I was asking for — sorry if it was not clear — is a way to replace the ctrl-c and ctrl-v shortcuts of every other application («copy» and «paste») to something else (shift-ctrl-c and shift-ctrl-v for example) so that I can enjoy the same shortcuts everywhere.
If I have the same shortcuts everywhere I can assign mouse buttons for them.
 
I never used ctrl-c and ctrl-v for copy/paste as ctrl-c is always "break" and ctrl-v is always "literal input" for me. I wonder if all the applications you are using support ctrl-insert (copy) and shift-insert (paste) as well (that's what I'm using)?
 
It rocks!
I’ve installed xbindkeys and xdotool, tuned a .xbindkeysrc with:
Code:
"xdotool key 'Control_L+Insert'"
       b:9

"xdotool key 'Shift_L+Insert'"
       b:8

and started xbindkeys and Voilà \o/

lateral mouse button now allow me to copy & paste everywhere.

Thanks a lot
 
Not universal but for Gtk I recall OpenBSD defaulting to "emacs copy and paste". This can be changed via:

'~/.config/gtk-2.0/gtkrc-2.0' (gtk+2)
'~/.config/gtk-3.0/settings.ini' (gtk3)

gtk-key-theme-name is the variable name you want.
 
Hi, I had a similar idea to set macOS shortcuts in Xfce. I also changed it directly in xbindkeysrc, but later found that it didn't work well. In apps, it worked, but in the terminal, it didn't. And this is the most annoying.

In the macOS Terminal, you use Cmd+C to copy and Ctrl+C to stop. So, now I changed my approach. Instead of binding Ctrl to Cmd, I set Cmd + C (and any other common shortcuts) to Cmd per app. So I open Xfce Settings > Shortcuts and replace all shortcuts from Ctrl to Cmd, then in Xfce Terminal from shift-ctrl-c to Cmd + C and now it works exactly as it's in macOS.
 
Obviously, working around keyboard shortcuts is a pain… this is why I’m pretty happy with my mouse button setup for copy-paste. On my Macs (home & work) I use Mac Mouse Fix.
Also, my keyboard layout is BÉPO and I have a split keyboard: regular shortcuts like ctrl-z, ctrl-c (or cmd-c) need fingers from both hands.
 
Back
Top