Announcement

Collapse
No announcement yet.

Xscreensaver does not detect when a video is playing

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

    [Desktop] Xscreensaver does not detect when a video is playing

    Xscreensaver doesn’t detect when a video is playing, even though I’ve enabled this setting in the Power Settings:


    Click image for larger version

Name:	Bildschirmfoto_20260626_172024.png
Views:	49
Size:	111.0 KB
ID:	692899

    Is there a technical solution that would prevent Xscreensaver from activating the screensaver whilst videos are playing in Haruna or the Vivaldi browser (YouTube videos)?

    Click image for larger version

Name:	Bildschirmfoto_20260626_172634.png
Views:	47
Size:	192.7 KB
ID:	692900

    🍀Kubuntu 26.04 LTS KDE Plasma X11🍀
    🍀Intel Core i7-14700K (28 CPUs), ~3.4GHz, 32 GB RAM, 1 TB SSD, 8 TB HDD 🍀
    🍀Samsung Galaxy A 54 5G | Android 16🍀
    🍀Vivaldi Browser Work Spaces changed my Work Flow🍀​


    #2
    please post outputs of :
    Code:
    xscreensaver-command -version
    Code:
    ps aux | grep xscreensaver
    Code:
    loginctl show-session "$XDG_SESSION_ID" -p Type
    Code:
    echo $XDG_SESSION_TYPE
    PS: if your on wayland ,xscreensaver won't work reliably/at all , ofcourse...
    Last edited by die.boer; Yesterday, 03:19 PM.
    ʟɨռʊӼ ʄօʀ ʟɨʄɛ

    Comment


      #3
      I use X11 instead of Wayland.

      Click image for larger version  Name:	Bildschirmfoto_20260627_004145.png Views:	0 Size:	120.8 KB ID:	692929




      Last edited by greenster; Yesterday, 05:07 PM.
      🍀Kubuntu 26.04 LTS KDE Plasma X11🍀
      🍀Intel Core i7-14700K (28 CPUs), ~3.4GHz, 32 GB RAM, 1 TB SSD, 8 TB HDD 🍀
      🍀Samsung Galaxy A 54 5G | Android 16🍀
      🍀Vivaldi Browser Work Spaces changed my Work Flow🍀​

      Comment


        #4
        please also post output of
        Code:
        xscreensaver-demo -version
        or
        Code:
        apt policy xscreensaver
        just copy/paste commands ,so there's no faulty spaces and stuff

        then to post the output here , just select all in the terminal and copy then paste here
        please don't show screenshots of the outputs
        ʟɨռʊӼ ʄօʀ ʟɨʄɛ

        Comment


          #5
          ~$ xscreensaver-demo -version
          Unbekannte Option -version
          stephan@BlackSnake:~$ apt policy xscreensaver
          xscreensaver:
          Installiert: 6.08+dfsg1-1ubuntu5
          Installationskandidat: 6.08+dfsg1-1ubuntu5
          Versionstabelle:
          *** 6.08+dfsg1-1ubuntu5 500
          500 http://archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
          100 /var/lib/dpkg/status

          🍀Kubuntu 26.04 LTS KDE Plasma X11🍀
          🍀Intel Core i7-14700K (28 CPUs), ~3.4GHz, 32 GB RAM, 1 TB SSD, 8 TB HDD 🍀
          🍀Samsung Galaxy A 54 5G | Android 16🍀
          🍀Vivaldi Browser Work Spaces changed my Work Flow🍀​

          Comment


            #6
            run this in terminal and leave it running
            Code:
            dbus-monitor "interface='org.freedesktop.ScreenSaver'"
            Then:
            Start playing a video in Haruna.
            Stop it.
            Play a YouTube video in Vivaldi.

            If everything is working, you should see messages containing Inhibit when playback starts and UnInhibit when it ends.
            ​If nothing appears at all, then the applications aren't requesting inhibition, which would explain why XScreenSaver activates.​
            Also , Are you using the Snap version of Vivaldi, the DEB package from Vivaldi's website, or the Flatpak?​
            check with
            Code:
            which vivaldi
            or
            Code:
            apt policy vivaldi-stable
            Likewise for Haruna:
            Code:
            apt policy haruna
            or
            Code:
            flatpak list | grep -i haruna
            Whether they're installed as native packages, Flatpaks, or Snaps can affect how idle inhibition is handled.

            PS: like any command in terminal that keeps running , you can stop it with ctrl+c , in case you didn't know
            Last edited by die.boer; Today, 11:44 AM.
            ʟɨռʊӼ ʄօʀ ʟɨʄɛ

            Comment


              #7
              ~$ which vivaldi
              /usr/bin/vivaldi
              stephan@BlackSnake:~$ apt policy vivaldi-stable
              vivaldi-stable:
              Installiert: 8.0.4033.54-1
              Installationskandidat: 8.0.4033.54-1
              Versionstabelle:
              *** 8.0.4033.54-1 500
              500 https://repo.vivaldi.com/stable/deb stable/main amd64 Packages
              100 /var/lib/dpkg/status
              stephan@BlackSnake:~$ apt policy haruna
              haruna:
              Installiert: 1.7.1-1ubuntu3
              Installationskandidat: 1.7.1-1ubuntu3
              Versionstabelle:
              *** 1.7.1-1ubuntu3 500
              500 http://archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
              100 /var/lib/dpkg/status
              stephan@BlackSnake:~$ flatpak list | grep -i haruna


              ​I use the .deb package from Vivaldi.
              Last edited by greenster; Today, 12:43 PM.
              🍀Kubuntu 26.04 LTS KDE Plasma X11🍀
              🍀Intel Core i7-14700K (28 CPUs), ~3.4GHz, 32 GB RAM, 1 TB SSD, 8 TB HDD 🍀
              🍀Samsung Galaxy A 54 5G | Android 16🍀
              🍀Vivaldi Browser Work Spaces changed my Work Flow🍀​

              Comment


                #8
                run this in terminal and leave it running
                Code:

                dbus-monitor "interface='org.freedesktop.ScreenSaver'"
                Then:
                Start playing a video in Haruna.
                Stop it.
                Play a YouTube video in Vivaldi.
                ​ could you do that?
                Copy everything that appears in the terminal (even if it's nothing).
                That will tell us whether the applications are asking the desktop to inhibit the screensaver.
                ʟɨռʊӼ ʄօʀ ʟɨʄɛ

                Comment


                  #9
                  also if you can tell me what is your xscreensaver timeout
                  Code:
                  xscreensaver-command -time
                  set to , we can run a little command to verify that xscreensaver-systemd itself is working​
                  ʟɨռʊӼ ʄօʀ ʟɨʄɛ

                  Comment

                  Users Viewing This Topic

                  Collapse

                  There are 0 users viewing this topic.

                  Working...
                  X