LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make shortcut for keyboard windows key to open terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-shortcut-for-keyboard-windows-key-to-open-terminal-4175464909/)

Greenjorn 06-05-2013 08:57 PM

How to make shortcut for keyboard windows key to open terminal?
 
I am using xfce and wondering how to setup so that when I hit the windows key the terminal pops up?

Diantre 06-05-2013 10:34 PM

Go to Settings -> Keyboard -> Application Shortcuts.

Click the Add button and type "Terminal" (without the quotes) in the command field, then hit OK.

A small window opens up and asks for the desired key combination, press the windows key (or whatever combination you'd like). The small window closes and you're back in the Application Shortcuts tab. You should see "Terminal" in the "Command" column, and "Super_L" in the "Shortcut" column. Close the window and try pressing the key. That should do it.

Greenjorn 06-06-2013 10:27 AM

Thanks, working great.

suicidaleggroll 06-06-2013 10:30 AM

I typically use xbindkeys, since the "key combination" grabbers in the GUIs don't always work with the windows keys. You just compile/install xbindkeys, set it to launch on boot, and then put this in ~/.xbindkeysrc:

Code:

"terminal"
  Super_L

You can swap out "terminal" with whatever terminal emulator you like (gnome-terminal, konsole, whatever).

I set up all of my Linux machines so that the left windows key opens the terminal. Super convenient.


All times are GMT -5. The time now is 11:58 AM.