From f275ac9b325bb5515a752cb36f26562903a0728a Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Thu, 22 Apr 2021 03:35:07 +0000 Subject: [PATCH] docs: remove unused --- Applications/System/Blueman.md | 6 ----- Applications/System/NetworkManager.md | 7 ------ Applications/System/dnscrypt-proxy.md | 23 ----------------- Applications/System/earlyoom.md | 8 ------ Applications/System/fstrim.md | 3 --- Applications/System/iwd.md | 28 --------------------- Applications/System/systemd-coredump.md | 8 ------ Applications/System/systemd-journald.md | 10 -------- Applications/System/systemd-networkd.md | 33 ------------------------- Applications/System/systemd-resolved.md | 3 --- Applications/System/systemd-swap.md | 19 -------------- 11 files changed, 148 deletions(-) delete mode 100644 Applications/System/Blueman.md delete mode 100644 Applications/System/NetworkManager.md delete mode 100644 Applications/System/dnscrypt-proxy.md delete mode 100644 Applications/System/earlyoom.md delete mode 100644 Applications/System/fstrim.md delete mode 100644 Applications/System/iwd.md delete mode 100644 Applications/System/systemd-coredump.md delete mode 100644 Applications/System/systemd-journald.md delete mode 100644 Applications/System/systemd-networkd.md delete mode 100644 Applications/System/systemd-resolved.md delete mode 100644 Applications/System/systemd-swap.md diff --git a/Applications/System/Blueman.md b/Applications/System/Blueman.md deleted file mode 100644 index 681801e..0000000 --- a/Applications/System/Blueman.md +++ /dev/null @@ -1,6 +0,0 @@ -# [Blueman](https://github.com/blueman-project/blueman) - -| Distribution | Package | -| ------------ | --------- | -| Arch Linux | `blueman` | -| Ubuntu | `blueman` | diff --git a/Applications/System/NetworkManager.md b/Applications/System/NetworkManager.md deleted file mode 100644 index b055012..0000000 --- a/Applications/System/NetworkManager.md +++ /dev/null @@ -1,7 +0,0 @@ -# [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager) - -| Distribution | Package | -| ------------ | ---------------- | -| Arch Linux | `networkmanager` | - -Service: `NetworkManager.service` diff --git a/Applications/System/dnscrypt-proxy.md b/Applications/System/dnscrypt-proxy.md deleted file mode 100644 index 418ffc0..0000000 --- a/Applications/System/dnscrypt-proxy.md +++ /dev/null @@ -1,23 +0,0 @@ -# [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy) - -| Distribution | Package | -| ------------ | ---------------- | -| Arch Linux | `dnscrypt-proxy` | -| Ubuntu | `dnscrypt-proxy` | - -Service: `dnscrypt-proxy.service` - -Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`: - -```toml -listen_addresses = ['127.0.0.1:53', '[::1]:53'] - -server_names = ['google', 'google-ipv6', 'cloudflare', 'cloudflare-ipv6'] -``` - -In NetworkManager GUI, turn off automatic DNS and edit: - -```txt -IPv4 127.0.0.1 -IPv6 ::1 -``` diff --git a/Applications/System/earlyoom.md b/Applications/System/earlyoom.md deleted file mode 100644 index fb964f7..0000000 --- a/Applications/System/earlyoom.md +++ /dev/null @@ -1,8 +0,0 @@ -# [earlyoom](https://github.com/rfjakob/earlyoom) - -| Distribution | Package | -| ------------ | ---------- | -| Arch Linux | `earlyoom` | -| Ubuntu | `earlyoom` | - -Service: `earlyoom.service` diff --git a/Applications/System/fstrim.md b/Applications/System/fstrim.md deleted file mode 100644 index 7d078c6..0000000 --- a/Applications/System/fstrim.md +++ /dev/null @@ -1,3 +0,0 @@ -# fstrim - -Service: `fstrim.timer` diff --git a/Applications/System/iwd.md b/Applications/System/iwd.md deleted file mode 100644 index 030dba4..0000000 --- a/Applications/System/iwd.md +++ /dev/null @@ -1,28 +0,0 @@ -# [iwd](https://git.kernel.org/pub/scm/network/wireless/iwd.git/) - -| Distribution | Package | -| ------------ | ------- | -| Arch Linux | `iwd` | -| Ubuntu | `iwd` | - -Service: `iwd.service` - -After run `iwctl`: - -```sh -device list - -# Change device to real device -station {device} scan -station {device} get-networks - -# Change SSID to real SSID -station {device} connect {SSID} -``` - -To use NetworkManager, edit `/etc/NetworkManager/conf.d/wifi_backend.conf` - -```txt -[device] -wifi.backend=iwd -``` diff --git a/Applications/System/systemd-coredump.md b/Applications/System/systemd-coredump.md deleted file mode 100644 index 8e3c14a..0000000 --- a/Applications/System/systemd-coredump.md +++ /dev/null @@ -1,8 +0,0 @@ -# [systemd-coredump](https://wiki.archlinux.org/index.php/Core_dump#Using_systemd) - -Create directory if not exist `/etc/systemd/coredump.conf.d` and edit `/etc/systemd/coredump.conf.d/custom.conf`: - -```txt -[Coredump] -Storage=none -``` diff --git a/Applications/System/systemd-journald.md b/Applications/System/systemd-journald.md deleted file mode 100644 index 0214700..0000000 --- a/Applications/System/systemd-journald.md +++ /dev/null @@ -1,10 +0,0 @@ -# [systemd-journald](https://wiki.archlinux.org/index.php/Systemd/Journal) - -Service: `systemd-journald.service` - -Create directory if not exist `/etc/systemd/journald.conf.d` and edit `/etc/systemd/journald.conf.d/00-journal-size.conf`: - -```txt -[Journal] -SystemMaxUse=50M -``` diff --git a/Applications/System/systemd-networkd.md b/Applications/System/systemd-networkd.md deleted file mode 100644 index 73c7052..0000000 --- a/Applications/System/systemd-networkd.md +++ /dev/null @@ -1,33 +0,0 @@ -# [systemd-networkd](https://wiki.archlinux.org/index.php/systemd-networkd) - -Service: `systemd-networkd.service` - -Need [systemd-resolved](Applications/System/systemd-resolved.md). - -Wired adapter, edit `/etc/systemd/network/20-wired.network`: - -```txt -[Match] -Name=en* - -[Network] -DHCP=yes - -[DHCP] -RouteMetric=10 -``` - -Wireless adapter, edit `/etc/systemd/network/25-wireless.network`: - -```txt -[Match] -Name=wl* - -[Network] -DHCP=yes - -[DHCP] -RouteMetric=20 -``` - -For wireless adapter, need [iwd](Applications/System/iwd.md). diff --git a/Applications/System/systemd-resolved.md b/Applications/System/systemd-resolved.md deleted file mode 100644 index edba17e..0000000 --- a/Applications/System/systemd-resolved.md +++ /dev/null @@ -1,3 +0,0 @@ -# [systemd-resolved](https://wiki.archlinux.org/index.php/Systemd-resolved) - -Service: `systemd-resolved.service` diff --git a/Applications/System/systemd-swap.md b/Applications/System/systemd-swap.md deleted file mode 100644 index 3ead962..0000000 --- a/Applications/System/systemd-swap.md +++ /dev/null @@ -1,19 +0,0 @@ -# [systemd-swap](https://github.com/Nefelim4ag/systemd-swap) - -| Distribution | Package | -| ------------ | -------------- | -| Arch Linux | `systemd-swap` | - -Service: `systemd-swap.service` - -Create directory if not exist `/etc/systemd/swap.conf.d` and edit `/etc/systemd/swap.conf.d/overrides.conf`: - -```txt -swapfc_enabled=1 -``` - -Edit `/etc/sysctl.d/99-swappiness.conf`: - -```txt -vm.swappiness=10 -```