.

Get the Damn Windows Key Working

English   English (change)

Get the Damn Windows Key Working

ubuntu karmic koala

So you’ve got Linux Ubuntu and wonder how to have that Windows key do something useful, or just do anything. Here’s how to set it up.

Let’s make that Windows key do something useful, (other than just openly advertising the fact that Microsoft operates a cartel and we’re all pretty much obliged to bow to that.)

Open this file, else it’ll create if never before used:-

[sniplet guvSellBox]
[sniplet jauntyIndexSell]
[text]sudo nano /home/USERNAME/.xstartup[/text]

In there, paste:-

[text]
xmodmap -e “keycode 115 = Super_L”
xmodmap -e “add mod4 = Super_L”
[/text]

Now go here:-

[text]System > Preferences > Keyboard shortcuts[/text]

Choose whatever tasks you want to assign to a Windows key+something combination, click on the current shortcut, if any, and click your preferred combo.

For instance, I change these:-

Show the panel’s run application dialogue box Wins+R
Search Wins+S

If you have any problems, try adding this line to the .xstartup file:-

[text]xmodmap -e “remove mod4 = F13″[/text]

Want more shortcut ideas? Here’s a start, Part 17 – Custom Keyboard Application Shortcuts.

[sniplet jauntyIndex]

.