Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.42k stars 574 forks source link

Save tab names and restore them at reboot #2162

Closed williamdes closed 1 year ago

williamdes commented 1 year ago

Currently I use the latest release of guake. It's an amazing daily tool !

One big big issue is that I sometime have to reboot my workstation. And yes cool it will summon back my guake tabs.

But not the tabs names.

And I have to rename them on each reboot.

carlosromel commented 1 year ago

On my cenario (v3.9.0), Guake saves tab names, but will be nice if it could save last command of each tab as well.

Alternatively, i use a script way to restore Guake sessions.

#!/bin/bash

guake --execute-command='guake --rename-current-tab="Parameters";                  top -s'
guake --execute-command='guake --rename-current-tab="Legacy and new background";   echo "Legacy system"'
guake --execute-command='guake --rename-current-tab="Document signers";            echo "First instance"'

Screenshot image


$ guake --support Guake Version: 3.9.0 Vte Version: 0.68.0 Vte Runtime Version: 0.68.0 -------------------------------------------------- GTK+ Version: 3.24.33 GDK Backend:
williamdes commented 1 year ago

I use 3.9.0 too and the tab names are not saved

$ guake --support Guake Version: 3.9.0 Vte Version: 0.70.3 Vte Runtime Version: 0.70.3 -------------------------------------------------- GTK+ Version: 3.24.36 GDK Backend:
carlosromel commented 1 year ago

image

paynalton commented 1 year ago

Same problem.

Label is in session.json

{ "schema_version": 2, "timestamp": 1681327688, "workspace": { "0": [ [ { "panes": [ { "type": "term", "directory": "/home/paynalton/Proyectos/sodigital/imatch", "custom_colors": { "fg_color": null, "bg_color": null, "palette": null } } ], "label": "imatch", "custom_label_set": true } ] ] }

But label name is ignored on guake init

Captura de pantalla de 2023-04-12 13-38-15

Davidy22 commented 1 year ago

Tab names are being retained for me, what do the preferences window general and main window tabs look like for the people experiencing this? Might also just be already fixed in repo and I need to make a release.

image image

williamdes commented 1 year ago

Tab names are being retained for me, what do the preferences window general and main window tabs look like for the people experiencing this? Might also just be already fixed in repo and I need to make a release.

Well, I had temporarily switched to the i3 window manager: https://i3wm.org/ And noticed the tab names where kept

I am now using xfce, and the tab names I had are kept. Not sure if there is some saving bug somehere. Also, maybe it's about shutdown saving because my laptop dies out of battery most of the time and gives no chance to the program to save the tab names.

And previously I was using cinnamon as a desktop manager and had the same issue.

Can you check how the code manages the saving of tab names ?

Currently using: Guake 3.9.0 on Debian 12.

Davidy22 commented 1 year ago

Tab information should be saved every time the tabs or their labels change if you have that item ticked. I might need to do a release, might just be fixed in repo

williamdes commented 1 year ago

For now, it looks like it's fixed now 🎉