Results 1 to 6 of 6

Thread: Disable Turning Screen Off While Watching Video

  1. #1
    Join Date
    Apr 2008
    Location
    USA
    Beans
    1,122
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Question Disable Turning Screen Off While Watching Video

    Hello everybody!

    So I'm watching videos online and whether I'm in full screen mode or not Ubuntu will turn off my screen when it is inactive for 10 minutes, but it's not really inactive because I'm watching videos and not moving the mouse or doing anything else. How can I stop Ubuntu from turning off the screen when I'm watching videos?
    Question Everything

  2. #2
    Join Date
    Feb 2011
    Location
    Colorado
    Beans
    24

    Re: Disable Turning Screen Off While Watching Video

    Good question, this is something I've been trying to do for years. I never found a way to do this through power manager. As it does not matter if a video is running, full screen or not. In the past I just always disabled the screensaver etc. before I'd start watching a video.

    However, I found this: http://askubuntu.com/questions/14462...atching-videos Using Caffeine you're able to assign what programs should disable the screensaver. That is the best solution I found so far.

    Hope my post helps, although I'm also very interested to hear from anyone who knows of a solution without using an application.

  3. #3
    Join Date
    Apr 2008
    Location
    USA
    Beans
    1,122
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Disable Turning Screen Off While Watching Video

    Quote Originally Posted by kcxzero View Post
    Good question, this is something I've been trying to do for years. I never found a way to do this through power manager. As it does not matter if a video is running, full screen or not. In the past I just always disabled the screensaver etc. before I'd start watching a video.

    However, I found this: http://askubuntu.com/questions/14462...atching-videos Using Caffeine you're able to assign what programs should disable the screensaver. That is the best solution I found so far.

    Hope my post helps, although I'm also very interested to hear from anyone who knows of a solution without using an application.
    Yeah, I found that post too. I guess there's no other way, currently, of doing what we'd both like. =/ I thought there would be a solution rather than using another application or changing the screensaver settings everytime.
    Question Everything

  4. #4
    Join Date
    Feb 2011
    Location
    Colorado
    Beans
    24

    Re: Disable Turning Screen Off While Watching Video

    Yeah. I've been looking for a solution on and off since 10.04. But I never posted or asked anyone, just browsed to see if there were already answers. So hopefully this post attracts anyone who knows how to (if possible).

  5. #5
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Disable Turning Screen Off While Watching Video

    Toggle between true and false in the terminal (Ctrl+Alt+T):
    Code:
    gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

  6. #6
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Disable Turning Screen Off While Watching Video

    i made a script for this, it was intended for xscreensaver
    only tested on xubuntu
    http://ubuntuforums.org/showpost.php...85&postcount=9
    you may need to comment out this line for ubuntu since it uses no screensaver
    Code:
    xscreensaver-command -deactivate > /dev/null
    or replace it with (xdotool is not installed by default)
    Code:
    xdotool key shift
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •