For vi users is not cool to press ESC everytime to go to command mode, and, caps lock is a key that a lot of people don't use so much. Since we have option t swap ctrl and caps, option to disable caps, i created one for me to swap caps and escape, a lot of friends of mine are using it today and we would like, if it's possible, to see it committed on oficial tree, because all of us need to patch rules/base and symbols/capslock everytime we install or upgrade xorg. We agree that it could be useful for a lot of users. Patch can be found here: http://people.freebsd.org/~garga/patches/xkeyboard-config.patch
Created attachment 13364 [details] [review] Patch to add caps:swapescape rule
I have nothing against the whole idea but the patch is not correct. It should not patch rules/base, but rules/base.o_s.part instead. Also, the change for rules/base.xml.in is missing
Sorry about bad patch, i have no experience with xorg stuffs. Here is a new patch touching files you told, if it has problems too, just let me know. http://people.freebsd.org/~garga/patches/xkeyboard-config.patch I'll attach to the bug too Thank you
Created attachment 13380 [details] [review] 2nd version of patch to add caps:swapescape rule Here it is, let me know if it needs changes again.
That version is good enough, thanks. Committed!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.