Skip to content

FauxFaux/rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing on a clean Debian or Ubuntu machine:

sudo adduser faux
sudo adduser faux sudo
sudo apt install git zsh tmux connect-proxy
sudo chsh -s /bin/zsh faux

# proxy busting

if [ ! -z "$socks_proxy" ]; then
    printf '[url "[email protected]:"]\n\tinsteadOf = "git://github.com/"\n\tinsteadOf = "https://github.com/"\n' >> ~/.gitconfig
    mkdir .ssh
    printf 'Host *.com\n\tProxyCommand /usr/bin/connect-proxy -S '$socks_proxy' %%h %%p\n' >> .ssh/config
fi

# log out, log back in (with agent forwarding)

git clone --recursive https://github.com/FauxFaux/rc
tmux
rc/install.sh

Other things that this doesn't setup:

  • /etc/default/grub remove quiet and splash.
  • im-config -> xim, not ibus (which doesn't do colemauk properly)
  • Stop Gnome apps prefering Firefox even if update-alternatives points elsewhere: for m in x-scheme-handler/http{,s} text/html; do gvfs-mime --set $m chromium-browser.desktop; done
  • Fixup word characters for gnome-terminal, which has forgotten how to support urls.
  • Consider kernel.sysrq = 1 in /etc/sysctl.d/10-magic-sysrq.conf.
  • Ensure vconsoles (ctrl+alt+f2) are enabled; NAutoVTs in logind.conf or ACTIVE_CONSOLES in /etc/default/console-setup.
  • /usr/share/xsessions/xsession.desktop:
[Desktop Entry]
Name=Xsession
Exec=/etc/X11/Xsession