Is there anyway to size down the drop down terminal Guake so that it doesn't take up the whole width of the screen?
-
I have Ubuntu on VMware and I am not able to find width=100. Is it because of Ubuntu being in VMware?– Amit NaikJul 5, 2015 at 13:59
-
I changed width=50%. Is that correct?– Amit NaikJul 5, 2015 at 14:04
-
no need for "%" sign– RiddleMeThisJul 5, 2015 at 14:05
-
Same width as before.– Amit NaikJul 5, 2015 at 14:08
-
Guake is running, so that's probably why... restart PC or close/kill Guake and run in again.– RiddleMeThisJul 5, 2015 at 14:10
2 Answers
Open guake-prefs
via Dash or terminal or right click in your guake terminal and open Preferences.
Now you can change your settings
- 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
.
-
1-1, No need to modify the source code. It can be modified in the settings, as seen in the answer by A.B.– s3lphJul 5, 2015 at 15:11
-
1
-