I am using terminator 0.96 as terminal emulator. How can I make it run in the background and make it appear/disappear like guake terminal (i.e. using a shortcut key).
I am using terminator 0.96 as terminal emulator. How can I make it run in the background and make it appear/disappear like guake terminal (i.e. using a shortcut key).
I was trying do the same thing (being a fan of both guake and terminator). Here's what I came up with (a customized version of desqua's answer to this question):
To launch an application or to show its window if already launched or to minimize if it is focused
1) Install wmctrl & xdotool, or in a terminal:
sudo apt-get install wmctrl xdotool
2) Make a script:
And paste this:
chmod +x ~/bin/launch_focus_min.sh
3) Make your keyboard shortcut:
Open your keyboard settings and create a custom shorcut with the command:
/home/<user>/bin/launch_focus_min.sh terminator
(~/bin won't work)assign this command to Shift+Escape (or whatever keyboard shortcut you used for guake).
The easiest way to do this would be use
xdotool
, and use thewindowunmap/windowmap
command to hide/unhide the desired class of windows. (This approach was not mentioned in the other answers that mentionxdotool
.) The solution will work well across all desktops, whatever window manager they are using. As the manpage notes,So, unmapping a window will do the opposite and hide the window. Unfortunately, there is no toggle available to use with
xdotool
to switch between map/unmap states, but the two commands you need are below. The first hides the window:and the second reverses the effect:
Please note that if the window is already minimised, the
windowunmap
command will be unsuccessful.For more information see
man xdotool
, the Ubuntu manpages online, and my answer to this related question.By selecting a set of preferences in Terminator, you can make it work almost similar to Guake.
Refer to the following article for detailed explanation.
http://www.webupd8.org/2011/07/install-terminator-with-built-in-quake.html
I would advise you to follow all the steps in the article to get the desired results. I skipped a few steps, thinking they weren't necessary, but were actually needed to overcome some bugs.
I would recommend simply using
yakuake
, a terminal in the same style as guake for the kde desktop.You can install it by running
sudo apt-get install yakuake
.Well the simplest solution would be just to lock Terminator to launcher and use the shortcuts that Ubuntu provides.
You can starts any application that is locked to launcher using the launcher shortcut:
Super + 1 to 9
For a full list of ready available shortcuts, hold the Super key.
I wrote a script to raise and minimize the gnome terminal with byobu in linux mint, because guake has some weird console output messes. Then I added it to the shortcuts in the administrator keyboard->shurtcuts section.
script named guake-toggling-for-gnome-terminal.sh:
Byobu is just the window name here.
The accepted answer didn't fully worked for me.
I tweak this with
in line 54