Disable Screensaver (Black Screen) in Ubuntu 12.04 (Precise Pangolin)

Is your desktop screen going dark or showing a blank screen when idled? By default, Ubuntu is developed with screensaver enabled. It is automatically activated when your computer becomes idled for roughly 5 minutes. When watching movies or online flash videos and the screensaver is activated, it darkens your display. If this is becoming a problem and you want to turn it off, then this brief tutorial is going to show you a single line command that will turn if off for you.


  • Turn off screensaver in Ubuntu 12.04 (Precise Pangolin)
  • Enjoy!


To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, copy and paste the commands below, then press Enter to disable screensaver.

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false




That’s it! Your display will never go dark or black again.




3 thoughts on “Disable Screensaver (Black Screen) in Ubuntu 12.04 (Precise Pangolin)”

  1. On some systems you have to turn off the console screen saver.

    in /etc/kbd/config set BLANK_TIME=0

    On a personal note screen savers SHOULD NOT BE ON BY DEFAULT.

  2. How do we undo these changes?

    Lets say after a movie, we use our computers for the general purposes where it is beneficial to have black screen coming when the system is idle.
    How do we then restore the default settings?

Leave a Reply