[SOLVED] Trimming unneeded Startup processes

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Orbmiser

[SOLVED] Trimming unneeded Startup processes

Post by Orbmiser »

Curious as like to trim out not needed process to keep things slim and less resources required.

Running Cinnamon 14 and noticed in system monitor things I deselected in applets or haven't run and are showing up.

1)bluetooth-applet - Have it de-selected but shows running 12mb
2)Nemo - Not running on desktop but still taking 30mb.
Have end process and then run Nemo and seems fine why is it there booting into fresh desktop?

Don't need bluetooth I guess I could uninstall it? And don't know about Nemo and why it needs to run in background?
As end the process and then start nemo and seems to load just as fast.

Any others I can do away with? All the others look like they are needed or ones I run at startup.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
bwat47

Re: Trimming unneeded Startup processes

Post by bwat47 »

Nemo is the file manager, and runs in the background as a daemon, so it launches faster when you open the file manager. In addition nemo is what draws the desktop icons afiak.
Orbmiser

Re: Trimming unneeded Startup processes

Post by Orbmiser »

Hmmm weird draws desktop icons seems strange to me. But is what it is.
Tho I don't show desktop icons.

Almost tried to remove Bluetooth applet but didn't look right so canceled.

sudo apt-get remove gnome-bluetooth
[sudo] password for orbmiser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cinnamon gnome-bluetooth gnome-user-share mint-meta-cinnamon mint-meta-cinnamon-dvd
nemo nemo-fileroller nemo-share

0 upgraded, 0 newly installed, 8 to remove and 4 not upgraded.
After this operation, 12.8 MB disk space will be freed.
Do you want to continue [Y/n]?

Why it needs to remove things that have nothing to do with bluetooth is beyond me.

Still Learning and figuring things out as I go.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Trimming unneeded Startup processes

Post by xenopeek »

You can disable the bluetooth daemon by overriding its configuration, like so:

Code: Select all

echo manual | sudo tee -a /etc/init/bluetooth.override
After reboot you will see the bluetoothd process isn't running.

Nemo draws the desktop and regardless of you having a wallpaper or icons on your desktop, you'll have it running.
Image
Orbmiser

Re: Trimming unneeded Startup processes

Post by Orbmiser »

Thanks for that looks like it switches it to manual?
And is persistent on reboots?

A Lotsa to Learn. :shock:
.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Trimming unneeded Startup processes

Post by xenopeek »

Yup, persistent between reboots. It means it won't be started automatically, but manually (so you can start it with a command like "sudo start bluetooth"). You can also stop it once, not persistent between reboots, with "sudo stop bluetooth".

You can see status of all Upstart processes with "initctl list".
Image
Orbmiser

Re: Trimming unneeded Startup processes

Post by Orbmiser »

Thanks for the help!
.
Orbmiser

Re: Trimming unneeded Startup processes

Post by Orbmiser »

xenopeek wrote:Yup, persistent between reboots. It means it won't be started automatically, but manually (so you can start it with a command like "sudo start bluetooth"). You can also stop it once, not persistent between reboots, with "sudo stop bluetooth".

You can see status of all Upstart processes with "initctl list".
Nope doesn't seem to be so as showing there and just noticed it as forgot to check when I did the command.
And didn't check after rebooting.

echo manual | sudo tee -a /etc/init/bluetooth.override

And is back!
Screenshot.png
Also if I can disable gsd-Printer, gnome-screensaver as just have monitors dim after 30 and no printer hooked up.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Trimming unneeded Startup processes

Post by xenopeek »

How do you mean it is back? The bluetooth daemon is not back, and that is what you disabled. I thought you had already managed to remove the bluetooth applet, my mistake. The bluetooth applet and bluetooth daemon are two separate programs.

To most easily disable the bluetooth applet, run the following command first:

Code: Select all

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop
Then go to Menu -> Preferences -> Startup Applications, and you can now disable "Bluetooth Manager" in the Startup Applications (its hidden by default, and unhidden by the above command).
Image
Orbmiser

Re: Trimming unneeded Startup processes

Post by Orbmiser »

Thank you kind sir! Your a Peach! or is it a Mint? :D
And very patient person with a deep well of Linux workings.
,
Locked

Return to “Cinnamon”