Announcement

Collapse
No announcement yet.

KDialog Notifications on the LOCK SCREEN? ? ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KDialog Notifications on the LOCK SCREEN? ? ?

    I have a script which runs through checks of various things via various tests.. and on errors pops up a KDialog box, does some alerting via aplay etc...

    All this is great..

    The "bug or glitch" I've got is once it goes into the lock screen you have to unlock to see the what the alert is..

    HOLD IT! Before any one says well duh "Security!" I would agree if this was something at work.. this is at home... and me, a senior and the cat are NOT a security risk!

    None of this would be PII, etc.. its basically an alert that X, Y, Z is not responding... to check..

    The lock screen can have something about stuff playing via VLC or what not... so there is some API? dbus? Something that passes this data along..

    So is this API? dbus? x? documentated some place to replace that "playing" data with MY NOTIFICATIONS instead or in addition to it?

    Thanks!



    #2
    Not a direct answer to your issue, but, if it is only you and your cat, and nothing is PII anyway, why have the Lock Screen activated? Don't use it.

    Or, configure Screen Locking to never require a password.

    System Settings > Screen Locking > Delay before password required: Never require password
    Last edited by Snowhog; Yesterday, 01:32 PM.
    Slava Ukraini! πŸ‡ΊπŸ‡¦
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

    Comment


      #3
      The media information you see on the lock screen is provided through MPRIS (the standard D-Bus media-player interface). It isn't a general-purpose area where applications can send arbitrary messages or notifications.

      A KDialog window is part of your normal desktop session, so when the screen is locked it will remain hidden behind the lock screen until you unlock.

      I don't think there is a supported way to display arbitrary KDialog messages on the KDE lock screen.
      The media information shown there is handled separately through MPRIS (a D-Bus interface specifically for media players), rather than being a general notification API that applications can use.
      The screen locker deliberately keeps normal desktop windows and notifications behind the lock screen. So even if your alert contains nothing sensitive, Plasma has no way to know that.
      You could perhaps look at logging the alerts somewhere, or using an audible alert as you are already doing, but I wouldn't expect a KDialog box to be visible until the session is unlocked.

      The key distinction is MPRIS media metadata β‰  general notifications. So the idea of "replacing the playing data with my notifications" probably isn't something Plasma provides.
      ​
      ▁ β–‚ β–„ β–… β–† β–‡ β–ˆ α„‚IПЦX FΣ¨Π― α„‚IFΞ£ β–ˆ β–‡ β–† β–… β–„ β–‚ ▁

      Comment

      Users Viewing This Topic

      Collapse

      There are 0 users viewing this topic.

      Working...
      X