Toggling Guake visibility does not work (Wayland) For example, see "WM_CLASS" in i3#Correct handling of floating dialogs for i3. This can be resolved by using Guake's window class string ( "guake" or "Guake" per xprop WM_CLASS). Guake may not open in floating mode with some window managers.
Troubleshooting Floating mode in window managers There is a bug on github about it: guake#921. Warning: -execute option can make harmful things on a tab running text interface program, like fdisk or innotop. Notice than we should wait some time calling sleep to avoid race conditions between running instances. Guake -execute="/usr/bin/sudo -i" -rename-current-tab="rootshell1" Guake -execute="/usr/bin/sudo -i" -rename-current-tab="rootshell0" Guake -execute="/usr/bin/irssi" -rename-current-tab="irssi"
Guake -execute="/usr/bin/journalctl -follow -full" -rename-current-tab="journalctl" Guake -execute="~/.iptables.sh" -rename-current-tab="iptables -nvL" Guake -execute="/usr/bin/atop" -rename-current-tab="atop"
Guake -execute="/usr/bin/htop" -rename-current-tab="htop" # and then execute htop, renaming the tab to "htop" # create new tab, start bash session in it Guake -rename-tab="iotop" -execute="/usr/bin/iotop" Sleep 5 # let main guake process start and initialize D-Bus session The second option is preferable if you want the script to run regardless of how guake is started and you can still instruct guake not to run the script with guake -no-startup-script if needed.
right clicking on Guake Terminal > Preferences > Hooks and adding the path to the guake-init.sh script in the "On start:" field while making certain to comment out /usr/bin/guake & and sleep 5 from the script below. copying the below example into a file like guake-init.sh making it executable and running that file instead of guake. There are 2 ways of starting guake while applying these scripts To display list of all available options, type guake -help. If there is no guake instance running, all of the options specified will be applied to the newly created instance. Multiple options may be combined in a single call. -q, -quit - shutdown running Guake instance. -r TITLE, -rename-current-tab= TITLE - same as -rename-tab, but renames the currently selected tab. -fgcolor= RGB - set the hexadecimal ( #rrggbb) foreground color RGB of the selected tab. -bgcolor= RGB - set the hexadecimal ( #rrggbb) background color RGB of the selected tab. Use -i option to specify which tab to rename. You can reset tab title to default value by passing a single dash ( "-"). -rename-tab= TITLE - set the tab name to TITLE. -i INDEX, -tab-index= INDEX - used with -rename-tab to specify index INDEX of a tab to rename. -e CMD, -execute-command= CMD - execute an arbitrary command CMD in the selected tab. -g, -selected-tab - print index of currently selected tab. -s INDEX, -select-tab= INDEX - select tab with index INDEX. Value of CUR_DIR used to set a current directory for the tab, if specified. -n CUR_DIR, -new-tab= CUR_DIR - create new tab and select it. -f, -fullscreen - put Guake to fullscreen mode. Actually, you can just type guake, and it will toggle the visibility of already running instance. -t, -toggle-visibility - toggle the visibility of the terminal window. Here is the list of available options you may be interested in: You can use guake executable itself to send D-Bus messages. You can create tabs, assign names for them and also ask to run any specific command in any opened tab or just to show/hide Guake window, manually in a terminal or by creating a custom script for it.Įxample of such a script is given below this section. Thus it can be used to start Guake in a user defined session. Like Yakuake, Guake allows to control itself at runtime by sending the D-Bus messages. # cp /usr/share/applications/sktop /etc/xdg/autostart/ You may want Guake to load on starting up Desktop Environment. Once installed, you can start Guake from the terminal with:Īfter guake has started you can right click on the interface and select Preferences to change the hotkey to drop the terminal automatically, by default it is set to F12. 5.2 Toggling Guake visibility does not work (Wayland).