diff --git a/src/content/docs/en/i-i/03.troubleshooting.md b/src/content/docs/en/i-i/03.troubleshooting.md index ded68f7..4bfd24f 100644 --- a/src/content/docs/en/i-i/03.troubleshooting.md +++ b/src/content/docs/en/i-i/03.troubleshooting.md @@ -59,3 +59,14 @@ sudo mv /usr/local/lib/libgvc.so /tmp/ ### Other errors Delete `./cache/ags` and install it again. +## `loginctl lock-session` does nothing +> Reference: [end-4/dots-hyprland#278](https://github.com/end-4/dots-hyprland/issues/278) + +According to [this post on Arch Linux Forums](https://bbs.archlinux.org/viewtopic.php?pid=1311990#p1311990): +> Something needs to listen to systemd-logind's dbus signals for this to work. + +Hypridle is capable to be this "thing", which means you should ensure that it is running, +and then `loginctl lock-session` will send signal to hypridle, +as a result hypridle will lock the screen by executing the `$lock_cmd` defined in its config `~/.config/hypr/hypridle.conf`. + +See [Hyprland Wiki](https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/#configuration) for more. diff --git a/src/content/docs/vi/i-i/03.troubleshooting.md b/src/content/docs/vi/i-i/03.troubleshooting.md index eb02a8c..f56f24b 100644 --- a/src/content/docs/vi/i-i/03.troubleshooting.md +++ b/src/content/docs/vi/i-i/03.troubleshooting.md @@ -2,6 +2,9 @@ title: Chẩn đoán layout: /src/layouts/autonum.astro --- +:::caution[l10n-notify] +Bản dịch này đã cũ và cần được cập nhật. Bản gốc (tiếng Anh) được sửa lần cuối vào: 2024-02-23 +::: # Gợi ý diff --git a/src/content/docs/zh-cn/i-i/03.troubleshooting.md b/src/content/docs/zh-cn/i-i/03.troubleshooting.md index 78d3006..5bd0269 100644 --- a/src/content/docs/zh-cn/i-i/03.troubleshooting.md +++ b/src/content/docs/zh-cn/i-i/03.troubleshooting.md @@ -2,6 +2,9 @@ title: 解决问题 layout: /src/layouts/autonum.astro --- +:::caution[l10n-notify] +此页面的翻译已过时。其英语原文的最新版本的时间是:2024-02-23 +::: # 提示