Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A lot of new ultra books are coming without home/end/pageup/pagedown keys. I would like to remap the "windows key (super) + arrow key" to these missing keys.

What is the best way to go about doing this? It seems that xev is reporting pressing the Super key as its own keypress, rather than a modifier to other keys.

share|improve this question
3  
If you use X, have a look at xmodmap. –  Marco Sep 1 '12 at 17:12
add comment

2 Answers

up vote 1 down vote accepted

How about a combination of xdotool and xbindkeys, with a .xbindkeysrc like:

"xdotool key Next"
  Mod4 + Down

"xdotool key Prior"
  Mod4 + Up

(on my system windows key is bound to Hyper_L = Mod4)

Another (very cool) option if you don't mind using the mouse could be to use gestures. For instance on my netbook the End key is a pain to use (Fn+Pagedown, and hard to reach). I installed easystroke and set it up so i can just make a "V" like gesture and it sends End. For Pagedown, it's a down-up "|" gesture (begins to feel a lot like an iphone!)

share|improve this answer
add comment

This is from xmodmap documentation.

keycode NUMBER = KEYSYMNAME ...

           The  list  of  keysyms  is assigned to the indicated keycode
           (which may be specified in decimal, hex or octal and can  be
           determined by running the xev program).  Up to eight keysyms
           may be attached to a key, however the last four are not used
           in  any  major X server implementation.  The first keysym is
           used when no modifier key is  pressed  in  conjunction  with
           this  key,  the  second  with  Shift,  the  third  when  the
           Mode_switch key is used with this key and  the  fourth  when
           both the Mode_switch and Shift keys are used.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.