OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ShiroiKuma on December 04, 2005, 05:54:10 am

Title: Mapping Alt To The Menu Key
Post by: ShiroiKuma on December 04, 2005, 05:54:10 am
I'm using RC12.

I'd like to map Alt to the Menu key, not to Address.

However when you go to Input Settings, you don't have the Menu Key as an option, though all other keys - Calendar..., are present.

How can I do this? xmodmap?
Title: Mapping Alt To The Menu Key
Post by: ShiroiKuma on December 04, 2005, 08:20:22 am
Hmmm... xmodmap in itself doesn't seem to work for this.

I added the following line to /etc/X11/kb/corgi.xmodmap_us
Code: [Select]
keycode 37 = Alt_R
And it works as Alt when depressed, however for Alt+Tab combination for cycling between apps it doesn't work, since when I press the key now and hold it, it executes Alt and thus pops the app's menu, but doesn't wait for the Tab, to cycle between apps.

What is the solution?
Title: Mapping Alt To The Menu Key
Post by: pgas on December 05, 2005, 03:02:09 am
have you added  Alt_R  to mod1?
ie in the end of xmodmap
Code: [Select]
add mod1 = Alt_L Alt_R