#2700 closed enhancement (fixed)
xpra list add session names
Reported by: | stdedos | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | 4.1 |
Component: | server | Version: | 3.0.x |
Keywords: | Cc: |
Description
When that list starts getting long, it becomes hard to track the session you are looking for:
$ xpra list Found the following xpra sessions: /run/user/1000/xpra: LIVE session at :100 LIVE session at :2 LIVE session at :20 LIVE session at :200 /run/xpra: LIVE session at :100 LIVE session at :2 LIVE session at :20 LIVE session at :200
My ideas would be:
- The automatic name
- A custom name (I don't remember; can I do that?)
- CSV all the open window titles (is there an easy way to do that, or do I need to play with
window.\d+.title=
xpra-info parsing?)
Attachments (1)
Change History (8)
comment:1 Changed 11 months ago by
Milestone: | 4.0 → 4.1 |
---|---|
Status: | new → assigned |
comment:2 Changed 10 months ago by
Owner: | changed from Antoine Martin to stdedos |
---|---|
Status: | assigned → new |
comment:3 Changed 10 months ago by
Not exactly, that is equally unhelpful (although interactive)
Name seems to exist, but picks up something automatic. How can I change it on running sessions?
I am looking for this (python-tabulate):
Display Status Name Windows --------- -------- ------ ------------------------------ :0 Live ColD shadow :2 Live ColA ['gnome-terminal', 'Rubymine'] :20 Live ColB ['gnome-terminal', 'subl'] :200 Live ColC ['gnome-terminal', 'smerge']
Changed 10 months ago by
Attachment: | Screenshot-xpra_2020-05-09_09-27-48.png added |
---|
comment:4 Changed 9 months ago by
Name seems to exist, but picks up something automatic.
Correct: usually the first real argument of your --start=
command(s).
How can I change it on running sessions?
xpra control :10 name WHATEVER
You will need r26712 to see the updated name with the mdns viewer.
Done in r26714. Here's what I see now with a shadow and another session:
$ xpra list-windows Display Status Name Windows :1 LIVE GNOME Shell xpra-linux-fedora :10 LIVE xterm xterm, lxterminal, xterm
comment:5 Changed 9 months ago by
Owner: | changed from stdedos to Antoine Martin |
---|
I would prefer overloading/replacing plain xpra info
command, but this is good enough.
v4 server is too much in the future for me, so I guess fixed?
comment:6 Changed 9 months ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
v4 server is too much in the future for me, so I guess fixed?
Done.
FYI: this is scheduled for backporting to v3.1
comment:7 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2700
Do you want something like
xpra sessions
but in text format?