2014-03-29 20:13:06 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#software and shell
|
2014-08-01 21:17:40 +01:00
|
|
|
FEDORA_VERSION=`rpm -E %fedora`
|
|
|
|
sudo yum install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm
|
|
|
|
sudo yum install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm
|
2014-08-17 09:17:36 +01:00
|
|
|
sudo yum install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors vlc freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel
|
|
|
|
|
|
|
|
#ReText
|
|
|
|
aria2c http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.2/sip-4.16.2.tar.gz -d /tmp
|
|
|
|
tar -C /tmp -xf /tmp/sip-4.16.2.tar.gz
|
|
|
|
cd /tmp/sip-4.16.2
|
|
|
|
python3 configure.py
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
aria2c http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.3.1/PyQt-gpl-5.3.1.tar.gz -d /tmp
|
|
|
|
tar -C /tmp -xf /tmp/PyQt-gpl-5.3.1.tar.gz
|
|
|
|
cd /tmp/PyQt-gpl-5.3.1
|
|
|
|
python3 configure.py --qmake /usr/bin/qmake-qt5
|
|
|
|
make -j8
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
sudo pip-python3 install retext
|
|
|
|
|
|
|
|
#zsh
|
2014-03-29 21:05:59 +00:00
|
|
|
sudo chsh -s `which zsh` $USER
|
2014-07-31 21:05:02 +01:00
|
|
|
|
2014-08-17 09:17:36 +01:00
|
|
|
#submodules
|
2014-07-31 21:05:02 +01:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2014-07-25 18:44:13 +01:00
|
|
|
cd $DIR
|
|
|
|
git submodule init
|
|
|
|
git submodule update --recursive
|
|
|
|
|
2014-07-31 21:05:02 +01:00
|
|
|
#rvm
|
2014-05-07 10:53:41 +01:00
|
|
|
curl -sSL https://get.rvm.io | bash -s stable
|
|
|
|
rvm install ruby
|
2014-03-29 20:13:06 +00:00
|
|
|
|
|
|
|
#symbolic links
|
|
|
|
ln -s "$DIR/.vim" ~/.
|
|
|
|
ln -s "$DIR/.vimrc" ~/.
|
2014-06-08 08:14:29 +01:00
|
|
|
ln -s "$DIR/.tmux.conf" ~/.
|
2014-07-25 18:44:13 +01:00
|
|
|
rm -f "$DIR/.zshrc"
|
2014-03-29 20:13:06 +00:00
|
|
|
ln -s "$DIR/.zshrc" ~/.
|
|
|
|
ln -s "$DIR/.oh-my-zsh" ~/.
|
2014-08-09 06:34:58 +01:00
|
|
|
ln -s "$DIR/.Slic3r" ~/.
|
2014-03-29 20:13:06 +00:00
|
|
|
ln -s "$DIR/.gitconfig.linux.private" ~/.gitconfig
|
|
|
|
ln -s "$DIR/tools" ~/
|
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#install fonts
|
|
|
|
mkdir ~/.fonts
|
|
|
|
cp -rv "$DIR/fonts" ~/.fonts
|
|
|
|
fc-cache
|
|
|
|
|
2014-03-29 20:13:06 +00:00
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#set solarized scheme
|
2014-03-29 20:13:06 +00:00
|
|
|
$DIR/gnome-terminal-colors-solarized/install.sh
|
|
|
|
|
2014-03-29 20:53:10 +00:00
|
|
|
#setting colors to solarized should result in the default proile with the following id set
|
|
|
|
#TODO: choose the profile dynamically
|
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/font "'Inconsolata for Powerline Medium 18'"
|
2014-03-29 21:05:59 +00:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/login-shell true
|
2014-03-29 21:39:41 +00:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/audible-bell false
|
2014-03-31 12:57:24 +01:00
|
|
|
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-system-font false
|
2014-03-29 21:39:41 +00:00
|
|
|
|
|
|
|
echo
|
2014-03-29 21:05:59 +00:00
|
|
|
echo "now go ahead and restart Gnome session"
|
2014-03-29 20:53:10 +00:00
|
|
|
|