Re: VPN Plugin Desktop Notifications

That's not quite what I mean.  My plugin has full integration with nm-applet or gnome control centre already.  What I'm after are hints and tips on how to show connection error information through something like libnotify but I want to check the best practise and advice for doing so.



From: networkmanager-list <networkmanager-list-bounces gnome org> on behalf of Simon Lees <sflees suse de>
Sent: Wednesday, November 25, 2020 6:46:21 AM
To: networkmanager-list gnome org <networkmanager-list gnome org>
Subject: Re: VPN Plugin Desktop Notifications

On 11/24/20 8:00 PM, Graham White via networkmanager-list wrote:
> From the point of view of a VPN plugin, what's the best way to
> communicate status/log information with the user on their desktop?
> My scenario is for the NetworkManager-anyconnect VPN plugin, should the
> connection fail for some reason, it would be nice to give the user a bit
> more information as to why the connection attempt didn't work.  I'm
> thinking that integrating with the desktop notification system is
> possibly the right way to go here but wanted to check if there's a best
> practise or any advice you can give?

On desktops that still support the appindicator or systray standards you
should be able to use nm-applet, (If your distro builds it with the
right support). I use it with Enlightenment and it shows a lock icon
when I have openvpn enabled.

Simon Lees (Simotek)                  

Emergency Update Team                 
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]