Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-17-2011, 12:30 PM   #1
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Rep: Reputation: 17
pcmanfm --set-wallpaper does nothing

In GNOME one can write an XML document telling the system when to change between various files to automatically change the desktop wallpaper, and then set that XML document as the wallpaper.

I have three I like to switch between, containing the schedules and playoff brackets of my favorite sports teams.

I've been using LXDE far more than I've been using GNOME these days, but LXDE won't let me set the XML as the wallpaper like GNOME does.

So after searching around a bit I thought I'd create a cronjob that would change the wallpaper every 20 minutes.

So I set up this
# m h  dom mon dow   command
5 *  * * * pcmanfm --set-wallpaper=/home/jim/Pictures/tigers.jpg
25 * * * * pcmanfm --set-wallpaper=/home/jim/Pictures/nhl.jpg
45 * * * * pcmanfm --set-wallpaper=/home/jim/Pictures/mudhens.jpg
but it didn't do what I thought it would in changing my wallpaper automatically.

Since I had never used cronjobs before I thought I was doing something wrong in how I had it set up. Various tries to no avail.

But then I have the real problem none of the various I've treid of simply running pcmanfm --set-wallpaper or pcmanfm -w (the --help says they do the same thing) actually do anything. I've tried both with and without the = (I wasn't sure how to interperet the --help on that).

Any help you can provide would help
Old 05-18-2011, 02:14 PM   #2
jothan sans cheer
LQ Newbie
Registered: Nov 2010
Location: austria
Distribution: Debian Wheezy
Posts: 11

Rep: Reputation: 1
Would xsetbg set the background image? Its an alias for xloadimage with certain parameters.

Old 05-20-2011, 12:46 PM   #3
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Original Poster
Rep: Reputation: 17
I'm uncertain if xsetbg would work, when I tried to run it simply says bash: xsetbg: command not found

However, the problem with pcmanfm --set-walpaper was a user error, I wasn't entering the correct /full/path/to.jpg

If I use the correct path it works. Before when I ran the command with the incorrect path it just went to a new prompt when I hit enter. I think i'm going to file a bug in LXDE because I feel it should have given me some sort of error like "/file/to/path/incorrect.jpg" file does not exist.

I'll have to wait a few and see if the cronjob works to do the same my XML does in gnome


automatic, cronjob, lxde, wallpaper

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set wallpaper via terminal? Vitalka Linux - General 3 05-13-2010 01:35 AM
Set as Wallpaper allforcarrie Ubuntu 2 11-25-2007 04:03 AM
set wallpaper in twm? matiasar Linux - Desktop 5 05-08-2007 02:40 PM
Saving A Set Wallpaper..... Colonel-1990 Linux - Software 18 04-12-2005 06:57 AM
Can't set a wallpaper in Fluxbox 0.98 AMMullan Linux - Software 5 02-24-2004 09:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration