Comment 40 for bug 1222021

Revision history for this message
In , nirik (kevin-scrye) wrote :

(In reply to comment #1)
> Kevin,
> is it maybe possible to inhibit systemd by a script snippet via xinitrc that
> calls startxfce4? I guess strongly this should be only a configuration issue.

Yes, but this means that it inhibits it for the entire session.

So, if for example, you don't have xfce4-power-manager installed, or running, nothing at all will handle the buttons and they won't work.

It seems cleaner to me to have xfce4-power-manager do this itself, and drop the inhibit on exit.

Of course it may not be easy to implement, so short term we may want to go with a session wide inhibit in xfce4-session (thus the other bug).