[SOLVED] fluxbox menu does not accept png icons
[SOLVED] fluxbox menu does not accept png icons
Strangely, fluxbox in Salix does not accept png files as icons in the menu file - those within the <> brackets. Pretty much the same identical version of fluxbox on another machine does. This is according to what the fluxbox page says
"The <'icon'> field is always optional when shown below. If specified, the icon will be scaled down and displayed in the menu alongside the text label of the item. It must be in .xpm or .png format."
So, may be there is something in the general Salix settings that i should tweak?
"The <'icon'> field is always optional when shown below. If specified, the icon will be scaled down and displayed in the menu alongside the text label of the item. It must be in .xpm or .png format."
So, may be there is something in the general Salix settings that i should tweak?
Last edited by jsfarinet on 3. Dec 2014, 11:58, edited 3 times in total.
Re: fluxbox menu does not accept png icons
No, the slackware fluxbox package is compiled without imlib2 support, which is needed for rendering png icons, as imlib2 is not part of slackware. Either stick with it, or install imlib2 and rebuild the fluxbox package the way you like.
Re: fluxbox menu does not accept png icons
Ah i see, ok so far (no configuration error on my side).gapan wrote:No, the slackware fluxbox package is compiled without imlib2 support, which is needed for rendering png icons, as imlib2 is not part of slackware. Either stick with it, or install imlib2 and rebuild the fluxbox package the way you like.
Re: fluxbox menu does not accept png icons
Yes, the menu accepts only .xpm format icons.
I just change the ones needed from .png to .xpm
I just change the ones needed from .png to .xpm
Re: fluxbox menu does not accept png icons
Imlib2 is installed here. Now, i tried to rebuild fluxbox from source. But, doing make, i'm getting this error:gapan wrote:No, the slackware fluxbox package is compiled without imlib2 support, which is needed for rendering png icons, as imlib2 is not part of slackware. Either stick with it, or install imlib2 and rebuild the fluxbox package the way you like.
Code: Select all
g++: Fehler: @my_libs@: Datei oder Verzeichnis nicht gefunden
make[4]: *** [fluxbox] Fehler 1
make[4]: Leaving directory `/home/uli/Downloads/fluxbox-1.3.5/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/uli/Downloads/fluxbox-1.3.5/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/uli/Downloads/fluxbox-1.3.5/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/uli/Downloads/fluxbox-1.3.5'
make: *** [all] Fehler 2
TIA!
Re: fluxbox menu does not accept png icons
Are you trying to compile it manually? You should use the slackbuild to create a package.
Re: fluxbox menu does not accept png icons
Yes, it's a tarball i downloaded from the fluxbox site. Where do i get the slackbuild package? In gslapt i'll get the binary without imlib2 support, i guess ...gapan wrote:Are you trying to compile it manually? You should use the slackbuild to create a package.
PS. The one i get from http://packages.slackware.com/?r=slackw ... i486-1.txz seems to have no options (no options at all) regard Imlib2 support.
Re: fluxbox menu does not accept png icons
Download all files from here: http://download.salixos.org/i486/slackw ... p/fluxbox/
put them in the same directory. And...
and after it finishes look for the new package in your /tmp.
put them in the same directory. And...
Code: Select all
chmod +x fluxbox.SlackBuild
fakeroot ./fluxbox.SlackBuild
Re: fluxbox menu does not accept png icons
Thanks a lot for all that info. I followed your advice precisely, but unfortunately it ended up with the same error:gapan wrote:Download all files from here: http://download.salixos.org/i486/slackw ... p/fluxbox/
put them in the same directory. And...and after it finishes look for the new package in your /tmp.Code: Select all
chmod +x fluxbox.SlackBuild fakeroot ./fluxbox.SlackBuild
Code: Select all
g++: Fehler: @my_libs@: Datei oder Verzeichnis nicht gefunden
make[4]: *** [fluxbox] Fehler 1
make[4]: Leaving directory `/tmp/fluxbox-1.3.5/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/tmp/fluxbox-1.3.5/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/tmp/fluxbox-1.3.5/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/fluxbox-1.3.5'
make: *** [all] Fehler 2
Re: fluxbox menu does not accept png icons
There is a bug in imlib2-config. See here. http://git.enlightenment.org/legacy/iml ... 5dde234b2djsfarinet wrote:mlib2 is installed here. Now, i tried to rebuild fluxbox from source. But, doing make, i'm getting this error:
...
The easiest way to fix it is to edit the file directly. Do the following:
Code: Select all
$ sudo geany /usr/bin/imlib2-config
Code: Select all
echo $libdirs -lImlib2 @my_libs@
Code: Select all
echo $libdirs -lImlib2
It worked here. I was able to reproduce your build error and then after making the change to the imlib2-config the fluxbox package built without problems. Don't know if the package works, but it does build.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"