LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-06-2007, 12:01 PM   #1
goodyboy
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Changing KDE background from command line


I am fairly new to KDE and Linux/Unix in general. I have the below command line which I am entering into a xterm window in a KDM environment. I have a program which has two different versions intalled on my computer version 2.0 and 2.1. What I want to do is to have the background change based on which version of the program I am running. I have looked into the below command line but when I type it following a *.jpg file it does nothing. Does anyone know how this would work?

dcop kdesktop KBackgroundIface setWallpaper /home/crouse/Wallpapers/

Last edited by goodyboy; 02-06-2007 at 12:02 PM.
 
Old 02-06-2007, 04:11 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Quote:
Originally Posted by goodyboy
dcop kdesktop KBackgroundIface setWallpaper /home/crouse/Wallpapers/
You're missing a parameter there. You need to add a mode number after the path. You also need to make that path to a particular file - using a directory or wildcard won't work. For example:
Code:
dcop kdesktop KBackgroundIface setWallpaper /path/to/mywallpaper.jpg 6
You can look up the parameters for a particular DCOP call using the kdcop utility. And no, I don't know what the value 6 does in the last parameter. If you're curious, you can look up the source code or developer documentation. Or you can just try numbers until you find one that gives you the effect you want.
 
  


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
change background via command line verbose Linux - General 10 07-19-2012 10:31 AM
Changing keyboard layout from command line wimnat Linux - General 0 02-02-2006 04:28 AM
changing the kde menu font size and background colours minm Linux - Newbie 1 02-25-2005 06:51 PM
Changing Wallpaper from Command Line b_suny Linux - General 2 06-27-2004 05:52 AM
KDE - Problem with changing my Desktop Background Darx Linux - Software 0 04-23-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 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