Just some days ago a ordered a small/slim and nice looking external USB keyboard for my home office. The handling/feeling is great the only negative point: it does not have the key for | < > which is really bad if you need to code or do some work at the shell. So i was looking for a quick solution to have these signs assigned to a different key at the keyboard under Linux Mint.
So my goal was:
- assign ALT-GR + p = for PIPE sign
- assign ALT-GR + l = less than sign
- assign ALT-GR + g = greater than sign
The following commands remap the keys to achieve the setup mentioned above. To have this ready after boot, just make a small shell script and let it run during boot process.
/usr/bin/xmodmap -e „keycode 46 = l L l L less“
/usr/bin/xmodmap -e „keycode 42 = g G g G greater“
/usr/bin/xmodmap -e „keycode 33 = p P p P bar“
No Comments