Install from software center and run:
mkdir -p ~/.local/share/konsole && cd ~/.local/share/konsole
wget https://raw.githubusercontent.com/lykius/ubuntu-settings/master/konsole/lykius.profile
wget https://raw.githubusercontent.com/lykius/ubuntu-settings/master/konsole/lykius.colorscheme
cd ~/.config
wget https://raw.githubusercontent.com/lykius/ubuntu-settings/master/konsole/konsolerc
Set the default terminal application with the command sudo update-alternatives --config x-terminal-emulator
.
Enable correct colors inside tmux, by creating the file ~/.tmux.conf
:
set-option -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
Generally, add the following line to /etc/fstab
to mount automatically a partition:
UUID=XXXXXXXXXX /PATH/TO/MNTDIR FILE_SYSTEM defaults 0 2
To mount properly a NTFS partition, use the following line:
UUID=XXXXXXXXXX /PATH/TO/MNTDIR ntfs defaults,auto,utf8,umask=000,dmask=022,fmask=133,uid=1000,gid=1000 0 0
The UUID of a partition can be obtained with the command sudo blkid
.
gTile can be installed using a browser from gnome extensions, follow instructions there to setup gnome extensions.
After installing gTile run:
cd ~/Downloads
wget https://raw.githubusercontent.com/lykius/ubuntu-settings/master/gtile.txt
dconf load /org/gnome/shell/extensions/gtile/ < gtile.txt
Run sudo apt install dconf-editor
.
To hide the dock, go to org/gnome/shell/extensions/dash-to-dock
and disable "autohide", "dock-fixed" and "intellihide".
Run git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
.
Copy .vimrc
file from this repository in ~
.
Open vim
and run :PluginInstall
to install plugins.
Follow instructions here and here.
Follow instructions here.
Run echo export PATH=/home/lykius/.local/bin:$PATH >> .bashrc
.
Restart bash.
Run pdm config venv.with_pip True
.
Follow instructions here.
You need to logout and then login to add poetry to the PATH.
After that, run poetry config virtualenvs.in-project true
.
wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -O ~/.git-completion.bash
echo ". ~/.git-completion.bash" >> ~/.bashrc
Add drivers repository with sudo add-apt-repository ppa:graphics-drivers/ppa
and sudo apt update
(sometimes a reboot was required).
Then run ubuntu-drivers devices
to get the recommended version (e.g. 450).
Finally, install with sudo apt install nvidia-driver-450
and reboot.
Download CUDA run file from here. Do not install drivers during the setup.
Download cuDNN tar file from here and follow instructions here.
CUDA must be added to PATH
and LD_LIBRARY_PATH
with the commands:
export PATH=/usr/local/cuda-XX.X/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-XX.X/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} # change lib64 with lib on 32-bit OS
Use the modified version of prime-select
from here.
Install ssh with sudo apt install openssh-server
.
To connect without password, follow these steps:
1. ssh-keygen -t ed25519
2. ssh-copy-id -i ~/.ssh/id_ed25519.pub user@remote-host