Xpra: Ticket #2700: xpra list add session names

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:



Thu, 09 Apr 2020 03:04:55 GMT - Antoine Martin: status, milestone changed


Sat, 09 May 2020 05:45:34 GMT - Antoine Martin: owner, status changed

Do you want something like xpra sessions but in text format?


Sat, 09 May 2020 07:13:48 GMT - stdedos:

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']

Sat, 09 May 2020 07:13:59 GMT - stdedos: attachment set


Sat, 13 Jun 2020 10:01:23 GMT - Antoine Martin:

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

Sat, 13 Jun 2020 14:35:20 GMT - stdedos: owner changed

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?


Sat, 13 Jun 2020 14:49:12 GMT - Antoine Martin: status changed; resolution set

v4 server is too much in the future for me, so I guess fixed?

Done.

FYI: this is scheduled for backporting to v3.1


Sat, 23 Jan 2021 05:58:26 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2700