LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-21-2004, 02:56 PM   #1
PGDubbin
Member
 
Registered: May 2004
Location: NJ - USA
Distribution: Gentoo on 2.6.6
Posts: 39

Rep: Reputation: 15
Lightbulb Fluxbox + Windows keyboard and menu/windows key ==> Any takers


I have a MS Natural Keyboard with the windows button and the menu button between ctrl and alt

I have played with the keys file but cannot for the life of me figure out how to get the windows key - alone - to open the fluxbox menu

I found a way to configure it so if I hold the windows key and then press a letter, say "z" the menu will pop up. However, I'd like it to pop up with nothing more than pressing the single key.

If this is an easy enough question then I also ask the following:

- Make it so the 'menu' key on the MS board closes the menu
- The arrow directions move around on the menu
- Enter launches the selected program

...it may be a GUI - but I can't help but find the keyboard faster anyway.

Anyone have any ideas?



code for windows + z in keys file:

Mod4 z :RootMenu

Last edited by PGDubbin; 05-21-2004 at 02:58 PM.
 
Old 10-20-2014, 01:02 AM   #2
Nopey
LQ Newbie
 
Registered: Oct 2014
Distribution: Raspbian, TinyCore, Windows 7
Posts: 1

Rep: Reputation: Disabled
Arrow

Because this shows up in search results, i am necroposting.

Instead of Mod4 z, use 133. this number is from XEV.
 
Old 10-20-2014, 10:10 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,235

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
See the Fluxbox wiki.

The Windows key is commonly seen as Mod4 on Linux, though it might be seen as Super_L. You can use xev to test that on your system. Be forewarned that the output of xev is rather dense.

Here's some of my Fluxbox keybindings using the Windows key, identified as Mod4.

Code:
Mod4 c :ExecCommand kcalc
Mod4 e :ExecCommand kate
Mod4 f :ExecCommand firefox
Mod4 k :ExecCommand konqueror ~
Once you create a keybinding, you have to restart Fluxbox to test it; there's usually a "restart" item somewhere on the menu.

I don't know that you can get the Windows key by itself to open the menu--I haven't tested that. The combination I use for the menu is the same combination Windows uses in the absence of a "Windows" key: CTRL-ESC.

Last edited by frankbell; 10-20-2014 at 10:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Windows Key Open K-Menu? Toniee Linux - Software 0 06-16-2005 09:47 PM
kde start menu/kmenu position when pressing windows key mickyg Linux - Software 0 10-29-2004 05:42 PM
remap keyboard windows key khtse Slackware 2 07-01-2004 02:14 PM
mandrake 9.2 menu when the "windows" key is pressed cs9e-1cx Mandriva 2 04-05-2004 07:19 PM
Hmmm, that windows key on my keyboard... bxb32001 Linux - Hardware 2 08-18-2002 12:44 AM


All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration