This change has broken other things (power button now shuts down
instead of giving dialog, closing lid invokes screenlock, probably
others).
It looks like the change in usr/share/acpi-support/policy-funcs is
incorrect.
Specifically:
serverpid=$(pgrep -n -u $XUSER "$PROC_NAME")
is not working as expected. This is returning no matching processes
on my system:
# pgrep -n -u stuartb gnome-settings-daemon
#
However:
# pgrep -n -u stuartb gnome-settings-
3824
# pgrep -u stuartb -l gnome
3747 gnome-keyring-d
3765 gnome-session
3824 gnome-settings-
3879 gnome-panel
3900 gnome-sound-app
3902 polkit-gnome-au
3910 gnome-screensav
3913 gnome-fallback-
#
Looks like pgrep only matches 15 characters of the process name and is
not a good replacement for pidof.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]