systemd – start service when you enable it

More often than not for any service, I end up doing :

systemctl enable <service>
systemctl start <service>

But there is shorcut to this. In systemctl command when you enable the service, you can use “–now” to start the service as follows:

systemctl enable --now <service>

quite a timesaver 🙂

Some nice fonts in Fedora for coding

Here is link to fedoramagazine article on this:

6 great monospaced fonts for code and terminal in Fedora

And what the article does not mention is how to install these from terminal. You can use the following command to install them all

sudo dnf install levien-inconsolata-fonts.noarch \
adobe-source-code-pro-fonts.noarch mozilla-fira-fonts-common.noarch \
 mozilla-fira-sans-fonts.noarch google-droid-sans-fonts.noarch \
 google-droid-sans-mono-fonts.noarch nethack-bitmap-fonts.noarch \ 
nethack-bitmap-fonts-core.noarch

 

tlp – optimize and maximize your battery power.

So, you are having issues with battery life on linux. Then head over to tlp project.

TLP brings you the benefits of advanced power management for Linux
without the need to understand every technical detail. TLP comes
with a default configuration already optimized for battery life.
Also an optional install of the smartmontools package enables hard
disk SMART data in tlp-stat (smartctl).

Install with following command

 

dnf install tlp
#or
yum install tlp