Re: [qubes-users] How to change / swap behavior of Ctrl, Alt, Win, and fn keys?
AFAIK most laptops handle Fn key in firmware, but Macs do it in OS. If you remap Fn key in BIOS, it should be transparent to the OS, so it should be applied to all domains. The Xmodmap works on too high level, so you need to apply to all the VMs. I've tried few ways of remapping keys in dom0 transparently to all other domains, but I've failed. Some experiments with xdotool looked promising, but I was unable to get rid of some weird effects like sticky keys and spurious modifier keyup. (Well, I was able to get rid of some of them. But then, some other issue has appeared.) But this one looks the closest to the desired result. Regards, Vít Šesták 'v6ak' -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/a1a65ffd-13c9-4c65-a81f-d4c37b907574%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to change / swap behavior of Ctrl, Alt, Win, and fn keys?
On Sat, Aug 05, 2017 at 05:15:22PM -0700, Tao Effect wrote: > Dear list, > > Does anyone have any suggestions on how I might go about changing the > behavior of the keys mentioned in the subject? > > I'm so very used to the OS X keymap and it is, I think, unnecessarily painful > having to switch between different keyboard layouts. > > I would love to remap keys as follows: > > Ctrl => fn > Alt => Ctrl > Win => Alt > fn => Win > > Any help appreciated! > > Thanks so much, > Greg > Hi Greg, As others have said, the Fn key is usually set in BIOS - if your machine supports it you may find that you are able to swap keys there. (On my Thinkpad you can do this, and it's also an option on some HPs.) For the other keys, the simplest method would be to use xmodmap. First, dump the existing keycodes. 'xmodmap -pke > ~/.xmodmap' Then edit the file, swapping the entries as appropriate. You can test the new settings by: 'xmodmap ~/.xmodmap' To avoid doing this manually, you can add this command to .xinitrc - in my experience that doesn't work in Qubes, but you can achieve the desired effect by adding the line to .bash_profile. Because of the BIOS constraints on the Fn key, you may find that you have to implement swap FN-Ctrl in BIOS, and then remap Ctrl to Win using xmodmap. A major issue that you'll encounter is that individual qubes no longer seem to inherit from dom0. (i think they used to.) That means that you'll need to make this change in each qube AND i don't know how those qubes will cope with the BIOS key swap, but it's worth a try. unman -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170806175132.doizbj7ruezz5wo4%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to change / swap behavior of Ctrl, Alt, Win, and fn keys?
On 08/06/2017 03:43 PM, Connor Page wrote: > AFAIK fn does not emit a code and bios will process it only in combinations > with predefined keys. That is also how I observed it. > other keys can probably be remapped. but from my exprience I failed to swap > fn and ctrl. Depends on the laptop model. The keyboard is handled by the embedded controller which typically runs proprietary firmware. But that does not prevent people from modifying it anyway :) https://github.com/hamishcoleman/thinkpad-ec/pull/32 -- Live long and prosper Robin `ypid` Schneider -- https://me.ypid.de/ -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/86f1843d-e6d6-8a91-7100-35645adc83a6%40riseup.net. For more options, visit https://groups.google.com/d/optout.
[qubes-users] How to change / swap behavior of Ctrl, Alt, Win, and fn keys?
AFAIK fn does not emit a code and bios will process it only in combinations with predefined keys. other keys can probably be remapped. but from my exprience I failed to swap fn and ctrl. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/873db90b-1612-4b8f-8475-668684e2323e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[qubes-users] How to change / swap behavior of Ctrl, Alt, Win, and fn keys?
Dear list, Does anyone have any suggestions on how I might go about changing the behavior of the keys mentioned in the subject? I'm so very used to the OS X keymap and it is, I think, unnecessarily painful having to switch between different keyboard layouts. I would love to remap keys as follows: Ctrl => fn Alt => Ctrl Win => Alt fn => Win Any help appreciated! Thanks so much, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/B6EDA630-05D4-4980-897E-81810BD832CC%40taoeffect.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: Message signed with OpenPGP