LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2011, 09:22 AM   #1
corewar
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Rep: Reputation: 0
how can i change my wallpaper by script?


I want to write a script to change my wallpaper,but I have to change to root .How can i change the wallpaper by ordinary user?
 
Old 02-25-2011, 09:23 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Came across this, hope this helps!

http://www.webupd8.org/2009/11/3-lin...ly-change.html
 
Old 02-25-2011, 09:24 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Can you tell us why you think you have to change to root to change your wallpaper? What have you tried and what error do you get.

Kind regards,

Eric
 
Old 02-25-2011, 12:31 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You might find the GNOME app wallpapoz of interest. I use it to give me different random backgrounds on each of my workspaces. (In fact, I also use it to change each workspace's background every sixty seconds, but that's optional.)
 
Old 02-25-2011, 12:54 PM   #5
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Let us know what desktop your are using? You could use sudo for root tasks but be sure to not abuse it. As eric says you shouldn't have to modify any files out of your home directory for what you are trying to do. Most desktop config files can be found in your home dir in a .dot directory except of course the global config files.
 
Old 02-25-2011, 01:03 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Perhaps you can take a look at the bottom of this page for related threads.

Kind regards
 
Old 02-26-2011, 09:50 AM   #7
corewar
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EricTRA View Post
Hello,

Can you tell us why you think you have to change to root to change your wallpaper? What have you tried and what error do you get.

Kind regards,

Eric
I found someting through internet:if I want to change my wallpaper,I should to change the contents in /usr/share/backgrounds/laughlin/default/(wide|standard|normalish).So I should change my account to root.But it can't be realized by script.
I think there be a file in home directory that can be modified to change the wallpaper,but I can't find it.
What should I do?
 
Old 02-26-2011, 09:56 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Did you have a look at the link posted in post #2 by corp769? I don't think you'll get it any clearer than that. Also, as pointed out by repo, the links at the very bottom of this page are pointing to threads similar to yours. Two of them are marked as SOLVED, meaning they have a solution. Did you look at those?

Kind regards,

Eric
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change GNOME wallpaper through a script or a command? kushalkoolwal Debian 2 03-12-2010 06:04 PM
[SOLVED] a script to change wallpaper sumeet inani Linux - Newbie 58 03-06-2010 08:18 AM
Can't change wallpaper w/ openbox / how to change mousespeed johnnyxxxcakes Linux - Newbie 14 05-24-2009 07:11 PM
Wallpaper Won't change Rick069 Linux - Newbie 3 04-16-2006 01:03 PM
change wallpaper TravisB Linux - General 4 10-23-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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