It is currently Wed Jun 19, 2013 8:11 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Refreshing the Background in XFCE4.6
PostPosted: Tue Mar 17, 2009 6:01 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Oct 18, 2006 1:46 am
Posts: 269
Location: Sydney, Australia
Its one of the minor issues, with the new release of XFCE, but the ability to use the command

Code:
xfdesktop --reload


to change the backgound image you were using, from a configured list, was broken, or didn't work. There is however a new hack that has been posted on the XFCE News that allows you to continue to do this

Code:
#!/bin/sh
MONITOR=${1:-0}
PROPERTY="/backdrop/screen0/monitor${MONITOR}/image-path"
IMAGE_PATH=`xfconf-query -c xfce4-desktop -p ${PROPERTY}`
xfconf-query -c xfce4-desktop -p ${PROPERTY} -s ""
xfconf-query -c xfce4-desktop -p ${PROPERTY} -s "${IMAGE_PATH}"


I saved this as an executable file in /usr/local/bin called refresh, and now I can change my backgrounds to my hearts content. Much and many thanks to the contributor to the XFCE News for, at least for me, a very useful hack \!D/ \!D/

The link is

[url]
http://blog.xfce.org/2009/03/11/
[/url]

Regards

Michael


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron