xfce-extra/xfce4-power-manager-1.3.0 scans sudoers to determine if password is needed or not for suspend, and then uses sudo. This is not ideal, 1.3.1 uses pkexec and then this only requires user to be in wheel group to achive suspending - which is more optimal. There are also some other issues with 1.3.0. Please make 1.3.1 available in portage. In mean time, here is overlay with it if someone wants it: https://github.com/aucampia/aucampia-gentoo-overlay/blob/master/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.1.ebuild Reproducible: Always Steps to Reproduce: 1. Use default sudoers with only wheel line uncommented 2. Use xfce4-power-manager-1.3.0 3. Close laptop lid Actual Results: Asks for password and does not suspend Expected Results: Suspend normally 1.3.0 wants nopassword in sudoers - I'm not sure to the specifics of where though.
NOTE: the linked ebuild dropped the patch for resotring brightness from 1.3.0 as it did not apply cleanly, if I have time I will rebase it, but probbably wont have time.
1.3.1 in portage