[SOLVED] Trimming unneeded Startup processes

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

[SOLVED] Trimming unneeded Startup processes

Postby Orbmiser on Tue Dec 11, 2012 6:16 pm

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 Orbmiser on Sat Dec 15, 2012 8:43 pm, edited 2 times in total.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Linux Mint is funded by ads and donations.
 

Re: Trimming unneeded Startup processes

Postby bwat47 on Wed Dec 12, 2012 2:06 am

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.
bwat47
Level 2
Level 2
 
Posts: 63
Joined: Sun May 01, 2011 1:31 am

Re: Trimming unneeded Startup processes

Postby Orbmiser on Wed Dec 12, 2012 6:55 am

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
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: Trimming unneeded Startup processes

Postby xenopeek on Wed Dec 12, 2012 7:09 am

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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14730
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Trimming unneeded Startup processes

Postby Orbmiser on Wed Dec 12, 2012 7:17 am

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

A Lotsa to Learn. :shock:
.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: Trimming unneeded Startup processes

Postby xenopeek on Wed Dec 12, 2012 7:24 am

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".
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14730
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Trimming unneeded Startup processes

Postby Orbmiser on Wed Dec 12, 2012 2:44 pm

Thanks for the help!
.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: Trimming unneeded Startup processes

Postby Orbmiser on Thu Dec 13, 2012 10:48 pm

Vincent Vermeulen 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
Screenshot.png (23.16 KiB) Viewed 735 times


Also if I can disable gsd-Printer, gnome-screensaver as just have monitors dim after 30 and no printer hooked up.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: Trimming unneeded Startup processes

Postby xenopeek on Fri Dec 14, 2012 4:44 am

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).
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14730
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Trimming unneeded Startup processes

Postby Orbmiser on Fri Dec 14, 2012 4:52 am

Thank you kind sir! Your a Peach! or is it a Mint? :D
And very patient person with a deep well of Linux workings.
,
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 9 guests