LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error using fbsetbg, FLuxbox (https://www.linuxquestions.org/questions/linux-newbie-8/error-using-fbsetbg-fluxbox-535198/)

xadist 03-06-2007 05:41 PM

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

rocket357 03-06-2007 05:54 PM

You're missing xmessage. Search your package manager for it (xorg-apps is the package is *should* be in)

xadist 03-06-2007 09:12 PM

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

rocket357 03-06-2007 10:02 PM

Ehh, jeez...typo.

Try emerge x11-apps...sorry.

http://gentoo-portage.com/x11-apps/xmessage

xadist 03-06-2007 10:20 PM

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

rocket357 03-06-2007 10:28 PM

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.

xadist 03-06-2007 10:34 PM

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

rocket357 03-06-2007 10:42 PM

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").

xadist 03-06-2007 10:53 PM

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

rocket357 03-06-2007 11:00 PM

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.

xadist 03-07-2007 09:34 AM

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

rocket357 03-07-2007 09:42 AM

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.

xadist 03-07-2007 10:23 AM

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

rocket357 03-07-2007 10:26 AM

:D

Glad I could help.

kernel_geek 03-17-2007 04:49 AM

Thanks for help :D


All times are GMT -5. The time now is 09:56 PM.