0

Is there anyway to size down the drop down terminal Guake so that it doesn't take up the whole width of the screen?

6
  • 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 5, 2015 at 13:59
  • I changed width=50%. Is that correct?
    – Amit Naik
    Jul 5, 2015 at 14:04
  • no need for "%" sign Jul 5, 2015 at 14:05
  • Same width as before.
    – Amit Naik
    Jul 5, 2015 at 14:08
  • Guake is running, so that's probably why... restart PC or close/kill Guake and run in again. Jul 5, 2015 at 14:10

2 Answers 2

5

Open guake-prefs via Dash or terminal or right click in your guake terminal and open Preferences.

Now you can change your settings

enter image description here

-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.

3
  • 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 5, 2015 at 15:11
  • 1
    Same here, sorry -1
    – A.B.
    Jul 5, 2015 at 16:43
  • Ok, no hard feelings ;) Jul 5, 2015 at 17:01

You must log in to answer this question.

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