541 B
541 B
Terminal instances
-
To launch terminal with command cmus and window title as cmus
xfce4-terminal --title="cmus" --command="cmus"Now this can be saved in .sh file and then executed as desktop entry [Desktop Entry] -
For konsole terminal emulator
konsole --hold -e bash -c "sleep 1 && echo -ne '\033]30;cmus\007' && cmus" -
For tmux
# Start a new tmux session named "my-cli-session" tmux new-session -d -s cmus "cmus" # Run your CLI tool command in the new tmux session tmux send-keys -t cmus "cmus" Enter