Page 1 of 1

Windows equivalent keyboard shortcuts in Ubuntu Linux

PostPosted: Mon Dec 21, 2009 1:00 pm
by hariks0
Many of us come from the windoze world to Linux through Ubuntu and settle with Ultimate Edition ;) . I wondered whether there is a way to set up Windoze 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 Windoze/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 Windoze/Super key so that the new shortcut displayed is SuperR. Now the Left Windows/Super key could be used for the combinations used in Windoze [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 .
Code: Select all
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 windoze].
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.

THEN Win+E
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]
"gnome-search-tool"

[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.]

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 Windoze to Ubuntu. Any other tips or list of commands like the above are welcome. <BREW>