PDA

View Full Version : Systray Manipulation



dael99
May 8th, 2009, 10:33 PM
Is there any way to manipulate system tray icons...

I mean replacing the contextual menus of the icons in the system tray with something else... inherit those icons, and replacing the tray.

(this is related to a personal idea respecting the contextual menu of dockbarX)

SKLP
May 8th, 2009, 11:54 PM
You can create your own notification area (tray) icons using the Gtk.StatusIcon class (available in many programming languages).
If you wan't to modify existing icons the best way would probably to get the source code of the application providing the icon in question(since most are open source).

dael99
May 12th, 2009, 06:27 PM
You can create your own notification area (tray) icons using the Gtk.StatusIcon class (available in many programming languages).
If you wan't to modify existing icons the best way would probably to get the source code of the application providing the icon in question(since most are open source).

thanks, but i thinks you have misunderstood. What i want is to manipulate the existing applications in the systray, including network manager)

I think we shouln't have icons in the systray, because they are only there toshow extra menu actions that should be attached to the ricght click of the app in the taskbar.

Is there a way to access the data of the systray??

SKLP
May 13th, 2009, 07:31 PM
The way the systray works is that you start a process (an application) and the app that wants to display an icon "talks" to the systray. So if you want to manipulate the icons, modifying the applications which provide them should be the most obvious way to do that.

dael99
May 15th, 2009, 09:58 PM
The way the systray works is that you start a process (an application) and the app that wants to display an icon "talks" to the systray. So if you want to manipulate the icons, modifying the applications which provide them should be the most obvious way to do that.

no no no.

I want to make a replacement for the systray...
A new way to show notifications icons (no to modify an icon)

well, in fact, i want to replace the systray with something else.

https://blueprints.launchpad.net/ubuntu/+spec/replace+taskbar+and+systray