Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Use VTE titles for tab names" and "Run command as a login shell" options don't work #524

Closed
hotice opened this issue May 5, 2015 · 12 comments · Fixed by tirkarthi/guake#3

Comments

@hotice
Copy link

hotice commented May 5, 2015

The "Use VTE titles for tab names" (Preferences > General tab) and "Run command as a login shell" (Preferences > Shell tab) options don't work and are reset each time you access the preferences.

You can notice this by changing the options I mentioned above via the Guake Preferences window, then closing and re-opening the preferences ("Use VTE titles for tab names" remains enabled and "Run command as a login shell" can't be enabled).

Changing these options via gconf-editor works though.

@gsemet gsemet added this to the 0.7.1 milestone May 5, 2015
@gsemet gsemet self-assigned this May 5, 2015
@gsemet
Copy link
Member

gsemet commented May 5, 2015

thanks for this report

@michaelstephens
Copy link

+1. I also experience the resetting options for the "Open new tab in current directory" (Preferences > Shell tab)

@cmolina
Copy link

cmolina commented May 11, 2015

From Arch docs:

you can adjust many of the Guake preferences with gconf-editor tool under apps > guake

There is a checkbox you can use: use_login_shell as a workaround.

@michaelstephens
Copy link

There is, however, no gconf option (that I have found) to open a new tab in current directory.

@gsemet gsemet modified the milestones: 0.7.1, 0.7.2, 0.7.3 May 18, 2015
@JasonXJ
Copy link
Contributor

JasonXJ commented Jun 25, 2015

@mikestephens I found a workaround for this. Add a boolean key "open_tab_cwd" and set it to True in gconf:/apps/guake/general

@gsemet
Copy link
Member

gsemet commented Jun 25, 2015

nice one!

@michaelstephens
Copy link

@JasonXJ thank you so much! Worked perfectly! You are the best!

@MaximilianoFelice
Copy link

+1. I can confirm buggy behaviour in Ubuntu 15.04.

Still, @camolin3 solution worked like a cham. Thank you! Really.

@gsemet gsemet modified the milestones: 0.8.0, 0.8.1 Aug 18, 2015
@gsemet gsemet modified the milestones: 0.8.1, 0.8.2 Sep 21, 2015
@tirkarthi
Copy link
Contributor

The issue is similar to #619 and #622 where the prefs.glade doesn't have the appropriate handlers in the xml. I will check on the other half where "Use VTE titles for tab names" is also resetting to see if its the same issue.

@tirkarthi
Copy link
Contributor

It seems the opposite here for "Use VTE titles for tab names", prefs.glade had the handler but the appropriate handler is not present in guake/prefs.py. I have added the appropriate setter method and verified the same. Hence attaching a PR for the same.

tirkarthi added a commit to tirkarthi/guake that referenced this issue Sep 26, 2015
Fix Guake#524: use VTE titles for tab names
tirkarthi added a commit to tirkarthi/guake that referenced this issue Sep 26, 2015
tirkarthi added a commit to tirkarthi/guake that referenced this issue Sep 26, 2015
@gsemet gsemet closed this as completed in 6e61a42 Sep 26, 2015
gsemet pushed a commit that referenced this issue Jan 30, 2017
Fixes #524. The handler was present in `prefs.glade` but was not present in `prefs.py`. Added the same to fix the issue.
gsemet pushed a commit that referenced this issue Jan 30, 2017
Fix #524: use VTE titles for tab names
gsemet pushed a commit that referenced this issue Jan 30, 2017
gsemet pushed a commit that referenced this issue Jan 30, 2017
gsemet pushed a commit that referenced this issue Jan 30, 2017
Fixes #524. The handler was present in `prefs.glade` but was not present in `prefs.py`. Added the same to fix the issue.
gsemet pushed a commit that referenced this issue Jan 30, 2017
Fix #524: use VTE titles for tab names
gsemet pushed a commit that referenced this issue Jan 30, 2017
gsemet pushed a commit that referenced this issue Jan 30, 2017
@katastic
Copy link

katastic commented Sep 2, 2017

Ever since I updated to the newest version of Guake (awhile back), I no longer have tab names. I turn on VTE and login as shell but it doesn't do anything. And my computer doesn't even have gconf (though I found the directory in ~/.gconf), I have dconf and it doesn't list any Guake specifics.

Running version 0.8.10.

Can someone point me to some documentation or instructions or something for understanding why "VTE" is used for titles, and how/where it could break?

I keep Googling (on numerous occasions) but this thread is basically the only thing that even shows up related to the topic. guake -r [new tab name] works fine. But it's not automatic.

[edit] I just ran a clean pull of the repo and build and installed. same problem. Also--not sure if this is a clue or not--but it doesn't appear to abbreviate directory paths even with that option selected. Paths basically just continue into the GUI widget edge clips them.

My current titles are:
username@computername: ~/Desktop/my/path/is/[CLIP]
And loading a program does not change this.

@katastic
Copy link

katastic commented Sep 9, 2017

FYI, I can confirm that abbreviations DO work now. So I must have mis-tested that. However, the VTE still definitely doesn't work. Loading any program or doing any command definitely doesn't change the tab name other than the directory path. As far as I know, no system changes have happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants