Joined: 13 Jun 2007 Posts: 606 Location: The old Lone Wolf
Posted: Tue 14 Sep 2010, 23:47 Post subject:
I´m not sure but you could see your xorg.conf file and check if it´s using the PC-105 keyboard layout, It should be the default layout to make these special keys to work...
Posted: Wed 15 Sep 2010, 09:04 Post subject:
[How To] Enable The Windows Key.
[EDIT: There is a better way. Set the keyboard model to "pc104" the win key will be know as the Hyper key not as the Super key. This also enables the menu key.]
You need to enable the windows key in the "/etc/X11/xorg.conf". You can do this using the "Mouse/keyboard Wizard"
Code:
Setup>Mouse/keyboard Wizard>Advanced Xorg keyboard configuration...>OK>Options>Alt/Win key behavior>altwin:super_win "Super is mapped to the Win-keys (default)."
Then restart X (It's in the Shutdown sub menu in the menu.)
If you regenerate your "/etc/X11/xorg.conf" (e.g. By going though the Xorg Wizard again.) then you will need to enable win key option again.
The win key is called "Super". So if you want hotkeys using the win key, you will want super for the mask ("mask" specifies the modifier keys that must be held and then for the other key(s) to be pressed to do the action.).
If you want to have the win key enabled when you regenerate your "/etc/X11/xorg.conf". Which You will probably like if like me you use/have a frugal install of puppy on a flash drive. To have this feature you need to VERY carefully edit "/usr/sbin/xorgwizard".
Look for the bit of code that looks like this:
Code:
if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
TEMPSECTION="$TEMPSECTION
Option \"XkbRules\" \"xorg\"
Option \"XkbModel\" \"pc102\"
Option \"XkbLayout\" \"$XKEYMAP\" #xkeymap0"
This code might vary in different puppy versions.
Remove the last:
Code:
"
Then Add this string on a new line:
Code:
Option \"XkbOptions\" \"altwin:super_win\""
So it should look like this:
Code:
if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
TEMPSECTION="$TEMPSECTION
Option \"XkbRules\" \"xorg\"
Option \"XkbModel\" \"pc102\"
Option \"XkbLayout\" \"$XKEYMAP\" #xkeymap0
Option \"XkbOptions\" \"altwin:super_win\""
Now could some one add this to the wiki for the time being. As I have not got around to getting a wiki account. _________________ adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum