LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-20-2007, 11:06 AM   #1
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Rep: Reputation: 30
fbsetbg under fluxbox doesn't work


I recently reinstalled gentoo on my computer and now i fbsetbg doesn't work, when i run

Code:
# fbsetbg -c someimg.jpg
it just spits some information about Imagemagick


Code:
# fbsetbg -c blah.jpg
Version: ImageMagick 6.3.3 04/19/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

Usage: display [options ...] file [ [options ...] file ...]

Image Settings:
  -antialias           remove pixel-aliasing
  -authenticate value  decrypt image with this password
  -backdrop            display image centered on a backdrop
  -channel type        apply option to select image channels
  -colormap type       Shared or Private
  -colorspace type     alternate image colorspace
  -comment string      annotate image with comment
  -compress type       type of pixel compr..............
What does this mean and how do i fix this?
 
Old 04-20-2007, 04:14 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Somehow fbsetbg became an alias (or a symlink?) of Imagemagick's display program. Run
Code:
which fbsetg
and then
Code:
ls -l /path/to/fbsetbg
to see if it's a symlink, or run
Code:
alias
to see if it's an alias of display and try to correct it accordingly.

Regards
 
Old 04-21-2007, 07:12 AM   #3
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory
Somehow fbsetbg became an alias (or a symlink?) of Imagemagick's display program. Run
Code:
which fbsetg
and then
Code:
ls -l /path/to/fbsetbg
to see if it's a symlink, or run
Code:
alias
to see if it's an alias of display and try to correct it accordingly.

Regards

Im afraid it is already pointing to what i think is the right file;

Code:
$ which fbsetbg
/usr/bin/fbsetbg
Code:
$ ls -l /usr/bin/fbsetbg
-rwxr-xr-x 1 root root 16066 Apr 19 20:18 /usr/bin/fbsetbg
 
Old 04-21-2007, 08:05 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
What happens if you run it using the whole path, i.e:
Code:
/usr/bin/fbsetbg -c blah.jpg
.Also note that fbsetbg is a shell script, so you can open it with an editor and take a look at its contents.
 
Old 04-21-2007, 08:24 AM   #5
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory
What happens if you run it using the whole path, i.e:
Code:
/usr/bin/fbsetbg -c blah.jpg
.Also note that fbsetbg is a shell script, so you can open it with an editor and take a look at its contents.
That gave me same result as ordinary # fbsetbg -c blah.jpg

I tried unmerging imagemagick, then i got a error:

Code:
fbsetbg: I can't find an app to set the wallpaper with. You can install one in
many many ways but I will give you some simple advice: install Eterm and
you're set. Eterm provides Esetroot and thats a great wallpaper setter. I
recommend you install the package provided by your distro.
I tried emerging Eterm but i got another error:

Trimmed due to length.
Code:
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -o .libs/Eterm main.o  -L/usr/lib ./.libs/libEterm.so /usr/lib/libImlib2.so /usr/lib/libfreetype.so -lz /usr/lib/libXRes.so /usr/lib/libXmu.so /usr/lib/libXt.so -lutempter /usr/lib/libast.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libpcre.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lutil -lm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm
./.libs/libEterm.so: undefined reference to `imlib_render_pixmaps_for_whole_image'
./.libs/libEterm.so: undefined reference to `imlib_context_set_display'
./.libs/libEterm.so: undefined reference to `imlib_render_pixmaps_for_whole_image_at_size'
./.libs/libEterm.so: undefined reference to `imlib_context_set_colormap'
./.libs/libEterm.so: undefined reference to `imlib_context_set_drawable'
./.libs/libEterm.so: undefined reference to `imlib_context_set_visual'
./.libs/libEterm.so: undefined reference to `imlib_free_pixmap_and_mask'
collect2: ld returned 1 exit status
make[2]: *** [Eterm] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-terms/eterm-0.9.4/work/Eterm-0.9.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-terms/eterm-0.9.4/work/Eterm-0.9.4'
make: *** [all] Error 2

!!! ERROR: x11-terms/eterm-0.9.4 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3078:   Called src_compile
  eterm-0.9.4.ebuild, line 47:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-terms/eterm-0.9.4/temp/build.log'.
 
Old 04-23-2007, 02:57 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You should take a look here about the error you get. If you've installed imlib2 correctly and you cannot install Eterm, you can use feh to set you wallpaper (mind that it also needs imlib2 and also the giblib library.

Regards
 
Old 04-23-2007, 03:55 AM   #7
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
What USE flags are set on imlib? Just curious...
 
Old 04-23-2007, 03:40 PM   #8
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
The command, if I remember correctly is:

Quote:
fbsetbg -f pathname
 
Old 04-23-2007, 03:48 PM   #9
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
fbsetbg -c wallpaper.jpg is for centered wallpaper.

fbsetbg -f wallpaper.jpg is for fullscreen.

Try this: fbsetbg -i and post the output...if you find one you like, then you can do fbsetbg -u wallpapersetter to explicitly use that wallpaper-setter.

Last edited by rocket357; 04-23-2007 at 03:53 PM.
 
Old 04-23-2007, 04:18 PM   #10
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Oops. My bad. I'm really sorry, been a while since I used Fluxbox.
 
Old 04-23-2007, 10:01 PM   #11
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
No need to apologise, Kalabanta...technically speaking, either way is correct heh

Pshythax: what use flags did you compile imlib with? (This next section is "just in case"...don't think I'm trying to insult your intelligence if you already know this bit)

emerge gentoolkit, then run 'equery uses imlib2' to see what use flags were enabled when you compiled imlib2. Post them here, I'm curious to see what you have going.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [fluxbox] fbsetbg has a difficulty lord_didger Linux - Desktop 4 10-13-2009 05:40 PM
Error using fbsetbg, FLuxbox xadist Linux - Newbie 14 03-17-2007 04:49 AM
fbsetbg bug in fluxbox 0.9.12 corbis_demon Linux - Software 0 01-30-2005 07:02 AM
fluxbox : fbsetbg aje Slackware 1 11-13-2004 09:05 PM
Fluxbox fbsetbg Not Working! tavilach Linux - Software 1 07-14-2004 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:37 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
Open Source Consulting | Domain Registration