From a824c6147d5eb113587d8dcc47f3942a0211cb72 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Wed, 5 Nov 2025 17:12:19 +0400 Subject: docs(README.md): troubleshoot OOM error in slock --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 46ee2ed..1e333a4 100644 --- a/README.md +++ b/README.md @@ -75,5 +75,10 @@ note: Some distros require installing `-devel` or `-dev` variants - Refer to [my dwm build man page](https://git.farajli.net/dwm.git/tree/dwm.1) for keybinds. # Troubleshooting +- slock gives OOM error, to fix it just run: + ``` bash + sudo chown root:root $(which slock) + sudo chmod u+s $(which slock) + ``` - brightnessctl can require privileged user to function, to solve it refer to [brightnessctl page](https://github.com/Hummer12007/brightnessctl#Permissions). - pulseaudio sometimes doesn't start automatically to start it manually run `pulseaudio --start`. -- cgit v1.2.3