Running Private internet access from i3?

Hi,
I just cant work out how to run private internet access from i3
in Openbox its on the the jgmenu
From here I gathered that I should look in /usr/share/applications/ for the desktop file, which has:

[Desktop Entry]
Type=Application
Name=Private Internet Access
Comment=Private Internet Access VPN client
Path=/opt/piavpn/bin/
Exec=/opt/piavpn/bin/pia-client %u
Icon=piavpn
Terminal=false
Categories=Network
StartupWMClass=pia-client
MimeType=x-scheme-handler/piavpn

xprop also indicates pia-client

but typing pia-client in a terminal isnt recognised

using rofi in i3 or using tab in terminal after tying pia only brings up piaictl, which is the “Command-line interface to the PIA client”

Any ideas, please?

1 Like

You likely don’t have /opt/piavpn/bin on the $PATH, to check you can do

echo $PATH

To solve this you can either launch it using the full path or add the location to PATH.

# launch directly
/opt/piavpn/bin/pia-client
# add to ~/.zprofile or ~/.bash_profile
[[ $PATH =~ /opt/piavpn/bin ]] || export PATH=$PATH:/opt/piavpn/bin

Or you can add it to /etc/profile for it to be system wide

PATH=$PATH:/opt/piavpn/bin
export PATH
1 Like

Thanks very much indeed :+1:
I may be stupid, but I am learning every day :rofl:

1 Like

Not stupid.
Ignorant, hasn’t learned. (yet)
Stupid, can’t learn.

8bit

1 Like

:rofl: thanks, I think!

You’re far from stupid; a very clever lad, indeed.

8bit

1 Like