PDA

View Full Version : Knoppix 7.0.3 LXDE: Alt-F1 ignored, does not open main menu



fredvej
08-07-2012, 09:43 AM
KNOPPIX 7.0.3 EN DVD and CD versions booted with cheatcode keyboard=dk xkeyboard=dk no3d into LXDE desktop environment

The keyboard shortcut Alt-F1 does nothing. It used to open the main menu, and as the mouse hater I am I really miss this. Can I configure something to activate this shortcut ?

fredvej
08-12-2012, 05:50 PM
Booting without cheatcodes or with cheatcodes no3d noimage gives the same behaviour - Alt-F1 is ignored. Window Manager is metacity, right ? So I can't use the OpenBox configuration.

In the dconf editor under org / gnome / desktop / wm / kebindings it says that Alt-F1 should activate panel-main-menu. It also shows that Alt-F2 should activate panel-run-dialog, but this doesn't work either. How can I find out what is capturing Alt-F1 ?

utu
08-12-2012, 09:22 PM
Maybe something here?
http://tldp.org/HOWTO/Danish-HOWTO-2.html

fredvej
08-13-2012, 03:44 PM
Thank you utu for the hint.

I ran xmodmap -pk and xmodmap -pke on Knoppix 7.0.3 and 7.0.2 and compared the ouput. Knoppix 7.0.2 gives the same xmodmap output as 7.0.3 , but Alt-F1 works on 7.0.2 and not on 7.0.3 , and the same can be said for Alt-F2.

utu
08-13-2012, 04:13 PM
I know you don't want to use a mouse, but
perhaps /etc/X11/app-defaults/XVkbd-danish may give you some ideas.

utu
08-13-2012, 05:45 PM
Also,

I note that if I select Main Menu>System Tools>dconf Editor,
then go to org>desktop>wm>keybindings, all with the mouse,
I am presented with an array of keys and their current values.
These values are editable on this last screen.

Have you tried editing the keybindings this way?
Seems like using the mouse for a little while this way, you might
be able to re-arrange the keybindings to suit your own style.

knopper
08-13-2012, 07:04 PM
KNOPPIX 7.0.3 EN DVD and CD versions booted with cheatcode keyboard=dk xkeyboard=dk no3d into LXDE desktop environment

The keyboard shortcut Alt-F1 does nothing. It used to open the main menu, and as the mouse hater I am I really miss this. Can I configure something to activate this shortcut ?

The reason is that metacity from Debian/unstable, compiled with GTK3, no longer supports custom keybindings. For some reason yet unknown to me, the code was removed from the source. Since I depend on metacity as the only 2d alternative (boot option no3d) to compiz (3d) which looks and feels identical and accepts the same settings and themes, I was rather disappointed about this change, too. What you see in the dconf settings is my humble attempt to support Alt-F1 and Alt-F2 again, if metacity authors would redecide to support the setting again some time (I just copied the variables from gconf in dconf).

Actually, compiz-gtk from Debian/unstable is linked with the metacity libraries, so there was not much choice of keeping the old GTK2 metacity, unless I put everything on hold which would have made Knoppix non-upgradable. But unlike metacity, compiz has its own handling of custom keybindings, so currently, you only get Alt-F1 and Alt-F2 working if you use compiz, and they won't work with "no3d" with metacity.

Sorry about this. If you find a solution to let metacity (or a maybe an additional daemon?) handle Alt-F1, Alt-F2 and also the "Print" key again in "no3d" mode, please let me know.

Regards
-Klaus