Change Inter-VM Copy/Paste Shortcut?

Affichage de 111 messages sur 11
Change Inter-VM Copy/Paste Shortcut? ryan....@gmail.com 24/06/16 12:16
Hello,

Is there a way to change Ctrl+Shift+C and Ctrl+Shift+V to something like Ctrl+Alt+Shift+C and Ctrl+Alt+Shift+V or Meta+C and Meta+V?

As I try out Qubes for the first time, I find it clashes with my most heavily used shortcuts for other things (like interacting with the terminal).

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? Andrew David Wong 24/06/16 17:58
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Yes, these shortcuts are configurable in /etc/qubes/guid.conf (in dom0).

There are sample values under "global," including secure_copy_sequence
and secure_paste_sequence. You can define these with your preferred
key combinations. (Don't forget to uncomment those lines.)

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXbdc1AAoJENtN07w5UDAwNsAP/jCvaz+ESa2rnHg7NHKir+m3
i8W8jI7ckpgi5T1C6yCgmEYj+8Fvx1mCYEn2znOT9oBs0v7NAZiWtWlhtWWwAcgX
TsTWV+3XwxTRWMrInsxLJoQs7zSbquImRVro25xXwJ2PHyEQOgAdOFgTF14FpaTv
+nZIvpuaGaDJ5Z/XuiexhPp//9Lz7acNHbwfiohs780oJ42AMm5UZAhmmr/QrBa8
SCkHrX6TxG/WAzZ622y4PEj3PLu14Y8jxw4CVUz1g4SJoHt/LVW0aiL1RqrRsf3t
qkOTokr98k8Jqu9L8mNcjlMIAQtCM6U/ZhjwN99noEohm1yfXJxFlxiDxhqJZTPu
Lqut8XkRFtAa419ruCUKjSF8fd1kqo5rGOyN677doCxpB9U47rOZZNh8zrMfasYM
2e7YmVnezx03pNEUZcC5QbUZGKV++Vmqcmui0gEnWbPncFQgDOan/tMz9XVXjo9F
XMZUaydcGRAKnLhPJ7nt4x1/IBlw1Xy9pSrXjEQ6g9bvMAbmJmfg7ZhA9/lN6qui
+Yu8n2Ami8BiL7zM/REnyHkrUVrsPWzbeV9+2doQt8LqjfA6wNxpYZM5XIe/apXM
+ea8rGAVQCz1KZqsyZSUNZBvlkxpf3kYAOgd/Xiv9PlsEJ51qxMV/dE64LPk6nm3
Qh2K3ho3/xh6MVz6pGbx
=3J0h
-----END PGP SIGNATURE-----

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? Markus Kilås 25/06/16 02:00
On 06/25/2016 02:58 AM, Andrew David Wong wrote:
> On 2016-06-24 12:16, ryan....@gmail.com wrote:
>> Hello,
>
>> Is there a way to change Ctrl+Shift+C and Ctrl+Shift+V to
>> something like Ctrl+Alt+Shift+C and Ctrl+Alt+Shift+V or Meta+C and
>> Meta+V?
>
>> As I try out Qubes for the first time, I find it clashes with my
>> most heavily used shortcuts for other things (like interacting with
>> the terminal).
>
>
> Yes, these shortcuts are configurable in /etc/qubes/guid.conf (in dom0).
>
> There are sample values under "global," including secure_copy_sequence
> and secure_paste_sequence. You can define these with your preferred
> key combinations. (Don't forget to uncomment those lines.)
>
>

Any chance the defaults could be changed in a future version?
Having defaults working well for most people could have a value and make
it easier for new users even if it is possible to customize at will.

In my opinion having those starting with Ctrl+Alt+... would be more
conventional for shortcuts that are "global/desktop/VM-wide".
See for example:
- Ctrl+Alt+F? for switching virtual terminal
- Ctrl+Alt+Del for shutdown/reboot
- Ctrl+Alt+Backspace for killing X (?)
- Ctrl+Alt as the special key combination in KVM and VMWare

While Ctrl+Shift+... could be used by local applications. Most notably
as mentioned above for the terminal applications.

However, a workaround I found for the terminal clash is to instead
re-learn to use Shift+Insert for pasting.

Cheers,
Markus
Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? Niels Kobschaetzki 25/06/16 02:52
I would switch immediately back to ctrl+shift+c/v because I have to use
those shortcuts all the time. One example: copying passwords out of my
password manager which is in its own domain to the other domains. Or
when I blog I might have to copy stuff from my untrusted-domain to my
blogging-domain etc.
ctrl+alt is just worse imho (except maybe when caps is mapped to ctrl,
then it might work).

>However, a workaround I found for the terminal clash is to instead
>re-learn to use Shift+Insert for pasting.

That's the only part where I found it annoying. The first time in years
I switched to using the mouse in the terminal. But maybe I should just
switch to ctrl+ins and shift+ins like I have to do at work on my
windows-machine when using my ssh-client. Those shortcuts work in
gnome-terminal as well.

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? Marek Marczykowski-Górecki 25/06/16 03:57
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Jun 25, 2016 at 11:52:08AM +0200, Niels Kobschaetzki wrote:
> On 16/06/25 10:59, Markus Kilås wrote:
> > Any chance the defaults could be changed in a future version?
> > Having defaults working well for most people could have a value and make
> > it easier for new users even if it is possible to customize at will.

No, we're not going to change the default at this stage. The current one
works for almost every Qubes user, for years.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXbmObAAoJENuP0xzK19cs/48H/jaRSoRuXTqBRLVztmXPQhZG
6dkQPSIz5C8UtdNpXiT3frYLVeIYnGSVw9xSvlqLKVN3QQhvCfvKH4BbRn3khBw/
bpmRLNDfHc7OhKMH+nbXz0ABJRBYO0bWL6zbuwWdfxM1QTIvA0bHTkXIjrsXN5Hj
4I2zXozSsyl0PUlVKD0JqbhViNjGVrDrdpRVFV/UWEuRH6lXA4dEVB6TVMfKFfaY
lGxeO4l6XqBZNrMvWz6sFNC1MlNnmHFDA0RCxIRKnFF0axFSJwhvcyLrXd5YCeFb
HRVatHN5rXMSD0/SqWHPkH5d0yYGCI7q2k70eaKIIDgNIBQEhI+vqeWBMogImq0=
=n8VH
-----END PGP SIGNATURE-----
Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? ryan....@gmail.com 25/06/16 09:47
On Saturday, June 25, 2016 at 2:52:21 AM UTC-7, Niels Kobschätzki wrote:
>
> I would switch immediately back to ctrl+shift+c/v because I have to use
> those shortcuts all the time. One example: copying passwords out of my
> password manager which is in its own domain to the other domains. Or
> when I blog I might have to copy stuff from my untrusted-domain to my
> blogging-domain etc.
> ctrl+alt is just worse imho (except maybe when caps is mapped to ctrl,
> then it might work).
>
> >However, a workaround I found for the terminal clash is to instead
> >re-learn to use Shift+Insert for pasting.
>
> That's the only part where I found it annoying. The first time in years
> I switched to using the mouse in the terminal. But maybe I should just
> switch to ctrl+ins and shift+ins like I have to do at work on my
> windows-machine when using my ssh-client. Those shortcuts work in
> gnome-terminal as well.

Yeah, the problem is, I am likely to use copy/paste to terminal a lot more than between domains in day-to-day work, and there aren't a ton of other, simple one-handed shortcuts. Shift+insert is awful.

It's unfortunate that ctrl+c is so overloaded (being the kill command for terminals). I *think* what I'd like to do is use Windows_Key (Meta) + C for copy, but so far I haven't figured out how to get that to work. "Meta" didn't work in the config file noted above. Maybe I'll end up going Meta+C for the terminal copy. Need to circle back to this...
Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? cubit 25/06/16 10:49
25. Jun 2016 16:47 by ryan....@gmail.com:

I *think* what I'd like to do is use Windows_Key (Meta) + C for copy, but so far I haven't figured out how to get that to work. "Meta" didn't work in the config file noted above.


To use the Windows Key, it is `Mod4`


"Mod4-c"

"Mod4-v"



Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? ryan....@gmail.com 25/06/16 21:21
On Saturday, June 25, 2016 at 10:49:39 AM UTC-7, cubit wrote:

> To use the Windows Key, it is `Mod4`
>
>
> "Mod4-c"
> "Mod4-v"

Thanks!

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? Rune Philosof 10/01/18 01:05
On Saturday, June 25, 2016 at 7:49:39 PM UTC+2, cubit wrote:
> To use the Windows Key, it is `Mod4`
>
>
> "Mod4-c"
> "Mod4-v"

How did you figure that out?
I haven't been able to find documentation with a list available modifier names.
I tried using the names from `xev`'s output with no luck.

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? a...@it-minds.dk 10/01/18 04:06

I have no idea what xev gives, but mod4 is pretty much the 'super' key (or Windows key). 'Mod' is usually the Alt (left Alt) key.

I know this because I used tiling window managers a lot, and from there I knew that Mod4 = Windows key.

I don't know what the deeper meaning is, where it's bound, or why it has that name :)

Re: [qubes-users] Change Inter-VM Copy/Paste Shortcut? cooloutac 11/01/18 11:49
was just about to post,  tk goodness...lol