It seems Guake terminal is not aware of the Unity sidebar being hidden. Even when the sidebar is hidden, it still shows with a left offset that is based on the width of the sidebar.

Additionally, the width of the terminal is not decreased by the width of the left offset, which causes the terminal to appear on my second monitor as well.

Is there a way to fix this?

Guake terminal showing up incorrectly in Unity

7 Answers 7


As a work-around, you can adjust the Guake terminal width to less then 100% of the screen width.

  1. Make a backup of /usr/lib/guake/guake.py for Ubuntu 12.04 and for Ubuntu 12.10 and newer, backup /usr/bin/guake file.

  2. Open a terminal and run the following command:

    For Ubuntu 12.04:

    sudo -i
    gedit /usr/lib/guake/guake.py

    For Ubuntu 12.10 (or newer) Guake versions, use the following command instead:

    sudo -i
    gedit /usr/bin/guake
  3. Then scroll down to somewhere around line 780-820 which says width = 100 - this is how it looks like:

    screen = self.window.get_screen()
    height = self.client.get_int(KEY('/general/window_height'))
    width = 100
    halignment = self.client.get_int(KEY('/general/window_halignment'))

    And modify the width value (percentage) to whatever you want. Save the file, restart Guake and that's it.

Reference: WepUp8 Article

  • Thanks! Note in Ubuntu 12.10 it is: gksu gedit /usr/bin/guake
    – tobigue
    Jan 30, 2013 at 17:21
  • Pardon me but how do I restart guake? exiting and reopening guake with <kbd>F12</kbd> did not work (the setting did not change). Is there an option other than killing the guake process?
    – Aditya M P
    Feb 17, 2014 at 15:25
  • 1
    Right click it and select Quit. Apr 30, 2014 at 13:28

I had another problem. The first few lines of guake were hidden by the Unity top panel. This can be solved changing the variable "window_rect.y" in line 835 (Natty) from 0 to 30, as shown below.

window_rect.y = 30

  • Thanks for this solution. It helped me after switching from Ubuntu with Unity to XUbuntu with XFCE desktop. Sep 26, 2012 at 16:47
  • You helped me a lot! I just upgraded to Raring and Guake was showing lower than it should. Changing that setting solved my problem!
    – bakytn
    Apr 26, 2013 at 10:41

In 12.04, default configuration with side bar always shown, the problem with guake is that the right side of the terminal output is hidden. It seems that is not aware of the real visible size available. Using Alin Andrei suggestion with

width = 95

I was able to fix it.


I have a better workaround, or rather, a fix.

Open /usr/lib/guake/guake.py and scroll to line 786 containing:

self.window.move(window_rect.x, window_rect.y)

Move it under this line, no 788:


All works as expected after a restart of Guake - at least for me up to now.


Yes, go and fix Guake's code! :)

To be more serious, we are working on the positioning and sizing issues.

  • 2
    Someone should make a Guake lens so it's all nice and integrated! Apr 26, 2011 at 14:44
  • @Jorge: hmmm so it's possible to embed applications into lenses? Apr 26, 2011 at 20:03
  • @Alin We could probably embed a VTE widget into a lens. If anyone is interested in doing this work have them get ahold of me (link in my profile) and I'll point them towards the right Unity developer. Apr 26, 2011 at 20:34

Guake 0.4.4 && Ubuntu 12.04

Edit in file:

gksu gedit /usr/bin/guake

Line 826:

width = VALUE

Save file and restart Guake!


I found a simple hack.

  1. Open guake.
  2. Open all the workspaces (Super + S).
  3. Drag guake terminal from one screen to another.
  4. Open the desired screen.

This works for me always on Ubuntu 13.10. To adjust the size, just close and open guake again by pressing F12.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .