LinuxQuestions.org
Help answer threads with 0 replies.
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 06-26-2004, 10:56 PM   #1
b_suny
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Changing Wallpaper from Command Line


How do I change the Wallpaper / Desktop Image in RHL 9.0 from Command Line ?
 
Old 06-27-2004, 12:00 AM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
It would depend on what application(s) you have which are capable of setting root images.
Some examples are Esetroot, xv, feh, xsri, and display.
 
Old 06-27-2004, 06:52 AM   #3
spacedoubtman
LQ Newbie
 
Registered: Feb 2004
Location: Brisbane, QLD, Australia
Distribution: Debian
Posts: 29

Rep: Reputation: 15
I use wmsetbg - it supports jpegs. Not that all others don't, but some don't.

Heres a quick and nasty script I use to kindof randomly change my wallpaper every 10 mins if your interested.


Code:
#!/usr/bin/perl

$num = `date +%s | tail -c 3`;

while (1)
{
        foreach $file (`find /mnt/c/Wallpapers /usr/share/wallpapers /home/i/dl/done/Backgrounds -type f -exec ls -b \{\} \
\;`)
        {
                if($num < 2)
                {
                        $num = `date +%S | tail -c 3`;
                        print "\n---------\n" . $file . "\n";
                        print `/usr/bin/wmsetbg $file`;
                        print `/bin/sleep 600`;
                }
                else
                {
                        $num = $num - 1;
                }
        }
}
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing video driver via command line armus513 Mandriva 4 02-04-2005 12:03 PM
Changing color of command line interface JustinCoyan Slackware 1 05-28-2004 12:35 PM
Changing video resolution from command line? lhouk Linux - General 4 04-15-2004 03:16 PM
Change kde theme & wallpaper from command line or start scripts? JHuizingh Linux - Software 2 12-11-2003 07:44 PM
Changing Resolution of Linux command line mindfrost82 Linux - Newbie 6 07-09-2003 10:05 PM


All times are GMT -5. The time now is 01:01 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration