Is there anyway to size down the drop down terminal Guake so that it doesn't take up the whole width of the screen?
Asked
Active
Viewed 2,384 times
0
-
I have Ubuntu on VMware and I am not able to find width=100. Is it because of Ubuntu being in VMware? – Amit Naik Jul 05 '15 at 13:59
-
I changed width=50%. Is that correct? – Amit Naik Jul 05 '15 at 14:04
-
no need for "%" sign – RiddleMeThis Jul 05 '15 at 14:05
-
Same width as before. – Amit Naik Jul 05 '15 at 14:08
-
Guake is running, so that's probably why... restart PC or close/kill Guake and run in again. – RiddleMeThis Jul 05 '15 at 14:10
-
Changing the source code is the right answer if we have a settings dialog? o_O – OMG – A.B. Jul 05 '15 at 15:12
2 Answers
5
Open guake-prefs
via Dash or terminal or right click in your guake terminal and open Preferences.
Now you can change your settings

A.B.
- 90,397
-1
- Make a backup:
cp /usr/bin/guake ~/Desktop/
- open guake with text editor
gksu gedit /usr/bin/guake
Then search for the line that looks like this: width = 100
- this is how the code around 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. By default, Guake is centred but you can also modify its alignment by editing line which looks like this: if halignment == ALIGN_CENTER:
and replacing CENTER
with LEFT
or RIGHT
.

RiddleMeThis
- 1,076
- 8
- 17
-
1-1, No need to modify the source code. It can be modified in the settings, as seen in the answer by A.B. – s3lph Jul 05 '15 at 15:11
-
1
-