-
Make bootable Flash drive
sudo fdisk --list sudo dd bs=4M status=progress oflag=sync if=~/Downloads/ubuntu-22.04-desktop-amd64.iso of=/dev/sdX
-
Backup
- Files
./backup.sh git commit --all -m 'Backup home/root files' git push
- SSH keys
zip --encrypt -j ssh.zip ~/.ssh/*
- PyCharm
- Settings sync or Export Settings
- Sync Dropbox files
- Sync Browser data
- Files
-
Install Ubuntu
-
Bash-it
Add to~/.bashrc
export BASH_IT_THEME='font'
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it ~/.bash_it/install.sh --no-modify-config source ~/.bashrc
-
Config FS table
sudo mkdir /media/voronin/data #sudo chown dimka /media/voronin/data blkid sudo nano /etc/fstab mount --all
-
Update OS
sudo apt update sudo apt dist-upgrade
-
Swap file
swapon --show sudo fallocate /swapfile --length 1G sudo mkswap --check /swapfile sudo chmod u=rw,g=,o= /swapfile sudo swapon /swapfile swapon --show
Set
vm.swappiness=1
:sudo merge.sh root/etc/sysctl.conf sudo sysctl --load cat /proc/sys/vm/swappiness
-
Install OS packages
sudo apt install -y ubuntu-restricted-extras vlc sudo apt install -y build-essential git
-
Python
sudo apt install -y python3-dev python3-pip sudo python3 -m pip install -U pip setuptools wheel python3 -m pip install --user -U pipx pipx install cookiecutter poetry pipenv==2022.1.8
-
Pyenv Install pyenv (e.g. using pyenv-installer)
-
Node.js Install nvm
nvm install --lts --latest-npm
-
Install Lua (not updated)
- Install Lua and luarocks (1 of 2):
-
sudo apt install -y lua5.3 liblua5.3-dev
Install luarocks -
sudo apt install -y luarocks
-
- Löve
- ZeroBrane Studio
./restore.sh copy ~/.zbstudio/user.lua
- Install Lua and luarocks (1 of 2):
-
PyCharm
Search- Community edition
sudo snap install pycharm-community # Don't update. It crashes non-updated plugins snap refresh --hold pycharm-community
- Professional edition
sudo snap install pycharm-professional
Turn off Gnome hot keys
# Alt+F1: Main menu Select in gsettings set org.gnome.desktop.wm.keybindings panel-main-menu [] # Alt+F7: Begin move Find usages gsettings set org.gnome.desktop.wm.keybindings begin-move [] # Alt+F8: Begin resize Evaluate expression gsettings set org.gnome.desktop.wm.keybindings begin-resize [] # Ctrl+Alt+Arrow: Switch workspace Navigation gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up [] gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down [] gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left [] gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right [] # Ctrl+Alt+S: Window toggle shaded Settings gsettings set org.gnome.desktop.wm.keybindings toggle-shaded []
- Community edition
-
Install Gnome Shell extensions
sudo apt install -y chrome-gnome-shell
- Hide Top Panel
- Suspend Button
-
Install programs
- Search Google Chrome
or alternatively:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb --output-document=google-chrome.deb sudo dpkg -i google-chrome.deb rm google-chrome.deb
- Search DeaDBeeF
- Search Google Chrome
or alternatively:
-
Dropbox
- Install Dropbox
or alternatively:
sudo apt install -y nautilus-dropbox
- Create symbolic link to
projects
directoryln --symbolic ~/Dropbox/projects/ ~/projects
- Install Dropbox
or alternatively:
-
Install NVidia driver
ubuntu-drivers devices # sudo add-apt-repository ppa:ubuntu-x-swat/x-updates && sudo apt update sudo apt install nvidia-535 nvidia-settings sudo nvidia-xconfig
Restart OS
-
Gnome Settings
gsettings list-recursively | grep "" # Switch language by Ctrl+Space gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Ctrl>space']" gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward [] # Set Compose key # check before setting: gsettings get org.gnome.desktop.input-sources xkb-options gsettings set org.gnome.desktop.input-sources xkb-options [\'compose:caps\'] # Workspaces gsettings set org.gnome.desktop.wm.preferences num-workspaces 1 gsettings set org.gnome.shell.overrides dynamic-workspaces false gsettings set org.gnome.mutter dynamic-workspaces false # Nautilus # gsettings set org.gnome.nautilus.preferences sort-directories-first true gsettings set org.gnome.nautilus.preferences default-sort-order name gsettings set org.gnome.nautilus.preferences default-folder-viewer list-view
-
Gnome Shell Extensions
sudo apt install gnome-shell-extension-manager
Run
Extension Manager
-
Install
Bring Out Submenu Of Power Off/Logout Button
extension Arrange Menu Items Order: [1, 2, 3, 9, 7, 4, 5, 10, 6, 8] -
Install
Dash to panel
extensionPosition
tab- Panel screen position:
Left
- Show Application buttons: uncheck
Visible
- Desktop button: uncheck
Visible
Style
tab- App icon margin:
0
Behavior
tab- Ungroup applications:
Checked
Gear
- Maximum width (px) of application titles:
80
- Display running indicators on unfocused applications:
False
- Maximum width (px) of application titles:
- Panel screen position:
-
voronind / ubuntu Goto Github PK
View Code? Open in Web Editor NEWConfig Ubuntu GNOME after installation