Visit Jeremy's Blog.
Go Back > Linux Answers > Applications / GUI / Multimedia
User Name


By hariks0 at 2010-02-02 12:47
Many of us come from the Windows world to Linux through Ubuntu and settle with Ultimate Edition ;) . I wondered whether there is a way to set up Windows key board equivalents in ubuntu. After searching
in the web and doing some experiments myself, I have set up the following in my ubuntu box. It could be configured in Compiz or some could be done by Ubuntu Tweak.

So first things first. We all want the main menu to pop up when we press the Windows/Super key. It is done by System--> Preferences--> Keyboard Shortcuts--> Under the Desktop Section click on the shortcut for Show the panel's main menu [Alt+F1]. Press
Right Windows/Super key so that the new shortcut displayed is SuperR. Now the Left Windows/Super key could be used for the combinations used in Windows [like Win + D etc].

More than that I use the command

xvkbd -text "[Alt_L][F1]"

for starting the main menu without even touching my keyboard.

For this, goto System--> Preferences--> CompizConfig Settings--> General--> Commands--> Commands--> Run Command 0 and fill the text box with xvkbd -text "[Alt_L][F1]" [with the quotes and the command starts from xvkbd]
You can set [Button Binding = <Shift>Button2] for the same command. It has the additional advantage of popping up the main menu at the mouse cursor if you do not have the main menu/main menu bar applet on your panels.

Note : To use this, you will have to install the xvkbd package .

sudo apt-get install xvkbd

Now the Win+D
Change the shortcut for Show Desktop by merely moving mouse cursor to left bottom corner [where the show desktop icon is placed in Windows]. System--> Preferences--> CompizConfig Settings--> General--> General Options--> Key Bindings--> Show Desktop [with a monitor icon]. Click on it and select the edge or corner of the screen to activate show desktop. I have set left bottom corner for this.

Set value of Run Command 1 to "nautilus ~" [without quotes] to open your home folder with Super+e or "nautilus /" [without quotes] to open your root folder.

The other settings I use in compiz are:

Win+R [Run Command 2]
"gnome-terminal" with super+r [Its equivalent is actually Alt+F2]

Win+L [Run Command 3]
"gnome-session-save --logout-dialog" with super+l
[Button Binding = <Shift>Button2]

Task manager [Ctrl+Alt+Delete] [Run Command 4]
"gnome-system-monitor" Ctrl+Alt+Delete

End a non responsive program without using Ctrl+Alt+Delete [Run Command 5]
"xkill" with super+delete

Win+F [Run Command 6]

[Or use "gnome-search-tool --path=/" for setting the default search location to entire file system. Actually, I use former by a launcher
[panel applet] and the latter in the key binding. So that I can choose the default search location and invoke the search by either accordingly.]

There are many other features in ccsm that beats even the latest Windows 7. for example, there is ADD helper plugin under Accessibility which could be used to make all unfocused windows transparent so that the desktop is visible. Or rather click somewhere on the visible desktop the current window too will become transparent.

And that is not all. The edge bindings could be used for all these commands which enables us to do things even without any key press.
Hope this helps somebody move from Windows to Ubuntu. Any other tips or list of commands like the above are welcome.

by pix9 on Tue, 2010-04-06 06:40

by imtheniceone on Tue, 2010-11-16 12:04
As a newbie, you lost me at Right Windows Super Key. I only have one Windows key myself.

by fariasjoss on Thu, 2011-06-23 23:34
thank you!


All times are GMT -5. The time now is 04:52 AM.

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