Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: samedirection on July 16, 2009, 04:58:41 PM

Title: Windows key does not work in OpenBox
Post by: samedirection on July 16, 2009, 04:58:41 PM
Although the standard OpenBox configuration has bindings for the Windows key, (W-Fn switches desktops, for example) they are not operational.  Could this be an Xvesa limitation?  I'm using the standard Xvesa that comes with TinyCore 2.2rc1.
Title: Re: Windows key does not work in OpenBox
Post by: junan on July 16, 2009, 10:54:42 PM
try to write xorg.conf from xorg.conf.vesa at /etc/X11 and add with this line in keyboard section.

  Option    "XkbRules"  "xorg"
  Option    "XkbModel"  "pc105"
  Option    "XkbLayout" "us"

window key will be work. the option depend on your keyboard model.
to make it work every time you reboot , add /etc/X11/xorg.conf
to /opt/.filetool.lst
Title: Re: Windows key does not work in OpenBox
Post by: mikshaw on July 17, 2009, 07:53:01 AM
You can get the windows keys working without the need for Xorg
Here's what I have in $HOME/.Xmodmap (run from .xsession as "xmodmap $HOME/.Xmodmap")
Code: [Select]
clear mod3
clear  mod4
keycode 133 = Super_L
keycode 134 = Super_R
add    mod3 = Super_L
add    mod4 = Super_R
This makes the left win key "mod3" and the right one "mod4".
The keycodes vary depending on the keyboard...you can usually find them using the xev program.
Title: Re: Windows key does not work in OpenBox
Post by: samedirection on July 17, 2009, 08:33:33 AM
Thanks, I'm off to try this.