flatpak – get latest libreoffice

flatpak is tool similar to 0install. You can find more details here.

# Get the gnome-sdk gpg keys
wget https://sdk.gnome.org/keys/gnome-sdk.gpg
# Add the keys to trusted keys
flatpak remote-add --user --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/

# Install pre-requisite gnome
flatpak install --user gnome org.gnome.Platform 3.20

# Download the flatpak file and install it. Or you can follow the next step.
wget 'http://download.documentfoundation.org/libreoffice/flatpak/latest/LibreOffice.flatpak'
flatpak install --user --bundle LibreOffice.flatpak

# Install flatpak without downloading
flatpak install --user gnome org.gnome.Platform.Locale 3.20

# Run you brand new shiny latest libreoffice
flatpak run org.libreoffice.LibreOffice

# At a later date, when you want to update libreoffice.
flatpak update --user org.libreoffice.LibreOffice

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