Comment 45 for bug 1222021

Revision history for this message
In , Raphgro (raphgro) wrote :

after some discussion has taken place on the mailing lists, this here seems to be more like a feature request. There are options available for the distributions and then also for the end user to work around the unwanted doubled sleep action.

As an alternative to the inhibit option, we could think about an enhancement to the GUI. It could detect that systemd is about handling the switches on a system wide base (generally, only the root user can modify logind.conf while xfpm can have individual settings for each user). When systemd doesn't prevent power management, there should be an hint to the user about that. When the user has chosen "nothing" as the individual action, this doesn't mean systemd cares. The user could get confused in both ways, because there are two independent configurations (root and user). Automated inhibit wouldn't make that less complicated.

I suggest to add a systemd option to all those action handler lists in the settings dialogs.

For instance, there is a hint already that not enough swap space is available for hibernation. Another hint could also warn about systemd. Improving the user interface make more sense than implementing some magical code behind the possibilites of a not so experienced user.

What do you think?