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

Can't distinguish Terminal windows by title in window menu #8

Open
stuartlangridge opened this issue Nov 13, 2023 · 4 comments
Open

Comments

@stuartlangridge
Copy link

I have lots of XFCE Terminal windows open, all of which have a title which looks like Terminal - aquarius@oz: /path/to/a/folder. However, the popup window menu unfortunately cuts them all off to just the start, meaning that I can't tell the difference between them:

image

Is there anything I can do to help resolve that?

(I'm running version 1:1.0~beta2+git20230704-1~ppa1 from the Ubuntu PPA, which I believe is your fork?)

@kogaba
Copy link

kogaba commented Nov 13, 2023

use GNU screen and/or konsole.

@xuzhen
Copy link
Owner

xuzhen commented Nov 14, 2023

I made two modifications in 8257929 to deal with your problem.

  1. You can now set the window title size independently when the preview function is enabled.
  2. When the window title is too long, the middle part will be hidden instead of the current end part.

A new version has been uploaded to my PPA, it will take some times to build for every supported Ubuntu version.

@stuartlangridge
Copy link
Author

Nice! I'll give it a test.

@stuartlangridge
Copy link
Author

The preview size works, and so does middle ellipsising rather than end ellipsising. Neat.

What would be very clever is for the list of titles to be compared and then maybe remove the common elements, although this is a lot harder. (That is, instead of changing a list of "Website 1 - Mozilla Firefox", "Website 1 - Mozilla Firefox" to be "Website...la Firefox", "Website...lla Firefox", detect that they both say "Mozilla Firefox" and remove that. This doesn't help when you have one window with a long title, of course! So it might not be worth it. But it could be cool. If I get a chance, I'll have a look at working out how to do that.)

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

No branches or pull requests

3 participants