diff --git a/linux/debian/debian_minimal.md b/linux/debian/debian_minimal.md index 1950876..2f685b6 100644 --- a/linux/debian/debian_minimal.md +++ b/linux/debian/debian_minimal.md @@ -241,6 +241,30 @@ deb-src http://security.debian.org/debian-security testing-security main contrib # Gli aggiornamenti raccomandati per testing (testing-updates) sono disabilitati ``` +## Installazione minimale di KDE + +Quindi, dopo aver modificato i repository, aggiornare la distribuzione: + +```bash +sudo apt update && sudo apt upgrade --no-install-recommends +sudo apt autoremove +sudo apt dist-upgrade --no-install-recommends --no-install-suggests +sudo apt install git nala --no-install-recommends +``` + +Infine installare i programmi necessari: + +```bash +sudo apt install kde-plasma-desktop plasma-nm sddm xserver-xorg kwin-x11 kde-config-sddm pipewire neofetch \ +kde-gtk-config systemsettings kscreen khotkeys kmenuedit kwalletmanager qml-module-org-kde-pipewire \ +print-manager bluedevil phonon4qt5settings kmix powerdevil vim kate \ +librsvg2-dev gwenview ark unrar-free --no-install-recommends + +sudo systemctl enable --now upower.service + +sudo purge debian-reference-* doc-debian +``` + ## Collegamenti - [https://ubuntuhandbook.org/index.php/2020/06/hide-grub-boot-menu-ubuntu-20-04-lts/](https://ubuntuhandbook.org/index.php/2020/06/hide-grub-boot-menu-ubuntu-20-04-lts/) diff --git a/linux/ranger/ranger.md b/linux/ranger/ranger.md new file mode 100644 index 0000000..5b7384a --- /dev/null +++ b/linux/ranger/ranger.md @@ -0,0 +1,107 @@ +# ranger file manager + +## Installazione + +```bash +sudo apt install ranger ffmpeg highlight bat atool w3m calibre mediainfo odt2txt caca-utils mpv +ranger --copy-config=scope +cd +mkdir git/ && cd git/ +git clone https://github.com/dracula/ranger.git +mkdir ~/.config/ranger/colorschemes/ +cd ranger +cp dracula.py ~/.config/ranger/colorschemes/dracula.py +``` +## Struttura + +```bash +> ll .config/ranger/ + +Permissions Size User Date Modified Name +drwxr-xr-x - davide 15 mag 20:47  colorschemes # temi +.rw-r--r-- 24k davide 17 mag 11:42  rc.conf # file di configurazione +.rw-r--r-- 167 davide 17 mag 14:50  rifle.conf # stabilire con quale programma aprire determinati file +.rwxr-xr-x 14k davide 17 mag 12:09  scope.sh # script per le anteprime +``` + +## Command + +| Shortcut | Description | +|----------|-----------------------------| +| `ranger` | Start Ranger | +| `q` | Quit Ranger | +| `R` | Reload current directory | +| `?` | Ranger Manpages / Shortcuts | + +## Movement + +| Shortcut | Description | +| --- | --- | +| `k` | up | +| `j` | down | +| `h` | parent directory | +| `l` | subdirectory | +| `gg` | go to top of list | +| `G` | go t bottom of list | +| `J` | half page down | +| `K` | half page up | +| `H` | History Back | +| `L` | History Forward | +| `~` | Switch the view | + +## File Operations + +| Shortcut | Description | +| --- | --- | +| `` | Open | +| `r` | open file with | +| `z` | toggle settings | +| `o` | change sort order | +| `zh` | view hidden files | +| `cw` | rename current file | +| `yy` | yank / copy | +| `dd` | cut | +| `pp` | paste | +| `/` | search for files `:search` | +| `n` | next match | +| `N` | prev match | +| `` | Delete | + +## Commands + +| Shortcut | Description | +| --- | --- | +| `:` | Execute Range Command | +| `!` | Execute Shell Command | +| `chmod` | Change file Permissions | +| `du` | Disk Usage Current Directory | +| `S` | Run the terminal in your current ranger window (exit to go back to ranger) | + +## Tabs + +| Shortcut | Description | +| --- | --- | +| `C-n` | Create new tab | +| `C-w` | Close current tab | +| tab | Next tab | +| shift + tab | Previous tab | +| alt + \[n\] | goto / create \[n\] tab | + +## Marker + +| Shortcut | Description | +| --- | --- | +| `m + ` | Create Marker | +| `um + ` | Delete Marker | +| `' + ` | Go to Marker | +| `t` | tag a file with an \* | +| `t"` | tag a file with your desired mark | + +## Collegamenti + +- [https://github.com/ranger/ranger](https://github.com/ranger/ranger) +- [https://github.com/ranger/ranger/wiki/Official-user-guide](https://github.com/ranger/ranger/wiki/Official-user-guide) +- [https://github.com/ranger/ranger/wiki](https://github.com/ranger/ranger/wiki) +- [https://culgnol.github.io/ranger](https://culgnol.github.io/ranger) +- [https://kapeli.com/cheat_sheets/ranger.docset/Contents/Resources/Documents/index](https://kapeli.com/cheat_sheets/ranger.docset/Contents/Resources/Documents/index) +- [https://wiki.archlinux.org/title/Ranger](https://wiki.archlinux.org/title/Ranger)