My path to achieve the greatest Linux desktop ever or… random IT stuff

Alt-F2 on Openbox

gmrun

So, many of you are probably used to the usefulness of the Alt-F2 command in Gnome (and in KDE too I believe) which runs a sort of popup terminal and may be sad to find out it doesn’t exist natively on Openbox. However, it’s pretty easy to have it, so let’s see.

1) Install gmrun

sudo pacman -S gmrun

2) Open your rc.xml file

kate ~/.config/openbox/rc.xml

3) Now let’s find the keybindings section for running applications:

On your text editor click ctrl+f to open the search thingie and type

<!– Keybindings for running applications –>

4) Now that you’ve find it just add the following:
<keybind key=”A-F2″>
<action name=”Execute”>
<startupnotify>
<enabled>true</enabled>
<name>Terminal-popup</name>
</startupnotify>
<command>gmrun</command>
</action>
</keybind>
Example:


And you’re done ^^
If you want my whole keybindings file, it’s available here

Advertisements

5 responses

  1. Pingback: Is your desktop slowing your games down? - Page 7 - AOA

  2. HI. I tried this, but there is a small problem. I had to replace ” on “.
    Thanks for this.

    August 4, 2013 at 20:25

  3. Thanks for sharing this little hack, and your file.

    August 18, 2013 at 09:56

  4. thierrybo

    What about gexec vs gmrun?

    December 28, 2017 at 09:45

    • Actually never used gexec so can’t really answer that. Is it better?

      December 28, 2017 at 11:28

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s