Change Nitrogen location

Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#1
I would like to change the location that Nitrogen uses to get the wallpapers. Not sure what I have to do in order to accomplish this? It pulls it from /home/wallpaper and I would like to change that to my shared data partition which would be /home/username/Data_1/Wallpapers.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2
I'm not sure how you changes Nitrogen itself but you could use links for Nitrogen to see the other folder.

Code: Select all

ln -s /home/username/Data_1/Wallpapers /home/username/Wallpaper
Posts: 1,081
OU812
Joined: 29 Sep 2007
#3
Edit the file /usr/local/bin/controlcenter.sh as root. Look for the line

Code: Select all

            <action>nitrogen --sort=alpha --no-recurse ~/Wallpaper/ &</action>
(around line 21 in geany). Just modify the"~/Wallpaper/" part with your new directory. Make sure you end it with"/".

john
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#4
Thanks, I will try this as soon as I get a chance!