Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206897

Re: Xfce Power Manger and watching movies full screen

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: Xfce Power Manger and watching movies full screen
Date 2019-04-02 15:00 +0200
Message-ID <xIrbb-7EX-1@gated-at.bofh.it> (permalink)
References (2 earlier) <xI6gp-3a9-17@gated-at.bofh.it> <xI6T9-3DF-15@gated-at.bofh.it> <xI7Fw-49C-7@gated-at.bofh.it> <xIhbP-1BP-1@gated-at.bofh.it> <xIkW5-3Wd-3@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2019-04-02, Georgios <gpdsbe+debian@mailbox.org> wrote:
> I'm watching movies through netflix so I do not have any ideas how to
> write a script that will do that thing. I guess the script should detect
> if an application is in full screen mode.
>

Here's a GPL script not far from your desire (can't vouch for it, though).

https://raw.githubusercontent.com/jamcnaughton/useful-linux-scripts/master/xscreensaver/xscreensaverstopper.sh

You'd have to alter, of course, the if clause to toggle on
xfce-power-manager presentation mode (xfconf-query ...) rather than
deactivating xscreensaver ('xscreensaver-command -deactivate'), and I
guess add an 'else' to toggle it off when the active window isn't
fullscreen.

It seems possible to grep the output of 'ps aux' for the cdm decryption
module, which might be another way to go in Netflix stream detection.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-01 14:20 +0200
  Re: Xfce Power Manger and watching movies full screen Curt <curty@free.fr> - 2019-04-01 15:10 +0200
    Re: Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-01 16:40 +0200
      Re: Xfce Power Manger and watching movies full screen Curt <curty@free.fr> - 2019-04-01 17:20 +0200
        Re: Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-01 18:10 +0200
          Re: Xfce Power Manger and watching movies full screen David Wright <deblis@lionunicorn.co.uk> - 2019-04-02 04:20 +0200
            Re: Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-02 08:20 +0200
              Re: Xfce Power Manger and watching movies full screen Curt <curty@free.fr> - 2019-04-02 15:00 +0200
                Re: Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-03 22:40 +0200
              Re: Xfce Power Manger and watching movies full screen David Wright <deblis@lionunicorn.co.uk> - 2019-04-02 17:00 +0200
                Re: Xfce Power Manger and watching movies full screen Georgios <gpdsbe+debian@mailbox.org> - 2019-04-03 22:50 +0200

csiph-web