User Tools

Site Tools


blog:change_windows_desktop_background_for_day_and_night_ubuntu_gnu:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
blog:change_windows_desktop_background_for_day_and_night_ubuntu_gnu:linux [2010-12-30 09:02] brbblog:change_windows_desktop_background_for_day_and_night_ubuntu_gnu:linux [2010-12-30 09:04] brb
Line 43: Line 43:
 esac                                                                                                               esac                                                                                                              
    
 +</file>
 +
 +Note: gconftool needs some environment variables of the user to run. These can be saved during login for later use
 +
 +<file bash xdbus.sh>
 +#!/bin/sh                                                                                                         
 +# Export the dbus session address on startup so it can be used by cron                                            
 +# use in cron /home/brb/.config/Xdbus;                                                                            
 +xdbus=$HOME/.config/Xdbus                                                                                         
 +touch $xdbus                                                                                                      
 +chmod 600 $xdbus                                                                                                  
 +env | grep DBUS_SESSION_BUS_ADDRESS > $xdbus                                                                      
 +echo 'export DBUS_SESSION_BUS_ADDRESS' >> $xdbus                                                                  
 +# Export XAUTHORITY value on startup so it can be used by cron                                                    
 +env | grep XAUTHORITY >> $xdbus                                                                                   
 +echo 'export XAUTHORITY' >> $xdbus         
 </file> </file>
  
blog/change_windows_desktop_background_for_day_and_night_ubuntu_gnu/linux.txt · Last modified: 2010-12-30 09:09 by brb