Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 6167  / 2 Years ago, mon, april 25, 2022, 2:42:36

I love Guake drop-down terminal, but it has an annoying issue. When I use many tabs, I hate when the tab names rename each time I execute a command or navigate in one of them. I want to rename any tab and maintain the name in all sessions. For instance, when I use Midnight Commander and I enter in a long path folder, the tab expands and it's horrible. I see tab name mc [user@machine_name]:/weird/long/infinite/path when I navigate to /weird/long/infinite/path folder.



Can I have always the same name for each tab, even when renaming it manually?


More From » 12.10

 Answers
6

I have found a way to disable the annoying renaming. I found in my guake Python script (in version 0.4.3-3) in lines 996 to 1002:



def on_terminal_title_changed(self, vte, box):
use_them = self.client.get_bool(KEY("/general/use_vte_titles"))
if not use_them:
return
page = self.notebook.page_num(box)
self.tabs.get_children()[page].set_label(vte.get_window_title())


As the script shows, /general/use_vte_titles key prevents the autorenaming feature. It is Guake uses GConf to configure his options (explanation). I had to install gconf-editor package to edit Guake options executing sudo apt-get install gconf-editor. Then I executed gconf-editor, I browsed to /apps/guake/general and unmarked use_vte_titles key. Closed the editor. Next time I executed Guake the autorenaming feature was disabled.



Now, all the tabs are named Terminal and if I rename one, it still named all the session with the same name.
It would be helpful to add this key into the Guake preferences dialogue. But this solution worked anyway.


[#32713] Monday, April 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itteast

Total Points: 291
Total Questions: 123
Total Answers: 104

Location: Tuvalu
Member since Wed, Mar 29, 2023
1 Year ago
itteast questions
;