My configuration files
C Shell Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.config/fontconfig
.nano
.screenlayout
dwm
mpDris2
mpd
st
xinit-xsession
.Xdefaults
.bashrc
.cwmrc
.inputrc
.nanorc
.screenrc
.stalonetrayrc
.stumpwmrc
.tmux.conf
.xinitrc
README.md
trackball-scroll

README.md

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:

vim ~/.local/share/applications/simple-terminal.desktop

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 prefix is Ctrl+g as opposite to default binding in every other screen I connect to on remote machines.