When you download the application, the images are already in there, but they’re not sized properly and won’t work well with some GUIs.

For me, I would get a green box like so.

  • First off, you will need a program called imagemagick. In an Ubuntu-based Linux, open up your terminal and type in the following command to install imagemagick:

$ sudo apt-get update

$ sudo apt-get install imagemagick

  • Once that is done, keep your terminal open and type in the following command. The proper directory that contains the images:

$ cd /opt/pia/frontend/img

  • You can use this command to make sure you’re in the right spot:

$ ls

  • You need to make a new folder of that directory with the following command (to save the original images this just to be on the safe side if you want to restore the images):

$ sudo mkdir img_bak

  • This command will create a backup of all your images and will put it into the folder we just created (img_bak):

$ sudo cp *png img_bak

  • With the next command, you are going to edit the images (resizing them to properly display in the tray):

$ sudo mogrify -resize 24×24 tray_disconnected.png

$ sudo mogrify -resize 24×24 tray_connecting.png

$ sudo mogrify -resize 24×24 tray_connected.png

  • Now it should display correctly. Here is an image of my terminal (so you can see step-by-step instructions):

In order to display their logo, you need to follow the same steps for KDE neon and Kubuntu. The current Private Internet Access application I did this on was pia-v81.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.