Fedora 22 gnome Strg + Alt act like AltGr
I'm using the German keyboard layout but I'm used to the Windows behaviour that Strg + Alt acts like the AltGr key. I need it for programming to reach leftbracket etc. easily. I've tried already some stuff and read through man pages and online tuts but nothing works the way I want so far. My most recent attempt was editing the xkb files to add a new variant based on the original german layout.
Code:
$ sudo gedit /usr/share/X11/xkb/symbols/de The selection of the variant works so far that on the NUMPAD , is now a . (so include "kpdl(dot)" works) Code:
$ sudo gedit /usr/share/X11/xkb/types/level3 Code:
... Code:
... |
I was in the same boat when I wanted to add support for my native language to the US keyboard.
After messing with system files I figured it is best done in the user level. System files may be overwritten by an upgrade, too. I created ~/.xmodmaprc file with my modifications. Depending on your distro this file may be called ~/.Xmodmap. Of course, you can open a terminal and execute xmodmap ~/.xmodmaprc any time and your changes take effect immediately. |
All times are GMT -5. The time now is 05:39 AM. |