Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
-1
rated 0 times [  -1] [ 0]  / answers: 1 / hits: 2439  / 1 Year ago, wed, january 18, 2023, 2:58:12

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


More From » guake

 Answers
0

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


[#19224] Wednesday, January 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fishutt

Total Points: 391
Total Questions: 137
Total Answers: 106

Location: Mexico
Member since Tue, Aug 11, 2020
4 Years ago
;