added ranger.md and added programs to be installed for basic Debian configuration

This commit is contained in:
piccihud 2023-05-17 17:17:30 +02:00
parent a38bd885c5
commit d47acd2fec
2 changed files with 131 additions and 0 deletions

View File

@ -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/)

107
linux/ranger/ranger.md Normal file
View File

@ -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 |
| --- | --- |
| `<Enter>` | 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>` | 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 + <letter>` | Create Marker |
| `um + <letter>` | Delete Marker |
| `' + <letter>` | Go to Marker |
| `t` | tag a file with an \* |
| `t"<any>` | 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)