is there a way of putting the Windoze keys to good use?

Tags:

Hi,

Most of my keyboards have the inevitable Windoze keys (the one with the Windows logo painted on). They serve no purpose right now, but they are located in a neat spot on the keyboard, right between the alt and ctrl keys.

Linux clearly sees them as pressing them stops the screensaver of stops the sleep mode.

Is there a way to put them to good use, like starting an application for example?

Thanks,

VS

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

xbindkeys + wmctrl

Hi!

Yes, there is.

I use xbindkeys for that. Together with package wmctrl I can create all kinds of fun. Best thing of all is that it's independant of Windowmanager (and I tend to switch weekly from Windowmanager...).

so: apt-get install xbindkeys wmctrl

Here is a sample use from my .xbindkeysrc:

"xlock -mode marquee"
Mod4 + x

# Assign printing to Windows+J:
"xsel | lp "
Mod4 + j

# Switch Workspaces
"wmctrl -s 0"
Mod4 + 1
"wmctrl -s 1"
Mod4 + 2
"wmctrl -s 2"
Mod4 + 3
"wmctrl -s 3"
Mod4 + 4
"wmctrl -s 4"
Mod4 + 5
"wmctrl -s 5"
Mod4 + 6
"wmctrl -s 6"
Mod4 + 7

xbindkeys + wmctrl = nice :-)

neat!

thanks a lot - this is pretty much ideal since also switch managers a lot (depending on what I do).

I will try that out.

thanks,

VS

Motto: chown -R linux:GNU world
Distros: Debian, Kanotix, Frenzy, Damn Small Linux

Syndicate content