Task manager title

Forum / NoMachine for Linux / Task manager title

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27112
    walttheboss
    Participant

    System: Kubuntu 18.04.4 full updated. NoMachine 6.9.2 from repos. Running Perfectly: ssh tunnel and NX connection.

    I would like to change the title in the task manager.  There are times when I have 4 NoMachines running and I want them to read as the connection and not NoMachine – Connection.  That would allow me to see them all in my task manager by name and not have to guess.

    See attached picture. I want only MSGIT and Exodus to appear.  Not NoMachine – . . .

    Yes this is a petty issue.  Thanks for any and all help.

    Walt

    Attachments:
    #27150
    Tor
    Participant

    Hi. You could do something similar by installing xdotool and by executing a script like this:

    #!/bin/bash
    
    ids=$(xdotool search --class "nxplayer.bin")
    for id in $ids; do
      name=$(xdotool getwindowname $id)
      if [[ $name == "NoMachine -"* ]]; then
        newname=${name##NoMachine -}
        xdotool set_window --name "$newname" $id
      fi
    done
    #27153
    walttheboss
    Participant

    Thank you so much.  That is brilliant.  I linked that script to a keyboard shortcut so I can tap it anytime I am running NoMachine.

    Works Perfectly.

    Thanks again.

    Walt

     

Viewing 3 posts - 1 through 3 (of 3 total)

This topic was marked as solved, you can't post.