Run Application

Alexandre Strube surak at casa.surak.eti.br
Wed Feb 25 20:18:55 UTC 2004


Em Qua, 2004-02-25 às 15:10, Bevan C. Bennett escreveu:
> >>The Windows key works fine for me in mappings as it's 'normal' <Mod4> 
> >>state.
> >>In the metacity mappings at least I can use it in key combinations just 
> >>fine. Where do you go to map a 'run app' combination?

No, but your e-mail solved me another problem anyway (using the new DRI
savage driver lost my slash (/) key)

> > Gnome menu - preferences - keyboard shortcuts. 
> It works fine for me there, and shows up as 'Mod4'.
> (It just took me a while to figure out that 'run app' is listed "Show 
> the panel run dialog".)

It appeared as F13, thus now allowing combination.

> > Exactly. How do I set it to be a modifier instead of a normal key?
> You leave it alone. It's a modifier by default.
> Don't do whatever you did to "map it to F13".

There's no such mapping leaving it alone on both br-abnt2 keyboards and
us-intl-accents (don't remember the exact name), that's why I mapped it
to F13 (following someone's advice from the list)

> If you can't undo that, let's see how to force it...
> Check your xmodmap, mine looks like:
> [bevan at saladin ~]> xmodmap
> xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock        Caps_Lock (0x42)
> control     Control_L (0x25),  Control_R (0x6d)
> mod1        Alt_L (0x40),  Alt_R (0x71)
> mod2        Num_Lock (0x4d)
> mod3
> mod4        Super_L (0x73),  Super_R (0x74)
> mod5

My one: 
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):
 
shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40)
mod2        Num_Lock (0x4d)
mod3
mod4
mod5        Scroll_Lock (0x4e)

> The windows keys are Super_L and Super_R, here shown mapped to the 
> modifier 'mod4'.
> If yours aren't, try:
> xmodmap -e "mod4 = Super_L"
> xmodmap -e "mod4 = Super_R"

It doesn't work.
[surak at casa surak]$ xmodmap -e "mod4 = Super_L"
xmodmap:  unknown command on line commandline:0
xmodmap:  1 error encountered, aborting.

If I map it using xmodmap -e "keycode 115 = Super_L"
It does it correctly as a key, but not as a modifier.

If I map 
xmodmap -e "add mod4 = Super_L"
I can use it as a modifier, but not as a key anymore (ie works SuperL +
R to run app, but just pressing it does nothing)

If I open the keyboard shortcuts BEFORE adding mod4 to maps, I can map
it to open gnome menu, and if I open if AFTER, it does nothing.
-- 
[]s

Alexandre Ganso 
500 FOUR vermelha - Diretor Steel Goose Moto Group





More information about the fedora-list mailing list