sudo apt install ncurses-term tree wget curl bash-completion git \ htop whois bzip2 plocate pv unrar unzip anacron mc vim-nox apt-file \ aptitude \ language-pack-kde-uk language-pack-kde-en language-pack-de \ ubuntu-restricted-extras pavucontrol \ vlc vlc-plugin-access-extra libbluray-bdj libdvd-pkg safeeyes xprintidle
Для української та англійської мови буде встановлена локаль та мова КДЕ, для німецької - локаль. Теоретично після цього не потрібен пакет locales-all.
У Дебіан немає пакетів language-pack-kde-uk language-pack-kde-en language-pack-de, там можна поставити locales-all?
mkdir -v ~/{.ssh,temp,scripts,backup,.vim,bin}
chmod 700 ~/{.ssh,temp,scripts,backup,.vim,bin}
TODO: In ubuntu,
$ source /etc/bash_completion.d/git-prompt
provides git info in prompt - just read head
Create new file /etc/sudoers.d/local:
User_Alias SUPERADMINS = peter Defaults:SUPERADMINS !env_reset, !secure_path, !always_set_home, ignore_dot, !targetpw SUPERADMINS ALL=(ALL) NOPASSWD: ALL
Використати стандартну кольорову гамму:
Settings -> Edit Current Profile.. -> Appearance tab -> Color Scheme & Background: Linux Colors Text Size: 12 Select Font: DejaVu Sans Mono, Bold, 12, Cyrillic
Можна обрати й інший шрифт.
Увімкнути підтримку 256 кольорів в терміналі:
Settings -> Edit Current Profile.. -> General tab Command: /usr/bin/tcsh Environment: TERM=konsole-256color
By default, Windows stores local time to RTC, but Linux stores UTC. If you have 2 OSes, best option is to store local time:
timedatectl set-local-rtc 1 --adjust-system-clock
Drawbacks: there may be a problem when daylight settings change. Just boot to Windows and sync time there once.
Do not forget to add passphrase!
ssh-keygen -t rsa -b 4096 -C "peter@compname" ssh-keygen -t ed25519 -C "peter@compname"
Create autostart script ~/.config/autostart-scripts/ssh-add.sh:
#!/bin/bash ssh-add $HOME/.ssh/id_rsa $HOME/.ssh/id_ed25519 </dev/null
chmod +x ~/.config/autostart-scripts/ssh-add.sh
The only thing left is to save the passphrase in the KWallet. This can be done either by executing the script from the terminal or logging out and then back in. A prompt will appear. Enter the passphrase, opt to remember it, and click OK.
Now the passphrase will be read from KWallet at each login and added to the SSH Agent, no passphrase re-entry required.
Just go to https://mega.nz/sync!linux and follow instructions
# configure the user which will be used by git # Of course you should use your name git config --global user.name "Example Surname" # Same for the email address git config --global user.email "your.email@example.com" # set default so that all changes are always pushed to the repository git config --global push.default nothing # colors git config --global color.ui true git config --global color.status auto git config --global color.branch auto # set editor git config --global core.editor vim # add aliases git config --global alias.ci commit git config --global alias.co checkout
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install -i ~/.local/lib/awscli -b ~/.local/bin
See also https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
for Kubuntu 20.04:
sudo apt install docker docker-compose sudo usermod -aG docker peter sudo systemctl start docker sudo systemctl enable docker
Install Pinta