Skip to content

Instantly share code, notes, and snippets.

@multivac61
Last active March 18, 2017 16:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save multivac61/3e98895bc716697a3cae17c63aa848fd to your computer and use it in GitHub Desktop.
Save multivac61/3e98895bc716697a3cae17c63aa848fd to your computer and use it in GitHub Desktop.
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y mendeleydesktop htop
# Install f.lux
# Install dependencies
sudo apt-get install -y git python-appindicator python-xdg python-pexpect python-gconf python-gtk2 python-glade2 libxxf86vm1 -y
# Download and install xflux-gui
cd /tmp
git clone "https://github.com/xflux-gui/xflux-gui.git"
cd xflux-gui
sudo python ./setup.py install
# Alias commands
echo "alias in='sudo apt-get install'" >> ~/.bashrc
echo "alias up='sudo apt-get update && apt-get upgrade -y'" >> ~/.bashrc
echo "alias se='apt-cache search'" >> ~/.bashrc
echo "alias open='xdg-open . 2> /dev/null'" >> ~/.bashrc
echo "alias v='valgrind -v --tool=memcheck --leak-check=yes --show-reachable=yes --track-origins=yes --num-callers=20 --track-fds=yes'"
echo "alias activate='source venv/bin/activate'" >> ~/.bashrc
# Files displayed as list by default
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
# Do not make folders auto open in front.
gsettings set org.gnome.desktop.media-handling automount-open false
# Increase length of bash history
echo "HISTSIZE=10000" >> ~/.bashrc
echo "HISTFILESIZE=20000" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment