How To Enable Automatic Login To Kodi On Linux

Setting up a traditional Linux desktop environment to automatically launch Kodi is a lot better than using the special Kodi session that comes with the software. Enabling automatic login to Kodi has its benefits; for starters, you’re not stuck with just using Kodi. Want to browse the web? Simply minimize the media center and come back to it later.

Install XFCE4

If you’re looking to set up a media center computer with a traditional Linux distribution, you’ll need a desktop environment to start with. Generally, XFCE4 is a great choice as it’s lightweight, yet not too lightweight to the point where it has graphical issues.

Not using a Linux distribution with XFCE installed? You’ll need to manually install it and configure it. To do this, open up a terminal window and enter the commands that correspond with your Linux distribution.

Ubuntu

Ubuntu has several spins, including an XFCE one. For the best experience, it’s best to install the meta package for Xubuntu. This will convert a normal Ubuntu installation into a Xubuntu one.

sudo apt install xubuntu-desktop

Installing the Xubuntu desktop meta package will no doubt take awhile as there are many programs and configuration files to grab. Please be patient.

Not interested in using Xubuntu? Don’t worry, if you prefer a vanilla XFCE setup for your Kodi PC, try out this installation command instead:

sudo apt install xfce4*

Running this command will install all available XFCE4 packages in the Ubuntu repo without the need to specify every package.

Debian

Debian chooses XFCE4 as one of its main desktop environments for ISO releases, so there’s a good chance you may already be using it. However, if your Debian Kodi setup is using another desktop environment, you’ll need to manually install XFCE4. Do this in the package manager with apt.

sudo apt install xfce4*

Arch Linux

Arch users can quickly install the XFCE4 desktop environment by getting the XFCE4 meta package.

sudo pacman -S xfce4

Fedora

If you’re building a Fedora-powered Kodi PC, it’s a good idea to grab the Fedora XFCE4 spin as a starting point. If not, use this command to install a complete environment on Fedora Linux.

sudo dnf install @xfce-desktop-environment

OpenSUSE

OpenSUSE mainly lets users go with Gnome Shell or KDE 5, so the chances that XFCE4 is installed aren’t great. As a result, you’ll need to get it manually. Open up a terminal and use the Zypper package manager to get it working.

sudo zypper -n in patterns-openSUSE-xfce

Other Linuxes

XFCE4 is one of the most popular lightweight desktop environments in all of Linux. There shouldn’t be any trouble finding it on even the most obscure of Linux distributions. To install it, just search “XFCE4” in the package manager. Alternatively, check out the official website to learn how to get it.

Autostarting Kodi

The first step in automatically starting Kodi is logging into your new XFCE4 installation. Click “log out” in your current desktop environment to go to the login screen. On the login screen, look for “session,”  and click on it. Under the sessions menu, look for “XFCE,” “XFCE4,” “Xubuntu,” etc.

Now that the new session is selected, click on your username and login. If the XFCE4 desktop environment was installed on your Linux PC correctly, you’ll be able to use XFCE4.

Inside XFCE, look for “settings” and open it. Inside the settings area, find “Sessions and Startup” and select it.

The Sessions and Startup area allows users to modify what programs automatically launch when the XFCE desktop starts. To ensure that Kodi does this when the PC is logged in, select the “Application Autostart” tab in the Sessions and Startup area.

To add Kodi as a startup entry for XFCE, click the “Add” button. Clicking “Add” brings up a blank “Add application” window. In this window, fill out “Kodi” under the name section, “Kodi Autostart” under description, and “kodi” in the command area. When everything looks good, select “OK” to add it.

Restart your Linux PC. Next time you log into XFCE4 Kodi will launch right away!

Other Desktop Environments

If you’re not a fan of XFCE4 but still want to set up your Linux PC to automatically start Kodi, there’s a way. It starts off by opening up a terminal window. In the terminal, use the CD command to move to /usr/share/applications.

cd /usr/share/applications

From here, use the mkdir command to create the autostart directory.

Note: if you already have an autostart folder the command will fail.

mkdir ~/.config/autostart

Next, use the ls command to find the Kodi Media Center shortcut filename.

ls | grep kodi

Running ls with grep should reveal the name of the Kodi desktop shortcut. To finish up, copy this file to your ~/.config/autostart folder.

cp kodi.desktop ~/.config/autostart

Read How To Enable Automatic Login To Kodi On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Access Your pCloud Drive On Linux

Value your privacy but need to get your data in the cloud? Check out pCloud! pCloud drive is a Dropbox-like Cloud storage service for Linux (and other operating systems) that puts privacy first and has impressive encryption technology, which is very welcome to the Linux community.

pCloud isn’t as well known as a lot of other services, and as a result, not many Linux users know how to get it going. That’s why in this guide we’ll go over how to access your pCloud drive on Linux.

Note: to use pCloud, you must be able to run BIN files with your user account.

Install pCloud

Getting the pCloud drive app on Linux is a little different than other cloud storage providers. Instead of getting a Debian package, Redhat RPM file, or a Tarball archive, you’re given a single binary file. This is good because it enables all Linux distributions to use it, though it means that nothing is actually installed. Instead, pCloud just runs as a file without installing.

To get pCloud, you first need to create a user account. Head over to the website and sign up. Note that pCloud has both premium and free storage. If you’d like more storage, upgrade your account to one of the premium options. Otherwise, create your free account and claim 10 GB free.

When your account is activated, find the download button and click it. Look for the Ubuntu logo and click it. This will bring you to the Linux download page. Select either 32-bit or 64-bit, then download the file. Then, open up a terminal window and use it to get pCloud setup.

As mentioned before, pCloud is a binary (aka BIN) file. On Linux, BIN files act similar to EXE files on Windows. To launch these files, you first need to update the permissions. Use the chmod command in the terminal to allow the pCloud BIN file to run as a program.

cd ~/Downloads
chmod +x pcloud

With the pCloud BIN file set to proper permissions, it’ll run. However, running this file in the ~/Downloads directory is a very bad idea, as users often delete files from here without thinking. Instead, use the mkdir command to create a special folder for pCloud.

mkdir -p ~/bin-files/

Move the pCloud binary from your ~/Downloads folder to the new bin-files directory in Home.

mv pcloud ~/bin-files/

From here, it’s safe to launch the pCloud app through a terminal, for setup purposes. Launch the app with the following command:

cd ~/bin-files/

./pcloud

Before pCloud starts, you will be prompted to log into your account. Enter your sign in details, or click the “Continue with Facebook” button to access the app. With a successful sign-in, the pCloud app will start up, create a new pCloud folder in ~/, and open it in your default file manager.

We can confirm the app works, but it’s not ready for use, as we need to create a new desktop shortcut.

To create a new desktop shortcut for pCloud, you first need to close the app. Quickly quit pCloud by clicking “exit” on the icon to close it. Then return to the terminal window and use the touch command to make a new pCloud shortcut file.

touch ~/Desktop/pcloud.desktop

Using touch creates a blank shortcut. Next, it’s time to edit the shortcut with Nano.

Note: when running pCloud, it may create its own shortcut. However, this shortcut doesn’t always work so we recommend making your own instead.

nano ~/Desktop/pcloud.desktop

Inside the Nano text editor, paste the following code. Be sure to change “username” to your PC’s username.

[Desktop Entry]
Type=Application
Name=pCloud
Exec=/home/username/bin-files/pcloud
Icon=/home/username/bin-files/pcloud-icon.png
Terminal=false
Categories=Network;System;
StartupNotify=false

Save the editor by pressing the Ctrl + O keyboard combo, and exit with Ctrl + X. Then, use the wget download tool to get the icon for your shortcut.

cd ~/bin-files/

wget https://i.imgur.com/8Ti5LJg.png -O pcloud-icon.png

With the icon file downloaded, update the permissions of the shortcut.

sudo chmod +x ~/Desktop/pcloud.desktop

After running chmod, pCloud will run directly from the desktop. Run it by double-clicking on the shortcut.

Install Shortcut

The pCloud desktop shortcut is ready and works but it’s not showing up in the application launcher menu. To solve this problem, you need to manually copy the shortcut to /usr/share/applications. In the terminal, run the following command to copy the pCloud shortcut from ~/Desktop to the app directory.

sudo cp ~/Desktop/pcloud.desktop /usr/share/applications/

If the cp command is successful, pCloud should show up in your application menu like any other application.

Using pCloud Drive

Using pCloud on Linux works much like other cloud storage syncing tools (Dropbox, etc) on Linux. To upload files to your account, open up the file manager. Select the “pCloud” folder and open it. In this folder, place any documents, image files, audio files, video files inside. As you place the files in this directory, the pCloud app running in the background will automatically upload them to your account online.

Need to delete a file? Delete it from the ~/pCloud folder and it will de-sync from the cloud.

Read How To Access Your pCloud Drive On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Install SuperTuxKart On Linux

There are many excellent free games on Linux. One of the best ones out there is SuperTuxKart. It’s a cartoonish kart racing game similar to games like Mario Kart. The game is completely free, and open source. Best of all, it’s available for installation on the Linux platform completely free! In this guide, we’ll go over exactly how to get it working on your distribution of choice.

Ubuntu

Ubuntu users looking to play SuperTuxKart can find it in the Software Center. To install it, open up the Ubuntu Software Center and search for “Super Tux Kart”. It’ll show up in the search results. Click on it in the search results to go to the game’s installation page. Once there, click “Install”. Selecting the “Install” button will automatically bring up an “enter password” prompt. Enter your username’s password and the installation will begin.

Note: if you can’t find “Super Tux Kart” in the software center, you’ll need to enable the Ubuntu Universe repository. Search for “Software & updates” in the dash and enable it in the “repositories” section, or follow the command instructions below.

Alternatively, it’s possible to install SuperTuxKart on Ubuntu via the apt command. To start the installation via the command line, open up a terminal and enter the following commands.

First, enable the Universe repository, where the game is hosted.

sudo add-apt-repository universe

Next, update Ubuntu so that the Universe repository is accessible to the system.

sudo apt update

After running the update, install any upgrades to ensure your Ubuntu PC is up to date.

sudo apt upgrade -y

Lastly, install SuperTuxKart with:

sudo apt install supertuxkart

Debian

On Debian and interested in playing SuperTuxKart? Lucky for you, all Debian versions support it. There is no need to enable alternative software repositories. To get the game, open up a terminal and use the apt-get command to install the game.

sudo apt-get install supertuxkart

Arch Linux

Arch Linux is known for having very up to date programs. As a result, those looking to play SuperTuxKart will be happy to know that Arch has a very recent version of the game, complete with new levels, characters and etc. To install it, be sure that you’ve enabled the Community software source inside of /etc/pacman.conf. Once enabled, refresh the repos and install the game!

sudo pacman -Syy

sudo pacman -S supertuxkart

Fedora

Fedora isn’t known for video games, as it’s more of a “Workstation” distribution. Despite this, it’s possible to install a fairly recent version of the game. Like Arch Linux and Debian, Fedora users won’t need to enable any software repositories. Instead, open up Gnome Software, search for “Super Tux Kart”, and click the “install” button to get going.

Alternatively, open up a terminal and use the DNF package management tool to install it:

sudo dnf install supertuxkart -y

OpenSUSE

All versions of OpenSUSE have recent versions of SuperTuxKart available. Unfortunately, you’ll need to enable a third-party repo to get the latest version working.

Leap 15.0

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Leap_15.0/ opensuse-games

sudo zypper in supertuxkart

Leap 42.3

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Leap_42.3/ opensuse-games

sudo zypper in supertuxkart

Tumbleweed

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Tumbleweed/ opensuse-games

sudo zypper in supertuxkart

Generic Instructions

Many Linux distributions have support for SuperTuxKart, as it’s a great way to bring games to their operating system. Still, if you find yourself on a Linux distro that doesn’t have an immediate way of installing the latest version of the game, there’s another way to get it.  Open up a terminal and use the Wget tool to download the game files.

wget https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.3/supertuxkart-0.9.3-linux.tar.xz/download -O supertuxkart-0.9.3-linux.tar.xz

This is a large game, so wget is going to run for a while. When it completes, move the compressed archive to /home/username/. Keeping extracted game files in ~/Downloads is a great way to accidentally delete them!

mv supertuxkart-0.9.3-linux.tar.xz ~/

Once the game files are in your Home directory, it’s safe to extract the contents of the archive. Using the Tar command, begin the extraction.

tar -xvJf supertuxkart-0.9.3-linux.tar.xz

Next, use the cp command to move the included shortcut to the Desktop.

cp ~/supertuxkart-0.9.3-linux/data/supertuxkart.desktop ~/Desktop

Edit the shortcut with Nano.

nano ~/Desktop/supertuxkart.desktop

Find “Exec=supertuxkart”, and change it to the following.

Note: be sure to change “username” to your PC’s username.

Exec=sh /home/username/supertuxkart-0.9.3-linux/run_game.sh

Save the edits with Ctrl + O, and exit Nano with Ctrl + X.

Install To App Menu

Looking to get SuperTuxKart on your desktop environment’s application menu? Do the following:

cd ~/Desktop
sudo chmod +x supertuxkart.desktop
sudo cp supertuxkart.desktop /usr/share/applications/

Read How To Install SuperTuxKart On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Install Calligra Office Suite On Linux

If you’re on Linux and you want a more substantial office suite than Libre Office has to offer, Calligra Office Suite is the answer. It’s a fully-featured Office/Graphical design suite, with excellent tools for many different tasks.

Calligra comes with a lot of different apps, like Words for documents, the Karbon vector graphics tool, a database editor, presentation maker, a tool for spreadsheets, and more.

Install Calligra Office Suite

To install the Calligra Office suite, you need to be running Ubuntu, Debian, Arch Linux, Fedora, OpenSUSE, Gentoo or a Linux distribution that has access to the latest KDE Plasma packages and tools.

Ubuntu

Calligra is readily available for installation on the Ubuntu Linux operating system through traditional methods. To get it, open up Ubuntu Software Center or KDE Discover, search for “Calligra” and install it. Alternatively, go to a terminal window and enter the following command to get it going.

sudo apt install calligra

Calligra Unstable

For most people on Ubuntu, the version of Calligra that comes in the software center is good enough. However, if you can’t wait for new features, this version probably isn’t good enough. Luckily, it’s very easy to get a more up to date version of Calligra on Ubuntu through a PPA.

The unstable Calligra PPA is usually reserved for KDE Neon, a Linux distribution that uses Ubuntu as a base. That said, any Ubuntu user can use this PPA to get a newer version of Calligra Office just fine. To add the PPA, open up a terminal and do the following command:

sudo add-apt-repository ppa:neon/ppa

After adding the Neon PPA to Ubuntu, you need to run the update command on Ubuntu. Doing this will refresh your PC’s package cache, and allow Ubuntu to see newer versions of software in its sources.

sudo apt update

Using this PPA on Ubuntu requires the user to install a few KDE Neon tools. Installing these tools are critical and will help the Calligra Office tool run correctly. Install the KDE Neon tools to your PC with apt.

sudo apt-get install project-neon-base

The Project Neon base package installation may take a bit of time, so be patient. When it completes, install the unstable version of Calligra to finish out the process.

sudo apt install project-neon-calligra project-neon-calligra-dbg

When everything finishes installing, log out of your current Ubuntu session. At the login menu, choose the “Project Neon” option and log back in to run Calligra unstable.

Debian

Debian users can access a stable version of Calligra on Debian 9 Stretch (Stable). To install it, open up the terminal and use the apt-get commands to get it going.

sudo apt-get install calligra

Calligra Unstable

Most Debian users can use Calligra, but the version of it in Debian 9 is a bit dated. An alternative is to install the unstable version by enabling the Testing repo in Debian.

Note: only enable Testing in Debian if you understand how to fix things that go wrong!

To start off, enable Testing in your /etc/apt/sources.list file.

su -
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list

Next, run the update command so that Debian can access the new testing Repo.

sudo apt-get update

After running the update, uninstall Calligra from Debian, as you’re using the old packages.

sudo apt-get remove calligra

Lastly, install the newer version of Calligra:

sudo apt-get -t testing install calligra

Arch Linux

Arch Linux is known for always having up to date software and it has a very current version of the Calligra office suite in its software sources. To get it on your Arch PC, simply use the Pacman package manager to sync it.

sudo pacman -S calligra

Alternatively, if you’re having problems with the main Calligra package, there are versions of the office suite in the Arch Linux AUR available for compilation.

Fedora

Fedora, like Arch Linux, is very up to date. It regularly receives the latest packages, so getting a fairly recent version of Calligra doesn’t take any hard work at all. To install, open up a terminal and use DNF to install the software.

sudo dnf install calligra -y

OpenSUSE

On OpenSUSE, getting a newer version of Calligra is a little harder due to the fact that certain versions of the OS don’t center around new software. Instead, the focus is rock-solid stability, and that means sometimes programs aren’t as recent. To get a new version of Calligra on OpenSUSE Leap, add the following software repository:

Leap 15.0

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_15.0/ opensuse-kde-extra

Leap 42.3

sudo  zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_42.3/ opensuse-kde-extra

Next, install Calligra with:

sudo zypper install calligra

Tumbleweed

OpenSUSE is a unique OS in that one version of its distribution (LEAP) focuses on stability, while another version focuses on the absolute latest software. If you’re an OpenSUSE Tumbleweed user, getting an up to date version of Calligra should be no problem with Zypper.

sudo zypper install calligra

Other Linuxes

Calligra is the official Office Suite for the KDE Plasma desktop. As a result, you can find it pretty much everywhere. If you’re interested in installing Calligra, but you can’t find the instructions related to your distribution, consider checking Pkgs.org. Alternatively, read the website, as they may have information specific to you.

Read How To Install Calligra Office Suite On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Install The Papirus Icon Theme On Linux

There are a lot of material design GTK themes out there, but what about a material inspired icon theme? Introducing the Papirus icon theme! It’s an icon theme that takes heavy inspiration from Google’s material design guidelines and makes Linux desktop environments look nice and modern.

For best results, consider pairing the Papirus icon theme with the Adapta GTK theme.

Ubuntu

Ubuntu users can easily install the Papirus icon theme on their system thanks to there being a PPA software repository available. This PPA has support for all modern versions of Ubuntu. Even if you’re not using 18.04, as long as your version is still receiving updates, chances are it will work.

To install this PPA, open up a terminal and enter the following command:

sudo add-apt-repository ppa:papirus/papirus

The add-apt-repository command will instantly take the Papirus software source and add it to Ubuntu. However, even though the software source is now on Ubuntu, that doesn’t mean Papirus can install. Before continuing, we’ll need to refresh Ubuntu’s software sources, so that Papirus can be seen by the package manager.

sudo apt update

After running the apt update command, system upgrades will appear most likely. It’s imperative to install these software upgrades, as they could affect how icons are rendered on your Linux PC. It’s also just a good idea to keep your system up to date. Install upgrades with the apt upgrade command.

sudo apt upgrade -y

With all upgrades installed on Ubuntu, it’s safe to get the latest version of the Papirus icon theme. Install it with the command below:

sudo apt install papirus-icon-theme

Debian

Debian, like Ubuntu, enjoys some decent support for the Papirus icon theme. To get it going, you’re going to need to add a third party software source. However, it should be noted that this software source isn’t an official Debian one. Instead, it’s for Ubuntu Xenial (aka 16.04). Going this route usually works on Debian Stable, however, on other versions of Debian, you may run into issues. If this method doesn’t work for you, follow the generic instructions for Papirus instead.

First, add the software source to Debian’s sources folder. In this instance, instead of adding it to the main /etc/apt/sources.list file, we’ll create a separate one. Using the echo command, write the new repo to Debian:

sudo sh -c "echo 'deb http://ppa.launchpad.net/papirus/papirus/ubuntu xenial main' > /etc/apt/sources.list.d/papirus-ppa.list"

Next, download and activate the Papirus software source’s GPG key. Don’t skip this step! Setting up the Papirus software source on Debian without a key will cause errors!

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com E58A9D36647CAE7F

The GPG and software source are in place. Now it’s time to refresh Debian’s software sources, so the Apt package manager sees Papirus.

sudo apt-get update

Updating Debian may yield some software updates. Install them before continuing, by using the apt-get upgrade command.

sudo apt-get upgrade -y

Finally, install the Papirus icon theme to your Debian Linux PC with the following command:

sudo apt-get install papirus-icon-theme

Arc Linux

Unlike a lot of other Linux distributions, Arch Linux actually has the Papirus icon theme in the main software sources. To install it, open up a terminal and use the Pacman package manager to sync the latest package to your system.

sudo pacman -S papirus-icon-theme

Fedora

Fedora users can install Papirus via a third-party Copr repository. To enable this Copr repo, open up a terminal and use the DNF package tool.

Note: if the Copr repo doesn’t work for you on Fedora, consider using the generic instructions instead.

sudo dnf copr enable dirkdavidis/papirus-icon-theme

After enabling the Papirus Copr repo, it’s safe to install it to the system with DNF:

sudo dnf install papirus-icon-theme

OpenSUSE

The Papirus icon theme is available for all OpenSUSE users, both Leap and Tumbleweed, thanks to it being uploaded to the OBS. To get it, follow this link and click the “install” button next to your version of SUSE. Selecting the “Direct Install” button will instantly open up YaST and allow you to get the Papirus icon theme on your SUSE PC.

Generic Instructions

Papirus has a Bash script installation tool for those who aren’t lucky enough to be on any of the Linux distributions mentioned above. To use the installation script, open up a terminal and grab it with the wget download tool.

To install this icon theme system-wide, try:

sudo wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install.sh | sh

Alternatively, install the Papirus icon theme for a single user with the following command.

wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install.sh | DESTDIR="$HOME/.icons" sh

Enabling The Theme

Not sure how to enable the Papirus icon theme on your Linux distribution? Don’t worry! Check out our list below and learn how to apply the Papirus icon theme on all modern Linux distributions.

Read How To Install The Papirus Icon Theme On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter