knowledge/ubuntu 18 fresh install.md

48 lines
1.4 KiB
Markdown
Raw Normal View History

2019-09-09 19:15:51 +02:00
## Update & Upgrade
```bash
sudo apt update && sudo apt upgrade -y
```
## Install Packages
2019-02-13 00:10:50 +01:00
```bash
sudo apt-get install python-pip p7zip-full smplayer cmus speedtest-cli zsh curl wget git git-gui filezilla pavucontrol ufw servefile nmap
2019-09-09 19:17:19 +02:00
pip install youtube-dl tldr
2019-02-13 00:10:50 +01:00
```
2019-02-13 00:05:12 +01:00
## Web installs
2019-09-09 19:15:51 +02:00
- docker # https://download.docker.com
- VSCode # https://code.visualstudio.com/
- chrome # https://www.chrome.com/
- syncthing # https://apt.syncthing.net/
2019-02-13 00:05:12 +01:00
2019-09-09 19:15:51 +02:00
## Edit ~/.zshrc
### Change history-size
2019-02-13 00:10:50 +01:00
```bash
HISTSIZE=10000
HISTFILESIZE=20000
```
2019-09-09 19:18:57 +02:00
### Add shortcut "Alt+:" [to iterate through arguments](https://stackoverflow.com/questions/4009412/how-to-use-arguments-from-previous-command/55069846#55069846)
2019-09-09 19:15:51 +02:00
```bash
autoload -Uz copy-earlier-word
zle -N copy-earlier-word
bindkey "^[:" copy-earlier-word
```
### Enable most
```bash
export PAGER=most
```
2019-02-13 00:05:12 +01:00
## Gnome extensions
2019-02-13 00:06:38 +01:00
- Caffeine
2019-09-09 19:15:51 +02:00
- Dash to dock https://extensions.gnome.org/extension/307/dash-to-dock/ `sudo apt remove gnome-shell-extension-ubuntu-doc` https://github.com/micheleg/dash-to-dock/issues/643
- suspend button NetSpeed https://extensions.gnome.org/extension/104/netspeed/
- NetSpeed https://extensions.gnome.org/extension/104/netspeed/
2019-02-13 00:05:12 +01:00
2019-02-13 00:10:50 +01:00
## Custom shortcuts
2019-09-09 19:15:51 +02:00
- `systemctl suspend`
- Cmus https://medium.com/@madacol/configure-cmus-music-player-on-the-terminal-in-ubuntu-3c513d2d2cd0
## StartUp
- Cmus `gnome-terminal -- cmus`