LinuxQuestions.org
Help answer threads with 0 replies.
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 06-15-2005, 12:43 PM   #1
bloodmist
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
how to set background in openbox?


I tried this... (suse9.3)

linux:/1 # feh --bg-scale /home/ksy/cover.jpg
feh WARNING: /home/ksy/cover.jpg - No Imlib2 loader for that file format
feh ERROR: Couldn't load image in order to set bg
linux:/1 # feh --bg-scale /home/ksy/1.png
feh WARNING: /home/ksy/1.png - No Imlib2 loader for that file format
feh ERROR: Couldn't load image in order to set bg


what is wrong???I installed imlib2 but it doesn't work still???

linux:/1 # rpm -Uvh imlib2-1.2.0-0.pm.0.i686.rpm
warning: imlib2-1.2.0-0.pm.0.i686.rpm: V3 DSA signature: NOKEY, key ID 5277a2fa
Preparing... ########################################### [100%]
package imlib2-1.2.0-0.pm.0 is already installed

what do I do?
ohh and also how can I gat one of those panels which show info about the system.. like cpu load.clock.memory load...

 
Old 06-15-2005, 04:17 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
I use Esetroot, it is bundled with Eterm.I'm not sure but I think feh looks for something to use to load the background.Get Eterm and then load it with;
Code:
Estroot -scale /path/to/png
Or try feh after you install Eterm
I used feh before to load my last background and if I remember it would load it with Esetroot
 
Old 06-15-2005, 05:14 PM   #3
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
hmm...see if fbsetbg works, that's what i use. if you want to set it permanently, in fluxbox there's a file called ~/.fluxbox/init and about 2/3 of the way down the page there should be a line like this:

session.screen0.rootCommand:


to which you want to add the fbsetbg call like this:

session.screen0.rootCommand: fbsetbg -f ~/pics/nasa/explosion.jpg
 
Old 06-15-2005, 05:32 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
oh, and the monitoring program i use is gkrellm.
 
Old 06-16-2005, 11:14 AM   #5
bloodmist
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Esetroot doesnt want to work....
ksy@linux:~/back> Esetroot -scale /home/ksy/back/1x.png
Esetroot: Unable to load image file "/home/ksy/back/1x.png".

the image definantly exists. the path is also right..

when I tell it to open some unexisting image it says the same thing and when I tolg it to open a .jpg it again said that it is unable to load it....


fbsetbg:

ksy@linux:~/back> fbsetbg -f ~/home/ksy/1x.png
bash: fbsetbg: command not found

I think it only works in FluxBox and I am in openbox : ) I might try it later since I can't get tgis to work...

Feh:

repeats the problems with imlib2 saying that it can't fing a loader.....
 
Old 06-16-2005, 04:46 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
Quote:
Esetroot doesnt want to work....
ksy@linux:~/back> Esetroot -scale /home/ksy/back/1x.png
Esetroot: Unable to load image file "/home/ksy/back/1x.png".
maybe a permissions problem?
 
Old 06-16-2005, 05:21 PM   #7
bloodmist
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
no id think its the permission problem since I was doing it from a root console....
 
Old 06-16-2005, 05:27 PM   #8
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
the code you posted shows you logged in as ksy...it's possible that the .png or the directory it's in belong to root. every once in a while by accident i'll change the ownership of my home directory, or move something as root and forget to chown. it's unlikely that's your problem, but it's a thought.
 
Old 07-17-2005, 10:25 AM   #9
kaon
Member
 
Registered: Dec 2003
Location: Hong Kong SAR
Distribution: Slackware 9.1, 10.x, slackware-current
Posts: 186

Rep: Reputation: 30
Quote:
ksy@linux:~/back> Esetroot -scale /home/ksy/back/1x.png
Is there other alternative?
I dun use eterm but xterm only.

It is dull when facing a pure black screen everyday.
 
Old 07-17-2005, 11:11 AM   #10
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Sure you should be able to use fbsetbg;
What happens when you;
Code:
man fbsetbg
fbsetbg -p
 
Old 07-17-2005, 11:23 AM   #11
kaon
Member
 
Registered: Dec 2003
Location: Hong Kong SAR
Distribution: Slackware 9.1, 10.x, slackware-current
Posts: 186

Rep: Reputation: 30
I don't use fluxbox, so I don't have this command in my box.

Rather I found how to set an image as background using ImageMagick:

display -dispose background -window root /home/user/desktop.jpg

Hope this help.

Using feh this lightweight image viewer, you can set this using :

feh --bg-scale /home/user/desktop.jpg



All the commands are quoted from:
http://gentoo-wiki.com/HOWTO_Openbox
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IceWM won't set background GT_Onizuka Linux - General 3 07-22-2008 04:40 PM
Icewm doesn't set background rickenbacherus Linux - Software 1 06-21-2004 05:11 PM
how to set fluxbox background? Vincent Slackware 3 11-02-2003 04:43 PM
how do I set IceWM background? hollywoodb Linux - Newbie 3 10-25-2003 01:09 AM
How to set different background in workspaces landranger Linux - General 5 05-15-2003 01:42 AM


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