Bug 13824 - Add XkbOptions caps:swapescape
Summary: Add XkbOptions caps:swapescape
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: low normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 06:52 UTC by Renato Botelho
Modified: 2007-12-27 14:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to add caps:swapescape rule (757 bytes, patch)
2007-12-26 06:55 UTC, Renato Botelho
Details | Splinter Review
2nd version of patch to add caps:swapescape rule (1.67 KB, patch)
2007-12-27 02:22 UTC, Renato Botelho
Details | Splinter Review

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.