My configuraton files, currently from various Linux distributions.
ST as default terminal in Debian/Ubuntu based distributions
After installing st from git (I prefer it over old packages in repo) run these commands:
sudo update-alternatives \ --install /usr/bin/x-terminal-emulator \ x-terminal-emulator \ /usr/local/bin/st 15 \ # set here path to your st installation --slave \ /usr/share/man/man1/x-terminal-emulator.1.gz \ x-terminal-emulator.1.gz \ /usr/local/share/man/man1/st.1 # path to man file of your st installation sudo update-alternatives --config x-terminal-emulator # and choose st as default
Desktop file contents for st:
GenericName=Terminal Comment=standard terminal emulator for the X window system Exec=st -t "Suckless Terminal" -g "80x24" -e screen -RR Terminal=false Type=Application Encoding=UTF-8 Icon=terminal Categories=System;TerminalEmulator; Keywords=shell;prompt;command;commandline;cmd;
Please notice that my
Exec line contains
screen -RR command. I like to have
it opened right after the start for every new terminal window. My local screen
Ctrl+g as opposite to default binding in every other screen I
connect to on remote machines.