:: Re: [DNG] upowerd - why does it run…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Joel Roth
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] upowerd - why does it run on a desktop
On Sun, Apr 16, 2023 at 11:13:47AM +1000, onefang wrote:
> On 2023-04-15 22:36:21, Jim Jackson wrote:
> >
> >
> >
> > 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'm using lxdm, openbox, and lxpanel on Chimaera. upower isn't
> installed, nor lxqt-powermanagement. I turn off the automatic install of
> recommends.


cat /etc/apt/apt.conf.d/40nosuggestrecommends # any name will do

Apt::Install-Suggests false;
Apt::Install-Recommends false;

--
Joel Roth