Is it possible to remap ALT+R_Arrow to End and ALT+L_Arrow to Home? I tried with
xmodmap -e 'keycode 114 = Right NoSymbol End'
but it doesn't seem to work.
You could try setting Alt+Right and Alt+Left as global shortcuts to execute xte "key End" and xte "key Home" respectively. Not very elegant, but should work.
Edit: xte is part of community/xautomation
Last edited by Bandit Bowman (2013-01-24 19:11:42)
thanks for your reply but unfortunately it doesn't seem to work
Works for me. I'm using openbox, so I put this in my rc.xml
<keybind key="A-Left"> <action name="Execute"><command>xte "key Home"</command></action> </keybind> <keybind key="A-Right"> <action name="Execute"><command>xte "key End"</command></action> </keybind>
Which did the trick, although it doesn't work in firefox for some reason.
I tried on gnome and it does nothing (unless I'm doing something wrong).
In firefox Alt+Arrows is for back/forward navigation.