-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual configuration used to disable display on clamshell breaks hyprlock #480
Comments
Hypridle configgeneral {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restore.
}
listener {
timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 310 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} I decided to post my hypridle config too if it helps. |
|
@PaideiaDilemma I am using aquamarine 0.4.0 even tried hyprland-git which just gave me an error screen instead of a red screen, not sure how to set up the monitor=FALLBACK thing. I can't even find documentation on that anywhere. |
Please add this line and let us know if that fixed it.
Are you sure about that??? I am not sure if it is on Fedora 40 yet. |
I added it like this monitor=FALLBACK,1920x1080@60,auto,1
monitor=eDP-1, 1920x1080, 0x0, 1.2
monitor=HDMI-A-1, 1920x1080@60, -1920x-600, 1
# LAPTOP LID STUFF
bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1.2" And it did nothing. I just assumed you needed to set FALLBACK somehow to be a specific display, but now I assume it just creates some kind of false display? Anyway, red screen again.
yes that is the version of aquamarine provided by the copr https://copr.fedorainfracloud.org/coprs/solopasha/hyprland and the version that appears when i use |
Then you have a different issue. |
Just compiled and tried it. Same thing unfortunately. I don't mind building a debug version of it however I don't know where the logs are located EDIT: ok found a way to do it and got a log |
Can you try to get a debug trace?? |
that log I got was with the debug build. If you can explain to me how to do that I will. |
You reproduce the crash with the debug build and then use |
Regression?
No
Hyprlock Info and Version
v0.4.1
Hyprlock config
Compositor Info and Version
System/Version info
Description
This issue is a continuation from hyprland hyprwm/Hyprland#7629
my configuration used to disable the display when the lid closes ends up breaking hyprlock, I don't think any input other than the mouse is being registered.
How to reproduce
At this point the only way i have found to recover the system is using TTY to kill hyprland,
loginctl unlocksession X
does not seem to work.Crash reports, logs, images, videos
after testing it I found the screen turns red regardless of if you use a screenshot or a path to an image.
The text was updated successfully, but these errors were encountered: