Skip to content

Commit

Permalink
Add loginctl lock-session troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
clsty committed Feb 23, 2024
1 parent 983cc9e commit 44dbba6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/content/docs/en/i-i/03.troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 3 additions & 0 deletions src/content/docs/vi/i-i/03.troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ý

Expand Down
3 changes: 3 additions & 0 deletions src/content/docs/zh-cn/i-i/03.troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: 解决问题
layout: /src/layouts/autonum.astro
---
:::caution[l10n-notify]
此页面的翻译已过时。其英语原文的最新版本的时间是:2024-02-23
:::

# 提示

Expand Down

0 comments on commit 44dbba6

Please sign in to comment.