17 lines
No EOL
541 B
Markdown
17 lines
No EOL
541 B
Markdown
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
|
|
```bash
|
|
# 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
|
|
``` |