Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I need to add extra meanings to keystrokes in the X environment.
I believe I did the right thing adding right control key to modifier Mod3 with xmodmap.
The environment is French Ubuntu Edgy 6.10 with Gnome, French 105 keys PC keyboard layout.
Here is what was the default modifier table as returned by xmodmap -pm
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
As a result Control_R c just displays c, while Control_L c still shows the usual Control c behaviour.
My question is : how can I assign a new symbol (for example D) to Control_R c for all future X Window sessions on the machine ? In other words, how do I set the mod3 meaning for keystrokes ?
may be of assistance to you as it allows you to 'permanently' modify your keyboard.
cheers,
Thanks for the hint, but my problem is not configuring extra function keys.
I need to configure an APL keyboard on top of a French layout. I found APL keymaps for US keyboards, using the mode switch key, but on a French keyboard the mode switch key is already used for characters such as backslah, arobas, brackets, which I do not want to override.
I have the feeling that an X configuration file has to be written and put somewhere (/etc/X11 ?) but I could not find anything really relevant.
There might be another way to achieve what I need :
On my Ubuntu 6.10 system with a 105 keys French keyboard layout, xmodmap -pke outputs 6 keysyms per keycode, although the manual page states that only the 4 first are keyable (key, shitf key, AltGr key, AltGr shift key). On French keyboard layout, the right Alt key is labelled AltGr. So if the Debian/Ubuntu guys coded these 5th and 6th characters, they must be useable somehow. But I tried all sorts of key combinations without any success.
Here is the beginning of the xmodmap -pke output :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.