docs: cleanup fedora, snap flatpak

main
Tran Hau 2021-04-04 14:44:04 +07:00
parent a491724121
commit b66f0b7c89
66 changed files with 28 additions and 311 deletions

View File

@ -4,7 +4,6 @@
| ------------ | -------- |
| Arch Linux | `neovim` |
| Ubuntu | `neovim` |
| Homebrew | `neovim` |
| Shorcut | Description |
| ------------------------------ | ------------------------------------- |

View File

@ -1,16 +0,0 @@
# [Zsh](https://wiki.archlinux.org/index.php/Zsh)
## macOS
To use latest zsh in macOS, install `zsh` with Homebrew.
Then append to `/etc/shells`:
```txt
/usr/local/bin/zsh
```
Set default shell:
```sh
chsh -s /usr/local/bin/zsh
```

View File

@ -4,14 +4,10 @@
| ------------ | ----------------- |
| Arch Linux | `bash-completion` |
| Ubuntu | `bash-completion` |
| Fedora | `bash-completion` |
| Homebrew | `bash-completion` |
With Arch Linux, Ubuntu, add to `~/.bashrc`:
Add to `~/.bashrc`:
```bash
[[ -f /usr/share/bash-completion/bash_completion ]] && \
source /usr/share/bash-completion/bash_completion
```
With Homebrew, read [Homebrew Shell Completion](https://docs.brew.sh/Shell-Completion).

View File

@ -4,8 +4,6 @@
| ------------ | ------- |
| Arch Linux | `curl` |
| Ubuntu | `curl` |
| Fedora | `curl` |
| Homebrew | `curl` |
Add credentials, edit `~/.netrc`:

View File

@ -1,7 +1,5 @@
# [fd](https://github.com/sharkdp/fd)
## Installation
| Distribution | Package |
| ------------ | --------- |
| Arch Linux | `fd` |

View File

@ -2,8 +2,6 @@
Should install using git.
## Shell
Add to `~/.bashrc`, `~/.zshrc`:
```sh
@ -22,8 +20,6 @@ export FZF_DEFAULT_OPTS='--color light'
| `CTRL-T` | search through files and directories |
| `CTRL-R` | search though command-line history |
## Editor
Add to `~/.vimrc`, `~/.config/nvim/init.vim`:
```vim

View File

@ -1,7 +1,5 @@
# [ripgrep](https://github.com/BurntSushi/ripgrep)
## Installation
| Distribution | Package |
| ------------ | --------- |
| Arch Linux | `ripgrep` |

View File

@ -1,14 +1,10 @@
# rsync
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `rsync` |
| Ubuntu | `rsync` |
## Usage
```sh
rsync -vah src dest
```

View File

@ -4,11 +4,3 @@
| ------------ | ------- |
| Arch Linux | `tldr` |
| Ubuntu | `tldr` |
| Fedora | `tldr` |
| Homebrew | `tldr` |
Want to know `tar` ?:
```sh
tldr tar
```

View File

@ -1,14 +1,10 @@
# [tmux](https://wiki.archlinux.org/index.php/Tmux)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `tmux` |
| Ubuntu | `tmux` |
## Usage
Imagine you want to run a long task in terminal, but you don't want to keep terminal open.
Run the task in tmux then detach session, after some time attach that session.

View File

@ -1,13 +1,6 @@
# Cheat
## Linux
# [gameconqueror](https://github.com/scanmem/scanmem)
| Distribution | Package |
| ------------ | --------------- |
| Arch Linux | `gameconqueror` |
| Ubuntu | `gameconqueror` |
| Fedora | `gameconqueror` |
## Windows
[Cheat Engine](https://github.com/cheat-engine/cheat-engine)

View File

@ -1,20 +0,0 @@
# [Delta](https://github.com/dandavison/delta)
| Distribution | Package |
| ------------ | ----------- |
| Fedora | `git-delta` |
| Homebrew | `git-delta` |
Config in git:
```sh
git config --global core.pager delta
git config --global delta.syntax-theme YourFavoriteTheme
```
Edit in `~/.bashrc`, `~/.zshrc`:
```sh
export DELTA_PAGER=bat
```

View File

@ -3,4 +3,3 @@
| Distribution | Package |
| ------------ | --------- |
| Arch Linux | `foliate` |
| Fedora | `foliate` |

View File

@ -1,5 +0,0 @@
# [Fondo](https://github.com/calo001/fondo)
| Distribution | Package |
| ------------ | ------- |
| Fedora | `fondo` |

View File

@ -4,7 +4,6 @@
| ------------ | ---------- |
| Arch Linux | `gamemode` |
| Ubuntu | `gamemode` |
| Fedora | `gamemode` |
In Steam, set launch options:

View File

@ -1,5 +0,0 @@
# [Gnirehtet](https://github.com/Genymobile/gnirehtet)
| Distribution | Package |
| ------------ | ----------- |
| Homebrew | `gnirehtet` |

View File

@ -3,4 +3,3 @@
| Distribution | Package |
| ------------ | ---------- |
| Arch Linux | `heimdall` |
| Fedora | `heimdall` |

View File

@ -1,5 +0,0 @@
[OBS Studio](https://github.com/obsproject/obs-studio)
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `obs-studio` |

View File

@ -1,5 +0,0 @@
# [Planner](https://github.com/alainm23/planner)
| Distribution | Package |
| ------------ | ----------------------------------------------------------- |
| Fedora | `elementary-planner elementary-theme elementary-icon-theme` |

View File

@ -4,5 +4,3 @@
| ------------ | -------- |
| Arch Linux | `rclone` |
| Ubuntu | `rclone` |
| Fedora | `rclone` |
| Homebrew | `rclone` |

View File

@ -1,7 +0,0 @@
# Steam
In Steam, set launch options:
```sh
DRI_PRIME=1 %command%
```

View File

@ -1,7 +1,5 @@
# [Syncthing](https://github.com/syncthing/syncthing)
## Installation
| Distribution | Package |
| ------------ | ----------- |
| Arch Linux | `syncthing` |

View File

@ -1,8 +0,0 @@
# [Tig](https://github.com/jonas/tig)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `tig` |
| Ubuntu | `tig` |

View File

@ -1,9 +0,0 @@
# [Tilix](https://github.com/gnunn1/tilix)
VTE Configuration, add to `~/.bashrc`, `~/.zshrc`:
```sh
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
```

View File

@ -3,4 +3,3 @@
| Distribution | Package |
| ------------ | -------- |
| Arch Linux | `woeusb` |
| Fedora | `WoeUSB` |

View File

@ -4,4 +4,3 @@
| ------------ | ------------------------------------------ |
| Arch Linux | `android-tools` |
| Ubuntu | `android-tools-adb android-tools-fastboot` |
| Fedora | `android-tools` |

View File

@ -6,7 +6,7 @@
| Ubuntu | `apng2gif` |
| Homebrew | `apng2gif` |
Usage:
Convert `input.png` to `output.gif`:
```sh
apng2gif input.png output.gif

View File

@ -1,14 +1,10 @@
# [bat](https://github.com/sharkdp/bat)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `bat` |
| Ubuntu | `bat` |
## Usage
List themes:
```sh

View File

@ -1,7 +1,5 @@
# [bucklespring](https://github.com/zevv/bucklespring)
## Installation
| Distribution | Package |
| ------------ | -------------- |
| Arch Linux | `bucklespring` |

View File

@ -1,7 +1,5 @@
# [duf](https://github.com/muesli/duf)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `duf` |

View File

@ -1,7 +1,5 @@
# [exa](https://github.com/ogham/exa)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `exa` |

View File

@ -4,7 +4,6 @@
| ------------ | ------------- |
| Arch Linux | `imagemagick` |
| Ubuntu | `imagemagick` |
| Fedora | `ImageMagick` |
Convert `.svg` to `.png`:

View File

@ -4,7 +4,6 @@
| ------------ | ---------- |
| Arch Linux | `inkscape` |
| Ubuntu | `inkscape` |
| Fedora | `inkscape` |
Convert `.svg` to `.png`:

View File

@ -4,8 +4,6 @@
| ------------ | ------- |
| Arch Linux | `kitty` |
| Ubuntu | `kitty` |
| Fedora | `kitty` |
| Homebrew | `kitty` |
List fonts:

View File

@ -1,5 +0,0 @@
# [lazydocker](https://github.com/jesseduffield/lazydocker)
| Distribution | Package |
| ------------ | ------------ |
| Homebrew | `lazydocker` |

View File

@ -1,5 +0,0 @@
# [lazygit](https://github.com/jesseduffield/lazygit)
| Distribution | Package |
| ------------ | --------- |
| Homebrew | `lazygit` |

View File

@ -1,11 +0,0 @@
# [librdkafka](https://github.com/edenhill/librdkafka)
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `librdkafka` |
If compile, add to `~/.bashrc`, `~/.zshrc`:
```sh
export LD_LIBRARY_PATH=/usr/local/lib
```

View File

@ -1,5 +0,0 @@
# [mdBook](https://github.com/rust-lang/mdBook)
| Distribution | Package |
| ------------ | -------- |
| Homebrew | `mdbook` |

View File

@ -20,12 +20,7 @@
### Youtube
Require [youtube-dl](https://github.com/ytdl-org/youtube-dl):
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `youtube-dl` |
| Ubuntu | `youtube-dl` |
Need [youtube-dl](Applications/Misc/youtube-dl.md):
Play youtube in terminal:

View File

@ -4,5 +4,3 @@
| ------------ | ------- |
| Arch Linux | `ncdu` |
| Ubuntu | `ncdu` |
| Fedora | `ncdu` |
| Homebrew | `ncdu` |

View File

@ -1,7 +0,0 @@
# [redli](https://github.com/IBM-Cloud/redli)
Usage:
```sh
redli -h localhost -p 6379 -a password
```

View File

@ -1,8 +1,5 @@
# [scrcpy](https://github.com/Genymobile/scrcpy)
| Distribution | Package |
| ------------ | ------------------------------------------------------------ |
| Arch Linux | [AUR](https://aur.archlinux.org/packages/scrcpy/) |
| Ubuntu | `scrcpy` |
| Fedora | [COPR](https://copr.fedorainfracloud.org/coprs/zeno/scrcpy/) |
| Homebrew | `scrcpy` |
| Distribution | Package |
| ------------ | -------- |
| Ubuntu | `scrcpy` |

View File

@ -1,5 +0,0 @@
# [wslu](https://github.com/wslutilities/wslu)
| Distribution | Package |
| ------------ | ------- |
| Ubuntu | `wslu` |

View File

@ -4,5 +4,3 @@
| ------------ | ------------ |
| Arch Linux | `youtube-dl` |
| Ubuntu | `youtube-dl` |
| Fedora | `youtube-dl` |
| Homebrew | `youtube-dl` |

View File

@ -4,5 +4,3 @@
| ------------ | -------- |
| Arch Linux | `httpie` |
| Ubuntu | `httpie` |
| Fedora | `httpie` |
| Homebrew | `httpie` |

View File

@ -1,14 +1,10 @@
# [OpenSSH](https://www.openssh.com/)
## Installation
| Distribution | Package |
| ------------ | ------------------------------- |
| Arch Linux | `openssh` |
| Ubuntu | `openssh-client openssh-server` |
## Configuration
Edit `~/.ssh/config`:
```txt

View File

@ -1,14 +1,10 @@
# OpenVPN
## Installation
| Distribution | Package |
| ------------ | --------- |
| Arch Linux | `openvpn` |
| Ubuntu | `openvpn` |
## Usage
Connect with factor authentication and start as a dameon:
```sh

View File

@ -4,8 +4,6 @@
| ------------ | ----------- |
| Arch Linux | `inetutils` |
| Ubuntu | `telnet` |
| Fedora | `telnet` |
| Homebrew | `telnet` |
Check connectivity:

View File

@ -4,5 +4,3 @@
| ------------ | ---------- |
| Arch Linux | `sshuttle` |
| Ubuntu | `sshuttle` |
| Fedora | `sshuttle` |
| Homebrew | `sshuttle` |

View File

@ -4,4 +4,3 @@
| ------------ | --------- |
| Arch Linux | `blueman` |
| Ubuntu | `blueman` |
| Fedora | `blueman` |

View File

@ -1,7 +1,5 @@
# [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager)
## Installation
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `networkmanager` |

View File

@ -1,7 +1,5 @@
# [PipeWire](https://pipewire.org/)
## Installation
| Distribution | Package |
| ------------ | ----------------------------------------------------- |
| Arch Linux | `pipewire pipewire-alsa pipewire-pulse pipewire-jack` |

View File

@ -1,7 +1,5 @@
# [Profile-sync-daemon](https://github.com/graysky2/profile-sync-daemon)
## Installation
| Distribution | Package |
| ------------ | --------------------- |
| Arch Linux | `profile-sync-daemon` |

View File

@ -1,18 +0,0 @@
# [TLP](https://github.com/linrunner/TLP)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `tlp` |
| Ubuntu | `tlp` |
| Fedora | `tlp` |
Service: `tlp.service`
### Thinkpads only
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `acpi_call` |
| Ubuntu | `acpi-call-dkms` |

View File

@ -1,17 +1,12 @@
# [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy)
## Installation
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `dnscrypt-proxy` |
| Ubuntu | `dnscrypt-proxy` |
| Fedora | `dnscrypt-proxy` |
Service: `dnscrypt-proxy.service`
## Configuration
Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`:
```toml

View File

@ -1,11 +1,8 @@
# [earlyoom](https://github.com/rfjakob/earlyoom)
## Installation
| Distribution | Package |
| ------------ | ---------- |
| Arch Linux | `earlyoom` |
| Ubuntu | `earlyoom` |
| Fedora | `earlyoom` |
Service: `earlyoom.service`

View File

@ -1,14 +1,9 @@
# [efibootmgr](https://github.com/rhboot/efibootmgr)
## Installation
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `efibootmgr` |
| Ubuntu | `efibootmgr` |
| Fedora | `efibootmgr` |
## Usage
Display current Boot Manager settings:

View File

@ -1,17 +1,12 @@
# [iwd](https://git.kernel.org/pub/scm/network/wireless/iwd.git/)
## Installation
| Distribution | Package |
| ------------ | ------- |
| Arch Linux | `iwd` |
| Ubuntu | `iwd` |
| Fedora | `iwd` |
Service: `iwd.service`
## Usage
After run `iwctl`:
```sh

View File

@ -1,13 +1,9 @@
# [systemd-networkd](https://wiki.archlinux.org/index.php/systemd-networkd)
## Installation
Service: `systemd-networkd.service`
Need [systemd-resolved](Applications/System/systemd-resolved.md).
## Configuration
Wired adapter, edit `/etc/systemd/network/20-wired.network`:
```txt

View File

@ -1,5 +1,3 @@
# [systemd-resolved](https://wiki.archlinux.org/index.php/Systemd-resolved)
## Installation
Service: `systemd-resolved.service`

View File

@ -1,16 +1,11 @@
# [systemd-swap](https://github.com/Nefelim4ag/systemd-swap)
## Installation
| Distribution | Package |
| ------------ | -------------- |
| Arch Linux | `systemd-swap` |
| Fedora | `systemd-swap` |
Service: `systemd-swap.service`
## Configuration
Create directory if not exist `/etc/systemd/swap.conf.d` and edit `/etc/systemd/swap.conf.d/overrides.conf`:
```txt

View File

@ -1,7 +1,5 @@
# Docker
## Installation
| Distribution | Package |
| ------------ | ----------------------- |
| Arch Linux | `docker docker-compose` |

View File

@ -4,8 +4,6 @@
| ------------ | ---------------- |
| Arch Linux | `go`, `go-tools` |
## Configuration
Add to `~/.bashrc`, `~/.zshrc`:
```sh

View File

@ -1,7 +1,5 @@
# [Podman](https://github.com/containers/podman)
## Installation
| Distribution | Package |
| ------------ | ------------------------------------- |
| Arch Linux | `podman podman-compose podman-docker` |

View File

@ -4,8 +4,6 @@
| ------------ | --------- |
| Arch Linux | `python` |
| Ubuntu | `python3` |
| Fedora | `python3` |
| Homebrew | `python3` |
Shebang:

View File

@ -8,7 +8,6 @@
| ------------ | ------------------- |
| Arch Linux | `materia-gtk-theme` |
| Ubuntu | `materia-gtk-theme` |
| Fedora | `materia-gtk-theme` |
[Plata-theme](https://gitlab.com/tista500/plata-theme)
@ -18,7 +17,6 @@
| ------------ | --------------- |
| Arch Linux | `arc-gtk-theme` |
| Ubuntu | `arc-theme` |
| Fedora | `arc-theme` |
## Icons
@ -28,13 +26,6 @@
| ------------ | -------------------- |
| Arch Linux | `papirus-icon-theme` |
| Ubuntu | `papirus-icon-theme` |
| Fedora | `papirus-icon-theme` |
[La Capitaine](https://github.com/keeferrourke/la-capitaine-icon-theme)
| Distribution | Package |
| ------------ | ------------------------- |
| Fedora | `la-capitaine-icon-theme` |
## Cursors
@ -42,10 +33,9 @@
[Capitaine cursors](https://github.com/keeferrourke/capitaine-cursors)
| Distribution | Package |
| ------------ | --------------------------- |
| Arch Linux | `capitaine-cursors` |
| Fedora | `la-capitaine-cursor-theme` |
| Distribution | Package |
| ------------ | ------------------- |
| Arch Linux | `capitaine-cursors` |
## Fonts
@ -61,11 +51,10 @@ fc-list
[Google Noto Fonts](https://www.google.com/get/noto/)
| Distribution | Package |
| ------------ | ---------------------------------------------------------------------------- |
| Arch Linux | `noto-fonts` |
| Ubuntu | `fonts-noto` |
| Fedora | `google-noto-sans-fonts google-noto-serif-fonts google-noto-sans-mono-fonts` |
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `noto-fonts` |
| Ubuntu | `fonts-noto` |
[Ubuntu font](https://design.ubuntu.com/font/)
@ -83,35 +72,31 @@ fc-list
[IBM Plex](https://github.com/IBM/plex)
| Distribution | Package |
| ------------ | -------------------- |
| Arch Linux | `ttf-ibm-plex` |
| Ubuntu | `fonts-ibm-plex` |
| Fedora | `ibm-plex-fonts-all` |
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `ttf-ibm-plex` |
| Ubuntu | `fonts-ibm-plex` |
[Clear Sans](https://01.org/clear-sans)
| Distribution | Package |
| ------------ | ------------------------ |
| Ubuntu | `clear-sans` |
| Fedora | `intel-clear-sans-fonts` |
| Distribution | Package |
| ------------ | ------------ |
| Ubuntu | `clear-sans` |
[Iosevka](https://github.com/be5invis/Iosevka)
[Fira Code](https://github.com/tonsky/FiraCode)
| Distribution | Package |
| ------------ | ----------------- |
| Arch Linux | `ttf-fira-code` |
| Ubuntu | `fonts-firacode` |
| Fedora | `fira-code-fonts` |
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `ttf-fira-code` |
| Ubuntu | `fonts-firacode` |
[JetBrains Mono](https://github.com/JetBrains/JetBrainsMono)
| Distribution | Package |
| ------------ | ---------------------- |
| Arch Linux | `ttf-jetbrains-mono` |
| Fedora | `jetbrains-mono-fonts` |
| Distribution | Package |
| ------------ | -------------------- |
| Arch Linux | `ttf-jetbrains-mono` |
[Cascadia Code](https://github.com/microsoft/cascadia-code)
@ -119,7 +104,6 @@ fc-list
| ------------ | --------------------- |
| Arch Linux | `ttf-cascadia-code` |
| Ubuntu | `fonts-cascadia-code` |
| Fedora | `cascadia-code-fonts` |
[Recursive Sans & Mono](https://github.com/arrowtype/recursive)