Package Details: protonvpn-linux-gui 2.1.1-2

Git Clone URL: https://aur.archlinux.org/protonvpn-linux-gui.git (read-only, click to copy)
Package Base: protonvpn-linux-gui
Description: ProtonVPN Linux application
Upstream URL: https://github.com/ProtonVPN/linux-gui/
Keywords: GUI ProtonMail ProtonVPN VPN
Licenses: GPL3
Submitter: calexandru2018
Maintainer: calexandru2018
Last Packager: calexandru2018
Votes: 14
Popularity: 1.31
First Submitted: 2020-04-05 12:31
Last Updated: 2020-12-16 17:02

Latest Comments

1 2 3 Next › Last »

calexandru2018 commented on 2021-02-20 21:27

Hey all. As an FYI, the current package will no longer receive further updates, as the official GUI is currently being developed.

calexandru2018 commented on 2020-12-31 09:04

Hey @Dwa30v

This issue is not with the GUI but rather with the python interpreter/version. Re-installing the app should fix the issue.

Dwa30v commented on 2020-12-31 07:56

UPDATE: This was broken after a system update. A re-install fixed this.

$ protonvpn-gui 
Traceback (most recent call last):
  File "/usr/bin/protonvpn-gui", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-gui==2.1.1', 'console_scripts', 'protonvpn-gui')())
  File "/usr/bin/protonvpn-gui", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: protonvpn-gui

rharish commented on 2020-12-16 16:11

@calexandru2018 Good point, I hadn't considered that. How about this:

diff --git a/PKGBUILD b/PKGBUILD
index b51814b..cbe13e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=protonvpn-linux-gui
 pkgver=2.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="ProtonVPN Linux application"
 arch=("x86_64")
 url="https://github.com/ProtonVPN/linux-gui/"
@@ -17,6 +17,8 @@ package() {
    python setup.py install --optimize=1 --root="$pkgdir"
    install -d -m755 "${pkgdir}/usr/share/applications"

+_pydir=$(python -c 'import site; print(site.getsitepackages()[0])')
+
 # Gui Desktop Icon
 cat <<EOF > "${pkgdir}/usr/share/applications/protonvpn-gui.desktop"
 [Desktop Entry]
@@ -24,7 +26,7 @@ Name=ProtonVPN GUI
 Version=2.0.0
 Comment=${pkgdesc}
 Exec=protonvpn-gui
-Icon=/usr/lib/python3.8/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
+Icon=${_pydir}/linux_gui/resources/img/logo/protonvpn_logo.png
 Terminal=false
 StartupNotify=false
 Type=Application
@@ -38,7 +40,7 @@ Name=ProtonVPN GUI Tray
 Version=2.0.0
 Comment=Unofficial ProtonVPN GUI Tray
 Exec=protonvpn-tray
-Icon=/usr/lib/python3.8/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
+Icon=${_pydir}/linux_gui/resources/img/logo/protonvpn_logo.png
 Terminal=false
 StartupNotify=false
 Type=Application

calexandru2018 commented on 2020-12-16 14:21

Hey @rharish thanks for the heads up. I'm trying to find a more elegant solution to that problem, as I don't want hard-code the python path, as users might prefer to use other python versions. Also, arch-based distros might also user different versions.

rharish commented on 2020-12-11 08:12

@calexandru2018 The icons are hardcoded to the Python 3.8 path, whereas Arch Linux has upgraded to Python 3.9. Here's the diff for the corrected PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index b51814b..706b7d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=protonvpn-linux-gui
 pkgver=2.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="ProtonVPN Linux application"
 arch=("x86_64")
 url="https://github.com/ProtonVPN/linux-gui/"
@@ -24,7 +24,7 @@ Name=ProtonVPN GUI
 Version=2.0.0
 Comment=${pkgdesc}
 Exec=protonvpn-gui
-Icon=/usr/lib/python3.8/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
+Icon=/usr/lib/python3.9/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
 Terminal=false
 StartupNotify=false
 Type=Application
@@ -38,7 +38,7 @@ Name=ProtonVPN GUI Tray
 Version=2.0.0
 Comment=Unofficial ProtonVPN GUI Tray
 Exec=protonvpn-tray
-Icon=/usr/lib/python3.8/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
+Icon=/usr/lib/python3.9/site-packages/linux_gui/resources/img/logo/protonvpn_logo.png
 Terminal=false
 StartupNotify=false
 Type=Application

calexandru2018 commented on 2020-07-15 09:26

@miss_barfin could you please create an issue on Github and provide as much detail as possible ? :)

miss_barfin commented on 2020-07-09 13:44

it complains about polkit not being enabled while i have polkit packages installed

pacman -Q | grep polkit lib32-polkit 0.116-1 polkit 0.116-5 polkit-gnome 0.105-4 polkit-qt5 0.113.0-2

calexandru2018 commented on 2020-06-11 16:48

@jfk and @miss_barfin

This has already been posted in the issues. Please look here: https://github.com/ProtonVPN/linux-gui/issues/83

jfk commented on 2020-06-11 15:47

Got this any idea?

ImportError: cannot import name 'make_ovpn_template' from 'protonvpn_cli.utils' (/usr/lib/python3.8/site-packages/protonvpn_cli/utils.py)

EDIT: sorry same as @miss_barfin