aMule Forum

English => aMule Help => Topic started by: CrEsPo on March 26, 2005, 08:37:03 PM

Title: Empty Tray on Fedora
Post by: CrEsPo on March 26, 2005, 08:37:03 PM
When I right-click the tray icon on Fedora I get all the columns but no text or writing. How would I solve this?

I tried switching from different tray modes even though I'm using KDE 3.3 but it gave me the same problem.

I have Fedora Core 3 and I installed from the RPM's.
Title: Re: Empty Tray on Fedora
Post by: phoenix on March 26, 2005, 09:55:07 PM
CrEsPo,

FC3 here too, but no problem. I don't understand what you mean by "I get all the columns but no text or writing". Please be more specific. What columns are you talking about? When I right click on the tray icon, I get a menu with some information and some options.

Cheers!
Title: Re: Empty Tray on Fedora
Post by: toshi on March 26, 2005, 10:04:38 PM
Fedora core 3 uses UTF-8 as default locale, and aMule RPMs are usually configured without flag '--enable-utf8-systray', so they have ASCII-encoded tray. You need to get aMule source and compile it with a proper configuration.
Try
Code: [Select]
./configure  --enable-utf8-systray
Title: Re: Empty Tray on Fedora
Post by: CrEsPo on March 26, 2005, 11:10:21 PM
Quote
Originally posted by phoenix
CrEsPo,

FC3 here too, but no problem. I don't understand what you mean by "I get all the columns but no text or writing". Please be more specific. What columns are you talking about? When I right click on the tray icon, I get a menu with some information and some options.

Cheers!

When I right-click the tray I see the menu but I don't see any text or icons. It's just grey, I would show you a screenshot but I can't take screenshot when I right-click it as far as I know of.

Quote
Originally posted by toshi
Fedora core 3 uses UTF-8 as default locale, and aMule RPMs are usually configured without flag '--enable-utf8-systray', so they have ASCII-encoded tray. You need to get aMule source and compile it with a proper configuration

Oh okay. Thanks for that information, once a couple of downloads finish I'll try that out, seems like it'll work.
Title: Re: Empty Tray on Fedora
Post by: phoenix on March 27, 2005, 12:55:59 AM
toshi,

Good observation. I did the following changes to the spec file:

Code: [Select]
#
# Tests for Fedora Core distro and then for UTF-8 enabled locale.
# For some reason, rpmbuild sets LANG="C" before executing prep section,
# so, don't waste your time :)
#
# I can put other hacks here to identify the distro and the LANG, just provide me the test.
#
if test -f /etc/redhat-release; then
DISTRO=FedoraCore
elif test -f /etc/whatever; then
DISTRO=Whatever
fi

case $DISTRO in
FedoraCore)
if grep -i "LANG" /etc/sysconfig/i18n | grep -i "UTF-8"; then
UTF8_SYSTRAY="--enable-utf8-systray"
fi
;;
Whatever)
# Do whatever.
;;
*)
# Unable to determine system locale, will not use UTF-8 systray.
;;
esac

CFLAGS="$RPM_OPT_FLAGS" ./configure ${UTF8_SYSTRAY} \
        --prefix=%{_prefix} \
        --disable-optimize \
...
 

Works fine here, please test. Anyone with Suse or Mandrake could please provide me the tests for the distro.

Cheers!
Title: Re: Empty Tray on Fedora
Post by: skolnick on March 27, 2005, 07:12:32 PM
I compile without the UTF-8 systray, and works fine. So I don't know what the problem may be

Regards.