Bug 455201

Summary: plasma-nm should prompt the user to automatically install the openvpn package when it's missing
Product: [Plasma] plasmashell Reporter: johnathan <testing1237a-c>
Component: Networking in generalAssignee: Jan Grulich <jgrulich>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: mising vpn plugin

Description johnathan 2022-06-13 06:33:51 UTC
Created attachment 149656 [details]
mising vpn plugin

SUMMARY
***
i tried to run an openvpn config file. i got the "missing vpn plugin" error. 
searching online i found
https://www.reddit.com/r/kde/comments/keztu0/missing_vpn_plugin/

which says 
````
Do you have the package network-manager-openvpn 
````
so installing  network-manager-openvpn solves this problem so the question is, why isn't plasma detecting that openvpn file is being run and openvpn package is missing so try to install this package? 
***


STEPS TO REPRODUCE
1.  instal openvpn config
2.  try to run the config
3.  check error message
4.  now install  "network-manager-openvpn " and try again
5. it works now

OBSERVED RESULT


EXPECTED RESULT


Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.13.0-48-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400
Comment 1 Nate Graham 2022-06-14 16:52:37 UTC
> why isn't plasma detecting that openvpn file is being run and openvpn package is missing so try to install this package? 
Presumably because right now we can't guarantee that the package is named "openvpn" on every distro.

To make this work, we would need a way for distros to communicate to us what the name of the package is for them, perhaps via a CMake variable that they would have to set or override (if it defaulted to being "openvpn"). If we did that, it would be feasible to have plasma-nm use PackageKit to install it for you.
Comment 2 Ben Cooksley 2024-12-23 18:23:40 UTC
Bulk transfer as requested in T17796