This forum has been archived. All content is frozen. Please use KDE Discuss instead.

notification of networkmanager isn't integrated into plasma

Tags: None
(comma "," separated)
dgy18787
Registered Member
Posts
9
Karma
0
OS
I'm using Arch Linux with KDE 4.12 and networkmanager plasmoid (kdeplasma-applets-plasma-nm). There's something confused me that when system startup, there will be a plain knotify notification rather than plasma-style tells me that network has been connected, and the small window won't disappear until I click on it.

It seems that networkmanager send notification before plasma is ready, how can I make it integrated into plasma or make it invisible?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Have you enabled the Notifications item in your System Tray? Also, is the Notifications item (applet) in your System Tray configured to display "Application notifications"?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
I too see this, iirc it shows during the KDE splash screen - correct ?

Also it needs to be clicked to disappear (again iirc) - correct ?

Wonder if this is designed behavior or a bug, could not find a bug report on bugs.kde.org, as it's specific to the network plasmoid it might belong in Internet and Network forum where the dev's might monitor


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If it displays during the splash screen at KDE startup, then this is an issue which will be difficult to resolve - as Network Management is loaded before Plasma begins to start.

Therefore when Network Management sends the notification it cannot be routed to Plasma (as it hasn't started / hasn't loaded sufficiently) resulting in it being displayed using the older "KDE 3" style.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dgy18787
Registered Member
Posts
9
Karma
0
OS
bcooksley: Yes, I did enable the Notifications in system tray and when I copy or do something else after system is ready, there will be a plasma-style notification. I don't know if it is a bug or just my configuration is wrong --- can I specify order for starts of those plasma-moids?

google01103: I think you are right. I'll try to report it.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Only the graphical part of the Network Management infrastructure is hosted in Plasma - the other part is hosted by "kded4" which starts very early on in the KDE startup procedure, long before Plasma. This issue is unfortunately almost impossible to solve - as the daemon part of Network Management will always start connecting to networks before Plasma is ready to handle notifications.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
wolfi323
Registered Member
Posts
1129
Karma
11
OS
You could setup the network connection as "System connection". Then it would be established even before anything of KDE is started and that popup should not be shown then.
User avatar
google01103
Manager
Posts
6668
Karma
25
wolfi323 wrote:You could setup the network connection as "System connection". Then it would be established even before anything of KDE is started and that popup should not be shown then.


where? don't see that option in plasma-nm, if you mean mode there's only infrastructure, ad-hoc and access point and I have infrastructure selected


OpenSuse Leap 42.1 x64, Plasma 5.x

wolfi323
Registered Member
Posts
1129
Karma
11
OS
google01103 wrote:
wolfi323 wrote:You could setup the network connection as "System connection". Then it would be established even before anything of KDE is started and that popup should not be shown then.


where? don't see that option in plasma-nm, if you mean mode there's only infrastructure, ad-hoc and access point and I have infrastructure selected

Well, it is there in the older networkmanagement plasmoid (and in its KCM).

With plasma-nm it may be called something like "Share with other users" or similar.
User avatar
google01103
Manager
Posts
6668
Karma
25
maybe it's "all users may connect to this network" but checking it does not appear to make the setting persistent for wireless networks (ie every time I re-open the settings it is no longer checked but it is persistent for wired networks - maybe need to be set as root?)

also, I no longer have a kcm module (might be a plasma-nm thing)


OpenSuse Leap 42.1 x64, Plasma 5.x

wolfi323
Registered Member
Posts
1129
Karma
11
OS
google01103 wrote:maybe it's "all users may connect to this network" but checking it does not appear to make the setting persistent for wireless networks (ie every time I re-open the settings it is no longer checked but it is persistent for wired networks - maybe need to be set as root?)

With the older plasmoid you get asked for the root password (with a KAuth dialog).
The connection is then setup by NetworkManager during boot already, and is also available in text mode when no user logs into a graphical session.

also, I no longer have a kcm module (might be a plasma-nm thing)

Yes, I know. The older plasmoid did include a KCM though.

I will install plasma-nm later and have a look...
wolfi323
Registered Member
Posts
1129
Karma
11
OS
wolfi323 wrote:I will install plasma-nm later and have a look...

It works with plasma-nm as well, even for my wireless connection. You should get asked for the root password if you change that setting.

But the settings dialog seems to be a bit buggy (at least the version shipped with openSUSE 13.1). You may have to change the setting more than once, it may not work each time.
Sometimes you cannot even press on "OK" after changing a setting...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]