WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Windows key does not work in OpenBox  (Read 4105 times)

Offline samedirection

  • Jr. Member
  • **
  • Posts: 64
Windows key does not work in OpenBox
« 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.

Offline junan

  • Jr. Member
  • **
  • Posts: 88
Re: Windows key does not work in OpenBox
« Reply #1 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
fun and fearless ...

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: Windows key does not work in OpenBox
« Reply #2 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.

Offline samedirection

  • Jr. Member
  • **
  • Posts: 64
Re: Windows key does not work in OpenBox
« Reply #3 on: July 17, 2009, 08:33:33 AM »
Thanks, I'm off to try this.