Package Details: protonvpn-gui 1.12.0-1

Git Clone URL: https://aur.archlinux.org/protonvpn-gui.git (read-only, click to copy)
Package Base: protonvpn-gui
Description: Official ProtonVPN Graphical User Interface, maintained by the ProtonVPN team.
Upstream URL: https://github.com/ProtonVPN/
Licenses: GPL3
Groups: ProtonVPN
Submitter: protontechag
Maintainer: protontechag (calexandru2018, jllaneras)
Last Packager: calexandru2018
Votes: 65
Popularity: 2.30
First Submitted: 2021-05-28 16:28 (UTC)
Last Updated: 2022-11-02 12:50 (UTC)

Pinned Comments

calexandru2018 commented on 2023-10-31 12:32 (UTC) (edited on 2023-10-31 12:34 (UTC) by calexandru2018)

Hey all, I understand all on the arch community are eager in trying the new app, thus I'll leave here what I wrote on reddit (https://www.reddit.com/r/ProtonVPN/comments/17clwac/comment/k5r1qdg):

We’d love to support the new app for arch Linux but honestly we’re understaffed and don’t have the bandwidth to be supporting the same distros that we did before with the previous client (4 packages before vs 10 packages now). If anyone from the community is willing to make AUR packages for themselves and publish/maintain them we’re totally fine with that, as long as people keep in mind that it would be an unofficial version because we currently don’t support arch Linux with the new v4 app.

Also if anyone’s interested: https://boards.eu.greenhouse.io/proton/jobs/4140067101

Thus I ask people not to flag this as out-of-date for the following reasons: - v4 is a total new implementation and another package, thus marking this as out-of-date is pointless because a new AUR package has to be created for this new version - I won't be either orphaning these packages because there are still people interested in the v3, be it in the GUI or CLI

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Dwa30v commented on 2020-12-31 07:56 (UTC) (edited on 2020-12-31 07:59 (UTC) by Dwa30v)

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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

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

RogueGirl commented on 2020-07-09 13:44 (UTC)

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 (UTC)

@jfk and @miss_barfin

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

tpaniaki commented on 2020-06-11 15:47 (UTC) (edited on 2020-06-11 15:53 (UTC) by tpaniaki)

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

RogueGirl commented on 2020-06-06 07:07 (UTC)

https://pastebin.com/PeNMUPcT doesn't run