LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2004, 01:28 AM   #1
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Rep: Reputation: 15
change wallpaper in kde programatically


While changing wallpaper in gnome is pretty easy -
gconftool-2 --type=string --set /desktop/gnome/background/picture_filename <image filename>

, doing it in kde appears to be not as easy. I tried changing desktop/gnome to desktop/kde, didn't work. I tried much googling, didn't work.

Any ideas?
 
Old 03-30-2004, 03:52 AM   #2
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
get into kde, right click, background, multiple wallpaper, find it
 
Old 03-30-2004, 04:08 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try this:
Code:
dcop kdesktop KBackgroundIface setWallpaper "/path/to/my/wallpaper.jpg" 1
 
Old 03-30-2004, 05:38 AM   #4
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
thanks Jrlz, Demonbane. This should at least get me pointed in the right direction
 
Old 03-30-2004, 06:49 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Taken directly from the KDE help pages:

Quote:
Sequential and Random Backgrounds

KDE can automatically change wallpapers on your system at a specified time. You give it the list of image files, and it can either change them in a predetermined order, or randomly.

To have KDE automatically change your wallpaper, first you must set the layout of the wallpaper in the drop down box labeled Positioning.

Now create a list of images you want to cycle through. You create the list by Adding and Removing images from the list. Once the list is created, the combo box labeled Switch image every: will become active. Enter the number of minutes between each image switch. You can have the image change every 1 minute to every 1440 minutes (24 hours).

You can use the drop down box labeled Image order: to determine whether KDE randomly selects the image, or cycles through the images in the order they appear in the list.

Click OK to accept your changes, or Cancel to leave without making any changes permanent.
To access this feature, right-click on the desktop, choose "Configure Desktop" then select "Background". On the "Wallpapers" tab, there is an option for "Multiple Wallpapers". Then click the "Setup Multiple" button.

HTH
Baldrick
 
Old 03-30-2004, 07:17 AM   #6
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks Baldrick, it works for me. I only installed Suse/KDE this morning, maybe sometime soon I'll get around to reading some doco.
 
Old 03-30-2004, 07:19 AM   #7
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
No probs ... we were all noobs once

Baldrick
 
  


Reply



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
Wallpaper Won't change Rick069 Linux - Newbie 3 04-16-2006 01:03 PM
How to change wallpaper pacranch Amigo 9 06-27-2005 01:30 PM
Fluxbox: How to Change Wallpaper? mrgrieves Linux - Software 2 08-27-2004 03:40 AM
Change kde theme & wallpaper from command line or start scripts? JHuizingh Linux - Software 2 12-11-2003 06:44 PM
change wallpaper TravisB Linux - General 4 10-23-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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