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?
As a work-around, you can adjust the Guake terminal width to less then 100% of the screen width.
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.Open a terminal and run the following command:
For Ubuntu 12.04:
For Ubuntu 12.10 (or newer) Guake versions, use the following command instead:
Then scroll down to somewhere around line 780-820 which says
width = 100
- this is how it looks like:And modify the width value (percentage) to whatever you want. Save the file, restart Guake and that's it.
Reference: WepUp8 Article
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
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
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: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.
Guake 0.4.4 && Ubuntu 12.04
Edit in file:
Line 826:
Save file and restart Guake!
I found a simple hack.
This works for me always on Ubuntu 13.10. To adjust the size, just close and open guake again by pressing F12.