Bug 13824

Summary: Add XkbOptions caps:swapescape
Product: xkeyboard-config Reporter: Renato Botelho <rbgarga>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: low    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to add caps:swapescape rule
2nd version of patch to add caps:swapescape rule

Description Renato Botelho 2007-12-26 06:52:51 UTC
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
Comment 1 Renato Botelho 2007-12-26 06:55:47 UTC
Created attachment 13364 [details] [review]
Patch to add caps:swapescape rule
Comment 2 Sergey V. Udaltsov 2007-12-26 11:32:20 UTC
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
Comment 3 Renato Botelho 2007-12-27 02:21:45 UTC
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
Comment 4 Renato Botelho 2007-12-27 02:22:57 UTC
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.
Comment 5 Sergey V. Udaltsov 2007-12-27 14:47:24 UTC
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.