You are not logged in.

#1 2013-01-24 10:06:17

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 126

remap ALT + R/LArrow

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.

Offline

#2 2013-01-24 19:06:16

Bandit Bowman
Member
Registered: 2010-08-25
Posts: 18

Re: remap ALT + R/LArrow

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)

Offline

#3 2013-01-25 22:47:08

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 126

Re: remap ALT + R/LArrow

thanks for your reply but unfortunately it doesn't seem to work

Offline

#4 2013-01-26 08:26:34

Bandit Bowman
Member
Registered: 2010-08-25
Posts: 18

Re: remap ALT + R/LArrow

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.

Offline

#5 2013-01-26 13:26:46

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 126

Re: remap ALT + R/LArrow

I tried on gnome and it does nothing (unless I'm doing something wrong).

In firefox Alt+Arrows is for back/forward navigation.

Offline

Board footer

Powered by FluxBB