LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-06-2007, 06:41 PM   #1
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
Error using fbsetbg, FLuxbox


Hey all,

Another question from another newbie. This one has me puzzled though. I am having trouble...get ready...setting my background. In the past I have been able to do this just fine but not today. I have emerged/installed feh but when I try to use the command: fbsetbg -f <file location> I get the following error:
Quote:
feh WARNING: /home/zac/wallpapers/01156_darknesstolight_1280x800.jpg - No Imlib2 loader for that file format
feh ERROR: Couldn't load image in order to set bg
/usr/bin/fbsetbg: line 169: xmessage: command not found
Any ideas? Am I doing something ridiculously stupid?

Appreciate your help,

Zac
 
Old 03-06-2007, 06:54 PM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
You're missing xmessage. Search your package manager for it (xorg-apps is the package is *should* be in)
 
Old 03-06-2007, 10:12 PM   #3
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
That's what thought as well but the command
Quote:
emerge --search xorg | less
revealed no xorg-apps and when I simply tried
Quote:
emerge xorg-apps
there was no corresponding package.

still stumped...

Zac
 
Old 03-06-2007, 11:02 PM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Ehh, jeez...typo.

Try emerge x11-apps...sorry.

http://gentoo-portage.com/x11-apps/xmessage
 
Old 03-06-2007, 11:20 PM   #5
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
alight that worked...kind of. the x message part of the error is gone but I received an error from xmessage:
Quote:
fbsetbg: Something went wrong while setting the wallpaper. Run 'feh --bg-scale home/zac/wallpapers/01156_darknesstolight_1280x800.jpg' from an xterm to find out what
I ran it and:
Quote:
feh WARNING: /home/zac/wallpapers/01156_darknesstolight_1280x800.jpg - No Imlib2 loader for that file format
feh ERROR: Couldn't load image in order to set bg
almost there I hope. Thanks again.

Zac
 
Old 03-06-2007, 11:28 PM   #6
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Did you compile fluxbox or are you using a precompiled version? If you compiled it yourself, you need to compile it with support for imlib.
 
Old 03-06-2007, 11:34 PM   #7
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
well I emerged the latest version of imlib earlier today. I am not sure if I had to do anything else. I set imlib as a USE flag also. the actual package was imlib2 not sure if that makes a difference.

Sorry if that wasn't the most helpful thing in the world

Zac
 
Old 03-06-2007, 11:42 PM   #8
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Run this:

equery uses fluxbox

and tell me what that gives you. (equery is part of the gentoolkit package, so emerge gentoolkit if you get something like "bash: equery: command not found").
 
Old 03-06-2007, 11:53 PM   #9
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
It said:
Quote:
[ Searching for packages matching fluxbox... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-wm/fluxbox-0.9.15.1-r1 ]
U I
- - disableslit : Disable the silt. Works around bug 122380.
- - disabletoolbar : Disable the toolbar.
+ + gnome : Adds GNOME support
+ + imlib : Adds support for imlib, an image loading and rendering library
- - kde : Adds support for kde-base/kde (K Desktop Enviroment)
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
- - truetype : Adds support for FreeType and/or FreeType2 fonts
- - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
thanks so much

Zac
 
Old 03-07-2007, 12:00 AM   #10
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Umm, is it working now? I've found that using Eterm's background setter works nice, but it might be linked to the one in fluxbox...I don't know.
 
Old 03-07-2007, 10:34 AM   #11
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Alright....So I looked in the folder /usr/lib/imlib2/loaders and found out that I just don't have jpeg support along with a couple of others. I tried running fbsetbg with a .bmp file and it worked fine. I can't seem to find the package with the rest of the loaders though. so that's where I am at now....

Zac
 
Old 03-07-2007, 10:42 AM   #12
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Oh...

tell me the output of

Code:
equery uses imlib2
You might need to rebuild imlib2 with support for jpeg (duh...should've had you check that quite a while ago...my bad). If jpeg isn't highlighted (turned on), run this:

Code:
USE="jpeg" emerge imlib2
and that should fix it.
 
Old 03-07-2007, 11:23 AM   #13
xadist
LQ Newbie
 
Registered: Mar 2007
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
Working great. Thanks for all your help man, I can't thank you enough. Now on to my bigger problems Sound and Wireless internet. But those will need new posts.

Cheers,

Zac
 
Old 03-07-2007, 11:26 AM   #14
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74


Glad I could help.
 
Old 03-17-2007, 05:49 AM   #15
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Thanks for help
 
  


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
Fluxbox 0.9.13 fbsetbg not detecting any bg setter debiant Linux - Desktop 1 08-18-2006 04:12 PM
fbsetbg bug in fluxbox 0.9.12 corbis_demon Linux - Software 0 01-30-2005 08:02 AM
Fluxbox Probelm: fbsetbg error Chryyz Linux - Software 2 12-20-2004 04:52 PM
fluxbox : fbsetbg aje Slackware 1 11-13-2004 10:05 PM
Fluxbox fbsetbg Not Working! tavilach Linux - Software 1 07-14-2004 03:26 PM


All times are GMT -5. The time now is 01:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration