The officially official Devuan Forum!

You are not logged in.

#1 2022-01-18 16:46:08

MLEvD
Member
Registered: 2021-02-14
Posts: 141  

How to disable nm-applet and cinnamon screensaver?

Using minty base for devuan, installed devuan cinnamon to avoid a lot of mint dependancies, shocked to find that devuan cinnamon demands network-manager!

Asking for a friend with little ram.

Offline

#2 2022-01-18 18:01:12

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: How to disable nm-applet and cinnamon screensaver?

Cinnamon seems a bizarre choice for a low RAM desktop but anyway...

Stop the network-manager service and prevent it from starting at boot:

sudo /etc/init.d/network-manager stop
sudo update-rc.d network-manager disable

Copy the various .desktop files for the screensaver & nm-applet to "$HOME":

cp /etc/xdg/autostart/{cinnamon-settings-daemon-screensaver-proxy,nm-applet}.desktop /usr/share/applications/cinnamon-screensaver.desktop ~/.config/autostart

Disable autostart by adding 'Hidden=true' to the end of all .desktop files in "$HOME" (do this manually if you already have autostart files there that you don't want to disable):

for i in ~/.config/autostart/*.desktop ; do echo 'Hidden=true' >> "$i" ; done

Then log out & back in again.


Brianna Ghey — Rest In Power

Offline

#3 2022-01-19 10:07:31

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: How to disable nm-applet and cinnamon screensaver?

btw, i don't think running cinnamon-core "demands" network-manager.. some metapackage could, but you can run any DE without metapackages and keep it simpler / to your needs.
so, you can probably use another network manager (connman?) and purge anything network-manager related..

Offline

#4 2022-01-19 15:39:18

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: How to disable nm-applet and cinnamon screensaver?

The cinnamon-core metapackge does pull in network-manager even if --no-install-recommends is passed, which is annoying.

EDIT: actually this works:

# apt install network-manager- connman

I presume cinnamon-core has a networking virtual package dependency which is also satisfied by connman. Still stupid though because ifupdown can handle networking just fine without needing any extra packages.

Last edited by Head_on_a_Stick (2022-01-19 15:55:41)


Brianna Ghey — Rest In Power

Offline

Board footer