Skip to content

Instantly share code, notes, and snippets.

@stagfoo
Last active August 10, 2017 10:00
Show Gist options
  • Save stagfoo/7c6e1e3b8235eba3c4d8d7f2b321457b to your computer and use it in GitHub Desktop.
Save stagfoo/7c6e1e3b8235eba3c4d8d7f2b321457b to your computer and use it in GitHub Desktop.
computer install
#Move into downloads
cd ~/Downloads/
sudo wget -O - https://tagplus5.github.io/vscode-ppa/ubuntu/gpg.key | sudo apt-key add - && \
sudo wget -O /etc/apt/sources.list.d/vscode.list https://tagplus5.github.io/vscode-ppa/ubuntu/vscode.list && \
sudo apt update -y
sudo apt install code
# Install Node
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get -y install nodejs
sudo apt-get -y install git
sudo apt-get -y feh
sudo apt-get -y clip
#Install gitkraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
printf "Installing Hyper"
wget https://hyper-updates.now.sh/download/linux_deb
sudo dpkg -i linux_deb
# Install normal programs
printf "Installing Default Programs"
sudo apt-get install -y gimp
sudo apt-get install -y inkscape
sudo apt-get install -y vlc
sudo apt-get install xclip
sudo apt-get install -y p7zip-full
printf "Installing icons - papirus"
sudo add-apt-repository -y ppa:papirus/papirus
sudo apt-get -y update
sudo apt-get install -y papirus-icon-theme
printf "Installing icons - Paper"
sudo add-apt-repository -y ppa:snwh/pulp
sudo apt-get -y update
sudo apt-get -y install paper-icon-theme
sudo apt-get -y install paper-gtk-theme
# Exra PPA
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu zesty-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B05498B7
sudo sh -c 'echo "deb http://repo.steampowered.com/steam/ precise steam" >> /etc/apt/sources.list.d/steam.list'
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt-get -y update
# Install Figma?
printf "Installing VPN"
wget https://download.expressvpn.xyz/clients/linux/expressvpn_1.2.0_amd64.deb
sudo dpkg -i expressvpn_1.2.0_amd64.deb
# i3- window manager
printf "Installing i3 gaps"
sudo apt-get -y install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev dh-autoreconf
git clone --recursive https://github.com/Airblader/xcb-util-xrm.git
cd xcb-util-xrm/
./autogen.sh
make
sudo make install
cat > /etc/ld.so.conf.d/i3.conf
/usr/local/lib/
sudo ldconfig
sudo ldconfig -p
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
rm -Rf build/
mkdir build
cd build/
../configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
which i3
ls -l /usr/bin/i3
# create custom session
sudo apt-get -y install gnome-session gnome-settings-daemon gnome-panel
sudo touch /usr/share/xsessions/gnome-i3.desktop
echo "[Desktop Entry]
Name=GNOME with i3
Comment=A GNOME fallback mode session using i3 as the window manager.
Exec=gnome-session --session=i3
TryExec=gnome-session
Icon=
Type=Application" >> /usr/share/xsessions/gnome-i3.desktop
sudo touch /usr/share/gnome-session/sessions/i3.session
echo "[GNOME Session]
Name=gnome-i3
RequiredComponents=gnome-settings-daemon;gnome-panel;i3;" >> /usr/share/gnome-session/sessions/i3.session
#Move into downloads
cd ~/Downloads/
sudo wget -O - https://tagplus5.github.io/vscode-ppa/ubuntu/gpg.key | sudo apt-key add - && \
sudo wget -O /etc/apt/sources.list.d/vscode.list https://tagplus5.github.io/vscode-ppa/ubuntu/vscode.list && \
sudo apt update -y
sudo apt install code
# Install Node
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get -y install nodejs
sudo apt-get -y install git
sudo apt-get -y feh
sudo apt-get -y clip
#Install gitkraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
printf "Installing Hyper"
wget https://hyper-updates.now.sh/download/linux_deb
sudo dpkg -i linux_deb
# Install normal programs
printf "Installing Default Programs"
sudo apt-get install -y gimp
sudo apt-get install -y inkscape
sudo apt-get install -y vlc
sudo apt-get install xclip
sudo apt-get install -y p7zip-full
printf "Installing icons - papirus"
sudo add-apt-repository -y ppa:papirus/papirus
sudo apt-get -y update
sudo apt-get install -y papirus-icon-theme
printf "Installing icons - Paper"
sudo add-apt-repository -y ppa:snwh/pulp
sudo apt-get -y update
sudo apt-get -y install paper-icon-theme
sudo apt-get -y install paper-gtk-theme
# Exra PPA
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu zesty-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B05498B7
sudo sh -c 'echo "deb http://repo.steampowered.com/steam/ precise steam" >> /etc/apt/sources.list.d/steam.list'
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt-get -y update
# Install Figma?
printf "Installing VPN"
wget https://download.expressvpn.xyz/clients/linux/expressvpn_1.2.0_amd64.deb
sudo dpkg -i expressvpn_1.2.0_amd64.deb
# i3- window manager
printf "Installing i3 gaps"
sudo apt-get -y install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev dh-autoreconf
git clone --recursive https://github.com/Airblader/xcb-util-xrm.git
cd xcb-util-xrm/
./autogen.sh
make
sudo make install
cat > /etc/ld.so.conf.d/i3.conf
/usr/local/lib/
sudo ldconfig
sudo ldconfig -p
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
rm -Rf build/
mkdir build
cd build/
../configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
which i3
ls -l /usr/bin/i3
# Razor stuff
printf "Color Keys"
sudo add-apt-repository -y ppa:terrz/razerutils
sudo apt update
sudo apt install -y python3-razer razer-kernel-modules-dkms razer-daemon razer-doc
sudo add-apt-repository ppa:lah7/polychromatic
sudo apt update
sudo apt install -y polychromatic
printf "Suspend Issue"
echo "GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open" | xclip
printf "GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"
sudo nano /etc/default/grub
sudo update-grub
printf "Gestures Trackpad"
sudo gpasswd -a $USER input
sudo apt-get install xdotool wmctrl
sudo apt-get install libinput-tools
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo ./libinput-gestures-setup install
echo "gesture swipe right xdotool key ctrl+alt+Right" > .config/libinput-gestures.conf
echo "gesture swipe left xdotool key ctrl+alt+Left" >> .config/libinput-gestures.conf
libinput-gestures-setup autostart
libinput-gestures-setup start
# create custom session
sudo apt --fix-broken install
sudo apt-get -y install gnome-session gnome-settings-daemon gnome-panel
sudo touch /usr/share/xsessions/gnome-i3.desktop
sudo echo "[Desktop Entry]
Name=GNOME with i3
Comment=A GNOME fallback mode session using i3 as the window manager.
Exec=gnome-session --session=i3
TryExec=gnome-session
Icon=
Type=Application" >> /usr/share/xsessions/gnome-i3.desktop
sudo touch /usr/share/gnome-session/sessions/i3.session
sudo echo "[GNOME Session]
Name=gnome-i3
RequiredComponents=gnome-settings-daemon;gnome-panel;i3;" >> /usr/share/gnome-session/sessions/i3.session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment