- Snap
sudo apt-get install snapd
- LinuxBrew https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- pyenv (python version manager), nvm (node version manager)
brew install pyenv && brew install nvm
- rbenv https://github.com/rbenv/rbenv
brew install rbenv
- npm & yarn
brew install npm && brew install yarn
- docker
sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
sudo snap install docker
- compton, xss-lock, feh-bg, xfce4-power-manager, xautolock, dconf-editor
- add it to github
- add it to digital ocean or any other hosting where u ssh
sudo apt-get install tilix
- to dump the tilix config to a file, run:
dconf dump /com/gexperts/Tilix/ > tilix.dconf
-
choose the appropriate zsh file (zshrc_mac for macosx zshrc for lizshnux)
-
clone
oh-my-zsh
into ~/.oh-my-zshmkdir ~/.oh-my-zsh && cd ~/.oh-my-zsh && git clone https://github.com/robbyrussell/oh-my-zsh
-
install powerlevel10k zsh theme
git clone https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k && echo 'source ~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
-
download meslo nerd font complete from
https://github.com/ryanoasis/nerd-fonts/blob/e9ec3ae4548e59eb9a6531f38370cb99ca591e16/patched-fonts/Meslo/L-DZ/complete/
-
and install the font
mv /path/to/font.otf /usr/local/share/fonts/opentype
dpkg-reconfigure fontconfig-config # don't make any changes
fc-list # verifies installation
(finally, set the tilix font in your profile to Meslo)
- download plugins
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- add command to tilix to start zsh on new shell in Preferences > Profile (defualt) > Command
zsh
- Setup the i3 WM to load on login at (if using debian w/ gdm3) the login screen by clicking on the cog (settings icon) before login and selecting "i3"
- Create a hardlink between the
aliases
file and~/.aliases
withln aliases ~/.aliases
- Repeat with the appropriate zsh file
ln zshrc ~/.zshrc
- (linux) hardlink compton.conf
ln .compton.conf ~/.compton.conf
- (linux) add tilix config back in
dconf load /com/gexperts/Tilix/ < tilix.dconf
- (linux) install "xfce4-power-manager"
apt-get install xfce4-power-manager
- (linux) install light-locker
apt-get install light-locker
# changes login screen - (linux) use feh for rotating wallpaper
apt-get install feh
with pictures in folder~/Pictures/wallpapers
and hardlinkln fehbg-rotate ~/.fehbg-rotate && chmod 777 ~/.fehbg-rotate
- copy over
~/.xinitrc
- if backlight keys don't work, check if u have "intel_backlight"
ls /sys/class/backlight
. if you do, copy the xorg.conf file into/etc/X11/xorg.conf
https://bbs.archlinux.org/viewtopic.php?id=208875 https://askubuntu.com/questions/1009387/laptop-doesnt-suspend-properly-on-closing-lid
- add a lock screen
.png
to~/Pictures/lock-screen.png
- move
i3exit
to/usr/local/bin/i3exit
and configure the path to the lock screen - configure with xfcd4-power-manager
xfce4-power-manager -c
https://cravencode.com/post/essentials/enable-tap-to-click-in-i3wm/
- makes 2-finger clicks into right clicks
edit /etc/X11/xorg.conf.d/90-touchpad.conf
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
# Option "Tapping" "on" # tap to click
Option "ClickMethod" "clickfinger" # click anywhere you want
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "ClickFinger1" "1"
Option "ClickFinger2" "2"
Option "ClickFinger3" "3"
EndSection
LINUX AUDIO IS SO BAD AND EVERYONE IS SO UNHELPFUL. For now, run this command every time you restart: alsactl restore
. use alsamixer
if sound is coming out of both your headphones and speakers to mute one.
https://askubuntu.com/questions/132440/headphone-jack-not-working
alsactl restore
https://www.linuxbabe.com/ubuntu/install-dropbox-headless-ubuntu-server
- wget "https://www.dropbox.com/download?plat=lnx.x86_64" -O dropbox-linux.tar.gz
- sudo mkdir /opt/dropbox/
- sudo tar xvf dropbox-linux.tar.gz --strip 1 -C /opt/dropbox
- sudo apt install libc6 libglapi-mesa libxdamage1 libxfixes3 libxcb-glx0 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxshmfence1 libxxf86vm1
- /opt/dropbox/dropboxd
- sudo nano /etc/systemd/system/dropbox.service
[Unit]
Description=Dropbox Daemon
After=network.target
[Service]
Type=simple
User=lola
ExecStart=/opt/dropbox/dropboxd
ExecStop=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target
- sudo systemctl start dropbox
- sudo systemctl enable dropbox
https://www.linux.com/learn/full-metal-backup-using-dd-command
- Backup to .tar file
# can take about an hour
# canceling in the middle with ctrl+c is fine.
sudo dd if=/dev/sda conv=sync,noerror bs=64K status=progress | gzip -c > angel_backup.img.gz
-
Move the image into a separate device (portable harddrive, cloud storage, etc)
-
Restore by booting in recovery mode into a root terminal and running:
# mount disk first
mount /dev/sdb /mnt
gunzip -c /PATH/TO/DRIVE/backup_image.img.gz | dd of=/dev/sda status=progress