Skip to content

Commit

Permalink
fix xfce4 power manager unable to suspend the system on laptop lid cl…
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Jul 24, 2022
1 parent f5d14fc commit 76d87e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
- packages: install yt-dlp from [debian backports](https://packages.debian.org/bullseye-backports/yt-dlp) instead of [third-party](https://nodiscc.gitlab.io/toolbox/) repository

### Fixed

- fix boot in legacy BIOS mode (`Failed to load COM32 file vesamenu.c32`)
- fix unattended-upgrades configuration (automatically update packages from Debian Backports)
- fix xfce4 power manager unable to suspend the system on laptop lid close/low battery


## [v3.0.0](https://gitlab.com/nodiscc/dlc/releases/tag/3.0.0) - 2021-10-28

Expand Down
6 changes: 6 additions & 0 deletions config/includes.chroot/etc/polkit-1/rules.d/85-suspend.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.login1.suspend" &&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});

0 comments on commit 76d87e7

Please sign in to comment.