You are not logged in.

#1 2008-10-09 16:01:36

domanov
Member
From: Italy
Registered: 2006-11-10
Posts: 45

simplest way to get a systray icon

Hi all,

I mainly use fluxbox without desktop icons (no idesk/fbdesk. Yes, I am a keyboard only minimalist. ). Tough, I have a couple of bash/zenity scripts which I would like to 'reach' with the mouse (... when I'm lying in bed looking to a movie with only my mouse at hand). Of course I made a fluxbox-menu entry. But it is not portable to other DE, as a systray-iconified launcher is.

Long story short, I would like to create a systray icon which allows to choose my scripts. How is it done? I mean, shall I learn python/perl and pyqt/pygtk/perlgtk to accomplish this very simple task? If yes, could anyone point me to a simple implementation to copy from?

Thanks,

domanov

Offline

#2 2008-10-09 17:53:59

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: simplest way to get a systray icon

bbdock. It's portable to all *box window managers that feature dock support.

Last edited by thayer (2008-10-09 17:54:48)


thayer williams ~ cinderwick.ca

Offline

#3 2008-10-09 18:59:24

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: simplest way to get a systray icon

9menu is supposed to be a WM independent menu similar to *box menus.
Never used it, though.

You could also use dmenu or dzen2.

Last edited by moljac024 (2008-10-09 18:59:43)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2008-10-09 19:48:34

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: simplest way to get a systray icon

It's really simple to write if you only want to have tray icon with popup menu that will contain items like fluxbox menu. I could try to write it on weekend if you like.

Offline

#5 2008-10-10 00:50:58

domanov
Member
From: Italy
Registered: 2006-11-10
Posts: 45

Re: simplest way to get a systray icon

Husio wrote:

It's really simple to write if you only want to have tray icon with popup menu that will contain items like fluxbox menu. I could try to write it on weekend if you like.

That's indeed very nice of you. Ginkuye!
And how will you do it? Python? Plain qt (c++)? Or gtk?

Cheers,
domanov

Offline

#6 2008-10-10 06:45:04

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: simplest way to get a systray icon

GTK and C or Python.

----------------------- Update -----------------------

@domanov:
here's quick Python code, just to check if that's what you want: http://paste.pocoo.org/show/87605

Last edited by Husio (2008-10-10 15:14:37)

Offline

#7 2008-10-10 15:28:20

domanov
Member
From: Italy
Registered: 2006-11-10
Posts: 45

Re: simplest way to get a systray icon

Husio wrote:

@domanov:
here's quick Python code, just to check if that's what you want: http://paste.pocoo.org/show/87605

That is definitely what I wanted! Thanks!
Ok, you did convince me: I'll start learning python and gtk. (And I'll contact you for hints, right ? wink )

Take care,
domanov

Offline

Board footer

Powered by FluxBB