Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

A quick tool kit for script backup, data zipping and up zipping and system state restoration

Notifications You must be signed in to change notification settings

Pipe-Runner/dotfile-manager

Repository files navigation

setup

A quick tool kit for script backup, data zipping and up zipping and system state restoration

My System

Purpose of this repository

A set of perl scripts that can be readily downloaded and used to backup system data and dot files. It also packs scripts and instrucations to restore all data, configurations and installed apps either automatically or manually ( if automatic method fails ).

  • A data backup and restore utility
  • A dot file backup and restore utility
  • A set of install scripts for fresh ubuntu installation

Note: If at some point the automatic installation fails to at any of the tasks, it will generate a log file with the task number and the error message for you to follow up. Thus you can manually deal with the situation.

The set of programs that the install scripts covers are as follows:

Automatic Tasks

Task 1: Basic utilities

sudo apt-get install unclutter
sudo apt-get install rofi
sudo apt-get install thunar
sudo apt-get install git
sudo apt-get install wget
sudo apt-get install winff
sudo apt-get install aria2
sudo apt-get install lxappearance
sudo apt-get install feh
sudo apt-get install blueman
sudo apt-get install arandr
sudo apt-get install brightnessctl
sudo apt-get install gnome-tweak-tool
sudo apt install screenfetch
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

Task 2: Adding git credentials

git config --global user.name "AakashMallik"
git config --global user.email "aakashs.mallik.cse15@itbhu.ac.in"

Task 3: Copy fonts and rebuild cache

sudo fc-cache -f -v ~/.fonts

Note: There are three types of fonts being used in our case.

  1. FiraCode Retina for VS Code.
  2. SauceCodePro Nerd Font Regular for i3-wm.
  3. FuraCode Nerd Font Regular for gnome-tweak which basically applies to the terminal. (We will disable custom fonts for gnome terminal via preference)

Task 4: Installing zsh and make it default ( Requires re-login )

sudo apt-get install zsh
chsh -s $(which zsh)

Task 5: Install and setup powertop

sudo apt-get install powertop
sudo powertop --auto-tune
cat << EOF | sudo tee /etc/systemd/system/powertop.service
[Unit]
Description=PowerTOP auto tune

[Service]
Type=idle
Environment="TERM=dumb"
ExecStart=/usr/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable powertop.service

Task 6: Install compton compositor

sudo apt-add-repository ppa:richardgv/compton
sudo apt-get update
sudo apt-get install compton

Task 7: Install oh-my-zsh ( run from ~ )

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

Task 8: Install powerlevel9k ( run from ~ )

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

Task 9: Install python 2.7

sudo apt install python2.7 python-pip

Task 10: Install i3-gaps & i3blocks

sudo apt-get install i3blocks

sudo apt-get 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 libxcb-xrm0 libxcb-xrm-dev automake
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
rm -rf build/
mkdir -p build && cd build/
../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
make
sudo make install

Note: Before installing i3-gaps, make sure to uninstall i3-wm that gets installed automatically by i3blocks.

Task 11: Install i3-lock

sudo apt install i3lock fortune

Manual Tasks

Task 11: Cli-vis

https://github.com/dpayne/cli-visualizer

Task 12: Mouse settings

https://www.reddit.com/r/i3wm/comments/516e8c/tap_to_click_touchpad/?st=jgqkx25d&sh=dd93b234

Task 13: Add Themes to Lxappearance ( ~/.themes and ~/.icons )

https://www.gnome-look.org/p/1013698/-

https://forum.lxde.org/viewtopic.php?t=326#p1068

Task 14: Install LTS node and change make it default, update npm

nvm install --lts
nvm use --lts
npm -i -g npm

Task 15: Install Gparted utility

sudo apt-get install gparted

Task 16: Install OpenShot

sudo apt-get install openshot

Task 16: Install brightness control utility

sudo apt-get install brightnessctl

Note: Directly copying .theme and .icons will not work, they need to be reinstalled. Just extract the zipped file and paste them in their respective directories. Please use this https://askubuntu.com/questions/1035975/cant-use-installed-fonts-in-gnome-terminal to set nerd fonts on the gnome terminal.

Task 17: Install OpenRazer and frontend

https://openrazer.github.io/

Task 18: Install QuteBrowser

sudo apt install qutebrowser

Task 19: Setup vim-plug

Follow instructions at https://github.com/junegunn/vim-plug

About

A quick tool kit for script backup, data zipping and up zipping and system state restoration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published