guake
guake copied to clipboard
guake rename a tab not selected ?
Hello Guake,
I use "guake -r "mytabname" to rename the tabs but I have a lot of tabs opened in parallel. ( and several scripts in parallel )
I have the following issue : In tab1, I do : sleep 10 ; guake -r "test" I switch to tab2/ during the 10s, the tab2 received the name of the "test" ...
Would it be possible to rename the tab of the script where it is launched? and not the latest tab selected?
It's the same issue with sleep 10 ; guake -g => it will return the index of the latest tab selected.
Regards,
I think this should be doable by collecting the PID of the terminal that invoked the command and sending that with the dbus message. On the receiving end should just be able to iterate over the terminal PIDs and it it's not found then it came from another terminal and we can use the current behavior. If the PID is found we can pick that terminal instead. Seems straightforward enough, can put this up for a good first issue till I can get around to it.
This is going to change behavior of commands that this is relevant to, I think this is probably the saner default though.
Hello, By waiting for the guake evolution, Is it workaroundable with an alias or bash script? Could you share a sample?
This is annoying for me too. I set the tab name to the relevant ticket number, and sometimes want to put a sleep before an ssh command after a reboot to give the machine time to wake back up.
I can't work in parallel when doing this, or the wrong one will be updated. Having it be pid aware would be a very nice QoL bump.