:: Re: [DNG] upowerd - why does it run…
Página Inicial
Delete this message
Reply to this message
Autor: Jim Jackson
Data:  
Para: Dng
Assunto: Re: [DNG] upowerd - why does it run on a desktop



On Sat, 15 Apr 2023, Joel Roth via Dng wrote:

> Jim Jackson wrote:
> >
> > Hi all,
> >
> > just wondering is anyone knows why upowerd is needed on a non-battery
> > desktop? Nearly everything depends on it - just try to purge it!!!
> >
> > And there doesn't appear to be a clean way to deconfigure it from being
> > started by dbus - are have I missed something?
>
> Hi Jim,
>
> Heavy desktops have heavy dependencies. I would first try
> disabling it one of the dirty ways, for example,
>
> chmod a-x /etc/init.d/upowerd


:-) yep started there - but no luck there is no /etc/init.d/upowerd

The daemon is started by dbus - the executable is /usr/libexec/upowerd

> At least that way you can know if it breaks your desktop.
>
> Not all environments require it. On my system, it's only
> pulled in by xfce, which i don't actually use.
>
> for f in `apt-cache rdepends upower | grep -v upower | grep -v Reverse `;
> do dpkg -l $f 2>&1; done | grep -P '^ii'


The important ones are

ii  lxqt-powermanagement 0.16.0-1     amd64        power management module for LXQt
ii  lightdm        1.26.0-7+devuan3 amd64        simple display manager


I use a simple setup of lightdm, openbox and lxpanel

I'll make upowerd daemon unexecutable and see what happens - suspect I'll
gets lots (more) syslog messages from dbus about stuff being broken.

Just really surprized that it can't be just cleanly unconfigured out as it
appears to be unnecessary.

>
> > just curious
> > Jim
>
> --
> Joel Roth
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>