Modify Screensaver Picture Path in Ubuntu

Gnome-screensaver on Ubuntu 8.04
Image via Wikipedia

On my Ubuntu PCs I use the Pictures Folder screensaver.  It’s a nice screensaver that cycles through all your pictures.  At work I run dual monitors and the screensaver displays different pictures.

What I don’t like about this screensaver, no way to configure which pictures I want to use.  My Pictures folder contains a bunch of sub-folders like misc, Whos Who (which hold different avatars I use on different social media sites), Camera (pictures of the kids), funnies (stuff i find to be very funny but appropriate for work), Wallpaper, and so on.  So I started searching Google and found a quick solution on page 2 of the following link:

http://ubuntuforums.org/showthread.php?t=230576&page=2

The  post wiredsoul submitted works great!  Open gedit and modify file /home/.config/user-dirs.dir.  I wanted just my Wallpaper folder for the screensaver.  Below is the test from my file:

# This file is written by xdg-user-dirs-update# If you want to change or add directories, just edit the line you’re# interested in. All local changes will be retained on the next run# Format is XDG_xxx_DIR=”$HOME/yyy”, where yyy is a shell-escaped# homedir-relative path, or XDG_xxx_DIR=”/yyy”, where /yyy is an# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR=”$HOME/Desktop”
XDG_DOWNLOAD_DIR=”$HOME/Downloads”
XDG_TEMPLATES_DIR=”$HOME/Templates”
XDG_PUBLICSHARE_DIR=”$HOME/Public”
XDG_DOCUMENTS_DIR=”$HOME/Documents”
XDG_MUSIC_DIR=”$HOME/Music”
XDG_PICTURES_DIR=”$HOME/Pictures/Wallpaper”
XDG_VIDEOS_DIR=”$HOME/Videos”
The next to the last line I added Wallpaper.  Now the screensaver only displays all the files and files in sub-folder of Wallpaper.
Thanks wiredsoul!

One thought on “Modify Screensaver Picture Path in Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s