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 1. Using Fn key
Check the keycode of yours key. Run this program at terminal.
At this example, the terminal shows that the keycode for my k is "45".
Change them as you like creating this file:
It's contents should look like this example:
keycode 180 = Home End Down
keycode 180is for Fn+F3 at my notebook)
(Obs.: if I want to change my k I must use
keycode 45as showed at step "1", if I want to change my Fn+F3 I must use
Log out and log back in or reboot or run this:
Approach 2. Using a shortcut (combination keys)
sudo aptitude install xdotool
Open Gnome Keybindings
Create the shortcut with this commands:
xdotool getactivewindow key Home xdotool getactivewindow key End xdotool getactivewindow key Page_Up xdotool getactivewindow key Page_Down