Compare commits
4 Commits
d96541d2d3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e8eeca968 | |||
| 8c0dbf9ea0 | |||
| c828a8e5db | |||
| 01b91fa703 |
11
README.md
11
README.md
@@ -16,6 +16,7 @@
|
|||||||
- [Network Configuration](#network-configuration)
|
- [Network Configuration](#network-configuration)
|
||||||
- [hostname / hostnamectl](#hostname--hostnamectl)
|
- [hostname / hostnamectl](#hostname--hostnamectl)
|
||||||
- [static ip](#static-ip)
|
- [static ip](#static-ip)
|
||||||
|
- [System info](#system-info)
|
||||||
- [System Monitoring Utilities](#system-monitoring-utilities)
|
- [System Monitoring Utilities](#system-monitoring-utilities)
|
||||||
- [btop](#btop)
|
- [btop](#btop)
|
||||||
- [memory usage by user](#memory-usage-by-user)
|
- [memory usage by user](#memory-usage-by-user)
|
||||||
@@ -216,6 +217,16 @@ Reiniciar configuração sem reboot de computador
|
|||||||
sudo /etc/init.d/networking restart
|
sudo /etc/init.d/networking restart
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### System info
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# get distribution
|
||||||
|
cat /etc/os-release
|
||||||
|
|
||||||
|
# get kernel version
|
||||||
|
uname -a
|
||||||
|
```
|
||||||
|
|
||||||
### System Monitoring Utilities
|
### System Monitoring Utilities
|
||||||
|
|
||||||
#### btop
|
#### btop
|
||||||
|
|||||||
@@ -79,3 +79,23 @@ Stop auto tty session and kill sessions:
|
|||||||
``` bash
|
``` bash
|
||||||
sudo systemctl stop getty@tty1
|
sudo systemctl stop getty@tty1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
if stuck in a kiosk loop, the system boots straight into:
|
||||||
|
|
||||||
|
* matchbox-window-manager
|
||||||
|
* Chromium kiosk
|
||||||
|
and cannot switch TTY, cannot access a terminal, and cannot fix the script.
|
||||||
|
|
||||||
|
Interrupt GRUB and boot into console mode.
|
||||||
|
|
||||||
|
**Steps:**
|
||||||
|
|
||||||
|
1. Reboot the machine
|
||||||
|
1. When it starts, force the GRUB menu to appear:
|
||||||
|
1. When GRUB appears, highlight your Linux entry
|
||||||
|
1. Press e to edit
|
||||||
|
1. Find the line starting with:
|
||||||
|
```linux /boot/vmlinuz...```
|
||||||
|
|
||||||
|
1. At the end of that line, add:
|
||||||
|
```systemd.unit=multi-user.target```
|
||||||
|
|||||||
@@ -18,3 +18,8 @@ SDDM (Simple Desktop Display Manager) is the default graphical login manager use
|
|||||||
|
|
||||||
- Replaced KDM (KDE Display Manager) starting with KDE Plasma 5.
|
- Replaced KDM (KDE Display Manager) starting with KDE Plasma 5.
|
||||||
- Used by KDE-centric distributions like KDE neon, OpenSUSE KDE, and Fedora KDE Spin.
|
- Used by KDE-centric distributions like KDE neon, OpenSUSE KDE, and Fedora KDE Spin.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# control ui login at boot
|
||||||
|
systemctl start|stop|enabled|disable sddm
|
||||||
|
``
|
||||||
|
|||||||
@@ -14,3 +14,13 @@ Compositor = Display Server + Window Manager: In Wayland, the compositor handles
|
|||||||
- [Hyprland](../window-managers/hyprland.md), Sway, river, etc.
|
- [Hyprland](../window-managers/hyprland.md), Sway, river, etc.
|
||||||
|
|
||||||
Direct rendering: Applications render their own graphics and hand them off to the compositor, reducing complexity and improving performance.
|
Direct rendering: Applications render their own graphics and hand them off to the compositor, reducing complexity and improving performance.
|
||||||
|
|
||||||
|
## misc
|
||||||
|
|
||||||
|
**Restart Kwn compositor (does not kill your session).**
|
||||||
|
|
||||||
|
Used for wake up from gpu/monitor from sleep remotely, works over ssh
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
kwin_wayland --replace &
|
||||||
|
```
|
||||||
|
|||||||
7
docs/journald.md
Normal file
7
docs/journald.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# journald
|
||||||
|
|
||||||
|
**get errors from last boot:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
journalctl -b -1 -p err
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user