FINAL DESIGN STUDIOS
FDS Services | FDS Repository | Search our Services | Bookmark FDSFDS London UK


Ubuntu Super and Hyper Key assignments

Print This Post Print This Post Email This Post Email This Post

xmodmap -e “keycode 234 = Super_L”
xmodmap -e “keycode 233 = Super_R”

Userland method (of course you’re using GNOME and FC6):

First method:

Create in $HOME a .Xmodmap file. It must be as such:

! Xmodmap for IBM Thinkpad T30:
! map browser keys to Super (Windows) and Hyper keys
keycode 233 = Hyper_R keycode 234 = Super_L

This file will be automatically read at the next session login (a small dialog box appears for this)

Second method: add some lines or create in $HOME a .Xsession file. It must be an executable file (chmod +x .Xsession) as such:

#!/bin/sh xmodmap -e
“keycode 233 = Hyper_R”
xmodmap -e “keycode 234 = Super_L”

Rootland mode: as root edit the /etc/X11/Xmodmap file and add the following lines at the end of this file :

! Xmodmap for IBM Thinkpad T30:
! map browser keys to Super (Windows) and Hyper key
keycode 233 = Hyper_R keycode 234 = Super_L

restart X, that’s it !

Post a Comment

Your email is never published nor shared. Required fields are marked *

*

*