I'd like to be able to customise the title of the GNOME terminal window launched when clicking on an Argos entry that contains a bash action.
As a side note, the gnome-terminal has a --title arg which doesn't seem to work in 2023.
Instead, setting the terminal title works well with a helper function such as shown here:
https://unix.stackexchange.com/questions/177572/how-to-rename-terminal-tab-title-in-gnome-terminal
But I've unsuccessfully tried an Argos line such as:
bash='ORIG=$PS1; TITLE='\[\e]2;test\a\]'; PS1=${ORIG}${TITLE}; echo hello world}'
or escaped:
bash='ORIG=\$PS1; TITLE=\'\\[\\e]2;test\\a\\]\'; PS1=\${ORIG}\${TITLE}; echo hello world}'
and various in-between versions, none of which works.
Neither does having the set-title function in ~/.bash.testing and
bash='source ~/.bash.testing; set-title test'
Can this be done with current Argos?
I'd like to be able to customise the title of the GNOME terminal window launched when clicking on an Argos entry that contains a
bashaction.As a side note, the gnome-terminal has a
--titlearg which doesn't seem to work in 2023.Instead, setting the terminal title works well with a helper function such as shown here:
https://unix.stackexchange.com/questions/177572/how-to-rename-terminal-tab-title-in-gnome-terminal
But I've unsuccessfully tried an Argos line such as:
or escaped:
and various in-between versions, none of which works.
Neither does having the
set-titlefunction in~/.bash.testingandCan this be done with current Argos?