Add / Enable Screensavers in Ubuntu 12.04 (Precise Pangolin)

When you install or upgrade to Ubuntu 12.04, you’ll notice that screensaver has been removed. Now a blank (dark) screen will kick in when your computer is idled. In previous versions of Ubuntu, when your computer becomes idled, a screensaver will start and begin displaying different patterns on your display. Not anymore. If you want to add or enable screensaver package in 12.04, then you must continue below to learn how to do it.

Enable Screensaver in Ubuntu 12.04 (Precise Pangolin)

Enjoy!

 

To get started, press Ctrl – Alt – T on your keyboard to open terminal. When it opens, run the commands below to remove gnome-screensaver package.

sudo apt-get purge gnome-screensaver

 

gnome_screensaver_precise

 

Next, run the commands below to install xscreensaver packages

sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra

 

gnome_screensaver_precise_1

 

Next, run the commands below to create xscreensaver autostart file.

sudo gedit /etc/xdg/autostart/screensaver.desktop

 

gnome_screensaver_precise_2

 

Then copy and paste the lines into the file and save it.

[Desktop Entry]Name=ScreensaverType=ApplicatonExec=xscreensaver -nosplash

 

gnome_screensaver_precise_3

 

Restart and you’re done. To customize how often it launches, open Dash and search for screensaver, then open it and configure your settings.

 

Enjoy!

 

gnome_screensaver_precise_4

17 response on “Add / Enable Screensavers in Ubuntu 12.04 (Precise Pangolin)

  1. In the lines to be copied to the file etc/xdg/autostart/screensaver.desktop, the word “Application” was wrongly spelled as “Applicaton”. So that auto restart will not work if it is not corrected..

  2. Will not work after a reboot due to typo in the screensaver.desktop file. When you edit the file to include the screensaver startup parameters you need to correct the spelling mistake on the line “Type=Application”, The word Application is spelt wrong. When this is corrected all works well :-)

    Leigh

  3. The screensaver works but if I click on “scherm vergendelen” (that is lock screen in Dutch) nothing happens anymore.
    How do I make the screensaver start when I want to lock the screen when I am getting away from my computer ?

    Jan

  4. You have to do all that just for a screensaver? That seemingly should have already been there? What have I got myself in to. :-(
    I am missing windows already………………………..

  5. I have installed using the instructions on http://www.liberiangeek.net/2012/04/add-enable-screensavers-in-ubuntu-12-04-precise-pangolin/ but I get the error
    X error in glslideshow:
    X Error of failed reqest: Badrequest (invalid request code or no such operation)
    Major opcode of failed request: 136 (GLX)
    Minor opcoce of failed request: 19(X_GLXQueryServerString)
    Serial number of failed request: 23
    Current serial number in output stream: 23
    xscreensaver: 18:02:12: 0: child pid 3074 (glslideshow) exited abnormally (code -1)

    on for example Glslideshow.

  6. Note that the error that is frustrating many is still there:

    [Desktop Entry]Name=ScreensaverType=ApplicatonExec=xscreensaver -nosplash

    So when you get to the step where you paste this instruction, make sure that you correct the spelling of “applicaton” to read “application”

Leave a Reply