aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Empty Tray on Fedora  (Read 2167 times)

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Empty Tray on Fedora
« 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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Empty Tray on Fedora
« Reply #1 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!
Logged

toshi

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 67
Re: Empty Tray on Fedora
« Reply #2 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
« Last Edit: March 26, 2005, 10:11:42 PM by toshi »
Logged
God is real, unless declared as integer...

CrEsPo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://www.inter.it
Re: Empty Tray on Fedora
« Reply #3 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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Empty Tray on Fedora
« Reply #4 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!
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Empty Tray on Fedora
« Reply #5 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.
Logged