Is there anyway to create shortcuts for functions like Home, End, Pg Up, Pg Down, etc? I frequently use the aforementioned keys, however those keys are only available when the numpad is disabled - there is no dedicated keys for those function on my laptop. I was thinking of using the Fn key to trigger them even when the numpad is enabled.
Approach One - Using Fn key
1) Check the keycode of yours key. Run this program at terminal.
2) Change them as you like creating this file:
It's contents should look like this example:
keycode 180 = Home End Down
("keycode 180" is for Fn + F3 at my notebook)
4) Logout and log back in or reboot or run this:
Approach Two - Using a shortcut (combination keys)
2) Open Gnome Keybindings
3) Create the shortcut with this commands:
xdotool getactivewindow key Home
xdotool getactivewindow key End
xdotool getactivewindow key Page_Up
xdotool getactivewindow key Page_Down
|show 22 more comments|