One good thing about using Linux is it allows you more control over what's running on your system. I'm not going to tell you what to disable but will tell you how you can figure out what you dont need. This guide assumes you're running a Linux distribution with the systemd init system, such as Ubuntu, Manjaro, or Debian. If in doubt whether or not you're using the it, you could google it. Though a lot of Linux distributions use it nowadays.
To get a list of services you have running open a terminal and type the systemctl command by itself, this will show you a list of services that are running. Scroll down until you see the enteries that end in .service with the page up and down keys, those are the ones to pay attention to because systemctl shows more than the services.
an example of running services |
Look up each service and then decide whether or not you need it. If you're not using bluetooth, you can safely disable the bluetooth.service, for example.
You can disable the bluetooth service by typing sudo systemctl disable bluetooth.service, then reboot the system. (you can even type reboot where you are in the terminal if you're too lazy to go into the menu of your DE)
If you want that service back, you can get it back again by typing sudo systemctl enable bluetooth.service.
You can verify whether or not the service isnt running anymore by typing systemctl again and scrolling through you like you did before.
If you dont understand what a service does, it's not a good idea to disable it. If you want to figure out what each service does, type the service name into google maybe with some context like your Linux distribution or the word linux. For example if i wanted to know what the bluetooth.service is a good search term would be "bluetooth.service manjaro linux systemd" or something like that. Keep trying different terms until you find the information you're looking for.
If you want to save some disk space you can even remove the packages in question, though be careful because something else might be dependent on that software. So when in doubt, dont. Though the less packages you have the better because that means you dont need to update so much stuff which saves you time when updating your system.
Having less stuff running on your system makes your computer faster and also makes things more secure because it reduces your attack surface, especially if the software is network related. An example of this is the avahi daemon which is something to do with printers and cups which is also to do with network printers if I recall correctly.
If you want even more control over your system you could try Arch Linux or Gentoo. Though those are more involved than a just works distribution like Ubuntu or Manjaro.
No comments:
Post a Comment