From 5c7e79a52495aa7b650dc5b90b0b1cb76ad5666c Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Mon, 9 Sep 2019 17:15:51 +0000 Subject: [PATCH] --- ubuntu 18 fresh install.md | 40 +++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/ubuntu 18 fresh install.md b/ubuntu 18 fresh install.md index 121b9d8..3364fcf 100644 --- a/ubuntu 18 fresh install.md +++ b/ubuntu 18 fresh install.md @@ -1,25 +1,47 @@ -## Packages +## Update & Upgrade +```bash +sudo apt update && sudo apt upgrade -y +``` + +## Install Packages ```bash sudo apt-get install python-pip p7zip-full smplayer cmus speedtest-cli zsh curl wget git git-gui filezilla pavucontrol ufw servefile nmap pip install youtube-dl ``` ## Web installs -- docker #https://download.docker.com -- sublimetext #https://download.sublimetext.com/ -- chrome #https://www.chrome.com/ -- syncthing #https://apt.syncthing.net/ +- docker # https://download.docker.com +- VSCode # https://code.visualstudio.com/ +- chrome # https://www.chrome.com/ +- syncthing # https://apt.syncthing.net/ -## Change history-size +## Edit ~/.zshrc +### Change history-size ```bash HISTSIZE=10000 HISTFILESIZE=20000 ``` +### Add shortcut "Alt+:" [to iterate through arguments](https://medium.com/r/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F4009412%2Fhow-to-use-arguments-from-previous-command%2F55069846%2355069846) +```bash +autoload -Uz copy-earlier-word +zle -N copy-earlier-word +bindkey "^[:" copy-earlier-word +``` + +### Enable most +```bash +export PAGER=most +``` ## Gnome extensions - Caffeine -- Dash to dock | sudo apt remove gnome-shell-extension-ubuntu-dock # https://github.com/micheleg/dash-to-dock/issues/643 -- suspend button +- 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/ ## Custom shortcuts -systemctl suspend \ No newline at end of file +- `systemctl suspend` +- Cmus https://medium.com/@madacol/configure-cmus-music-player-on-the-terminal-in-ubuntu-3c513d2d2cd0 + +## StartUp +- Cmus `gnome-terminal -- cmus` \ No newline at end of file