cea-sec / sanzu

Graphical remote desktop solution
GNU General Public License v3.0
183 stars 29 forks source link

sanzu_client: add window title #154

Closed Guillaume001 closed 1 year ago

Guillaume001 commented 1 year ago

Add a parameter to the client named title (I don't know if I should put a short argument).

Usage: sanzu_client --title "something"

serpilliere commented 1 year ago

Hi @Guillaume001 First of all, thanks for the patch. However, I was wondering if if may be interesting to mimic the behavior of others remote desktop, which may use the name of the destination server in the title name (like rdesktop for example)

Another way may be to use the option you gave and concatenate the server name?

Guillaume001 commented 1 year ago

Hi @serpilliere There are two possible views. It can be interesting to specify "Sanzu - " + server name when the title option is not specified and only title if the option is specified. My goal is that a user is not lost with several "Surf client" windows or with windows containing server addresses that are not very meaningful for the user.

Depending on the server's fqdn, the concatenation may have a window with a very large title but it is a good idea.

serpilliere commented 1 year ago

Thank you for the update @Guillaume001 !