Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox system tray [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Mon Jan 16, 2006 6:50 am    Post subject: fluxbox system tray [SOLVED] Reply with quote

I switched over to fluxbox the other day because Gnome was eating up all my memory and felt really slow on my notebook.

However, there are a couple of things I dearly miss in fluxbox. One of them is the system tray. Nabi, gaim, xmms, etc. automatically appear in Gnome's system tray. So far I've failed to get the same behaviour in fluxbox. Screenshots of other users show that this is possible: screenshot 1, screenshot 2, screenshot 3.

What did I miss?


Last edited by Barnoid on Thu Jan 19, 2006 10:17 am; edited 1 time in total
Back to top
View user's profile Send private message
ne0_2k
Apprentice
Apprentice


Joined: 26 Nov 2005
Posts: 243

PostPosted: Mon Jan 16, 2006 9:40 am    Post subject: Reply with quote

emerging fluxbox with the "gnome" flag did it for me..
Back to top
View user's profile Send private message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Mon Jan 16, 2006 9:45 am    Post subject: Reply with quote

hmm...here are my USE flags for fluxbox:

Code:
c3p0 # emerge -pv fluxbox
[ebuild   R   ] x11-wm/fluxbox-0.9.14-r1  +gnome +imlib -kde +nls +truetype -xinerama


I guess it must be something else then. Do you have the 'kde' flag enabled?
Back to top
View user's profile Send private message
ne0_2k
Apprentice
Apprentice


Joined: 26 Nov 2005
Posts: 243

PostPosted: Mon Jan 16, 2006 10:00 am    Post subject: Reply with quote

nope same as yours:
Code:

[ebuild   R   ] x11-wm/fluxbox-0.9.14-r1  +gnome +imlib -kde +nls +truetype -xinerama 0 kB


this is from the wiki:
Code:

Existing USE Flags for fluxbox are:

gnome imlib kde nls truetype xinerama

    * gnome

Adds gnome support to fluxbox. For example, if you use gaim you will see a gaim icon in systray.

    * kde

Adds kde support to fluxbox. For instance, if using kopete you will see a kopete icon in systray.

Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Mon Jan 16, 2006 12:16 pm    Post subject: Reply with quote

I emerged it with the same flags and it worked out of the box for me.
Back to top
View user's profile Send private message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Wed Jan 18, 2006 5:48 am    Post subject: Reply with quote

I emerged fluxbox on my desktop computer (running Gnome usually), and the systray worked just fine.

I re-emerged fluxbox on by notebook, systray doesn't show up. Installed Gnome, systray doesn't show up. Re-emerged fluxbox again, but the systray doesn't show up. I guess I'll have to do a fresh install (again...) and pray.

Thnx for your help anyway.
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Wed Jan 18, 2006 7:04 am    Post subject: Reply with quote

Have you tried removing the ~/.fluxbox directory for the user you are trying with? Or created a new test user and tried running flux?
Back to top
View user's profile Send private message
broken_chaos
Guru
Guru


Joined: 18 Jan 2006
Posts: 370
Location: Ontario, Canada

PostPosted: Wed Jan 18, 2006 7:58 am    Post subject: Reply with quote

Try opening up your ~/.fluxbox/init file in your editor, and look for the line that starts with "session.screen0.toolbar.tools" like this:

Code:
session.screen0.toolbar.tools:   workspacename, prevworkspace, nextworkspace, iconbar, systemtray, clock


That's mine. See if yours is missing the "systemtray" part of the line, and, if it is, add it in there. If it isn't, perhaps you need to check your individual applications for if they're setup to use the system tray?

By the way, you don't need +gnome or +kde USE flags for system tray support... Works fine here with these:
[ebuild R ] x11-wm/fluxbox-0.9.14-r1 -gnome +imlib -kde +nls +truetype -xinerama 0 kB
Back to top
View user's profile Send private message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Thu Jan 19, 2006 4:34 am    Post subject: Reply with quote

Thanks for your tips.

In the meantime I've reinstalled my notebook from scratch...and found out that the problem lies not with fluxbox, but with the applications that do not use the system tray. Here's what I've done:

1) install system ('system' + logger, cron + grub), reboot
2) upgrade to gcc 3.4.4, recompiled everything with emerge -e system && emerge -e world
3) installed qingy
4) installed fluxbox with the following flags (gnome+kde flags set in /etc/portage/package.use):
Code:
[ebuild   R   ] x11-wm/fluxbox-0.9.14-r1  +gnome +imlib +kde +nls +truetype -xinerama 0 kB

5) installed gaim, xmms, nabi and azureus-bin:
Code:
[ebuild   R   ] net-im/gaim-1.5.0  +cjk -debug -eds -gnutls -krb4 -nas +nls +perl -silc +spell -tcltk 0 kB
[ebuild   R   ] media-sound/xmms-1.2.10-r15  -3dnow +alsa -arts -directfb +esd -flac -jack -lirc +mad -mikmod +mmx +mp3 +nls -oss -sndfile +vorbis 0 kB
[ebuild   R   ] app-i18n/nabi-0.14  0 kB
[ebuild   R   ] net-p2p/azureus-bin-2.3.0.4  +gtk -kde 0 kB


Azureus and nabi both show up in the system tray, but gaim and xmms don't. On my desktop computer, gaim and xmms show up in fluxbox's system tray, so I thought I'd compare the emerge flags:
Code:
[ebuild   R   ] net-im/gaim-2.0.0_beta1-r3  -bonjour +cjk +dbus -debug +eds -gnutls -krb4 -mono +nas +nls +perl -silc +spell +tcltk +xscreensaver 0 kB
[ebuild   R   ] media-sound/xmms-1.2.10-r15  -3dnow +alsa +arts +directfb +esd -flac -jack -lirc +mad +mikmod +mmx +mp3 +nls +oss -sndfile +vorbis 0 kB


Since they are (almost) equal, I figured it must be some kind of check during ./configure that does not have a USE flag. I recompiled xmms on both machines and compared the output. Apart from the CFLAGS (the notebook is a Pentium M, the desktop a P4), the compilation process was identical.

Here are my USE flags:
Code:
USE="-* x86 acpi aim alsa avi berkdb bitmap-fonts bzlib bzip2 cdr cjk crypt cups divx4linux dvd encode esd exif fbcon fortran ftp font-server gdbm gif gphoto2 gpm gtk gtk2 icq imagemagick imap imlib ipv6 java jpeg mad mmx motif mp3 mpeg msn ncurses nls nsplugin ogg oggvorbis opengl pam pdflib perl png python quicktime real readline session spell sse sse2 ssl tcpd tiff truetype truetype-fonts unicode v4l X xml2 xmms xvid xv wifi yahoo zlib"


And the world file:
Code:
app-i18n/nabi
media-sound/xmms
x11-themes/fluxbox-styles-fluxmod
sys-kernel/linux-headers
app-vim/fluxbox-syntax
sys-devel/gettext
x11-themes/commonbox-styles
sys-devel/distcc
app-editors/vim
sys-process/vixie-cron
sys-boot/grub
x11-misc/xlockmore
x11-terms/eterm
net-misc/dhcpcd
x11-themes/commonbox-styles-extra
dev-util/ccache
sys-libs/glibc
app-admin/syslog-ng
app-editors/nano
sys-apps/qingy
app-arch/gzip
sys-kernel/gentoo-sources
net-im/gaim
x11-wm/fluxbox
net-p2p/azureus-bin
media-libs/libmikmod
sys-apps/fbset


Note that I have not installed anything Gnome related.

Can anybody point me in the right direction? I guess some library is missing, but which one?
Back to top
View user's profile Send private message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Thu Jan 19, 2006 10:17 am    Post subject: Reply with quote

To enable the system tray for
- Gaim: Preferences -> Plugins -> System Tray Icon
- XMMS: emerge xmms-status-plugin, Options->Preferences->General Plugins->enable Status Docklet

:oops:
Back to top
View user's profile Send private message
FuckingFreaky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 128

PostPosted: Thu Jan 19, 2006 1:49 pm    Post subject: Reply with quote

Sorry for the offtopic, but... do you know any similar status plugin for beep-media-player?

Thx. Cheers!
Back to top
View user's profile Send private message
Barnoid
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 103

PostPosted: Fri Jan 20, 2006 1:34 am    Post subject: Reply with quote

FuckingFreaky wrote:
Sorry for the offtopic, but... do you know any similar status plugin for beep-media-player?

Thx. Cheers!


After
Code:
# emerge bmp-docklet

start BMP, Preferences->Plugins->General, and enable the Docklet Plugin.
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Sun Jan 22, 2006 7:54 am    Post subject: Reply with quote

just a side note:
i've got fluxbox installed with USE="-kde -gnome +gtk2 (a bunch of others flags)" and systray works out of the box.
at the momment kmix, klipper, psi, xmms, amarok, amsn(hate it), xchat and xpad sits beautifully in systray.
therefore most of the apps that use systray are qt based, the gtk ones even worked before for me.
gotta love fluxbox.
Back to top
View user's profile Send private message
kamagurka
Veteran
Veteran


Joined: 25 Jan 2004
Posts: 1026
Location: /germany/munich

PostPosted: Wed Feb 08, 2006 7:03 pm    Post subject: Reply with quote

revertex wrote:
just a side note:
i've got fluxbox installed with USE="-kde -gnome +gtk2 (a bunch of others flags)" and systray works out of the box.
at the momment kmix, klipper, psi, xmms, amarok, amsn(hate it), xchat and xpad sits beautifully in systray.
therefore most of the apps that use systray are qt based, the gtk ones even worked before for me.
gotta love fluxbox.

What systray? Do you have one installed or do the programs just put their icons in the slit?
_________________
If you loved me, you'd all kill yourselves today.
--Spider Jerusalem, the Word
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Wed Feb 08, 2006 11:13 pm    Post subject: Reply with quote

kamagurka wrote:

What systray? Do you have one installed or do the programs just put their icons in the slit?

Forgive me if i'm not so clear, i'm talking about fluxbox toolbar.
Maybe you can have a better idea looking at this screenshot showing gaim icon,
http://fluxbox.sourceforge.net/images/shots/ikaro_fluxbox1.jpg

or here, http://img426.imageshack.us/img426/1691/systray6qw.jpg showing a bunch of icons.
Back to top
View user's profile Send private message
brantleyr
n00b
n00b


Joined: 06 May 2006
Posts: 5

PostPosted: Thu May 11, 2006 12:37 am    Post subject: Reply with quote

my fluxbox system tray icon works but the theme is bad, does not match my fluxbox theme, is there any way I can change this?
Back to top
View user's profile Send private message
daniel1988
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2005
Posts: 88
Location: Serbia

PostPosted: Fri May 12, 2006 10:30 pm    Post subject: Reply with quote

Got similar problem. Azureus, amaroK, XChat are being shown in systray, but Psi & LimeWire aren't.
Code:
[ebuild   R   ] x11-wm/fluxbox-0.9.15  -disableslit -gnome +imlib -kde +nls +truetype -xinerama 0 kB


Anyone with solved problem this alike?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum