A Better Future Through Panel Applets - Presentation Transcript
A Better Future Through
Panel Applets
Davyd Madeley
GNOME Applets Maintainer
About Me
Current GNOME Applets Maintainer
●
have been, since about GNOME 2.7.1
–
Studying Electronic Engineering and Computer
●
Science at the University of Western Australia
Help Hackers Beer Fund
Help system hackers need drinks too
●
Buy Shaun a beer today!
●
About the Panel
GNOME has had a panel... forever
●
The panel contains two types of
●
items;launchers and applets
Each applet type is its own process which
●
appears in the panel via Bonobo
Multiple applets of the same type share a
●
process, each is instantiated from the Bonobo
factory
Why Do We Want New Applets?
The current API has limitations
●
Has no links to session management
–
No easy way to remove applets from the panel
–
Applets are hard to debug (for some)
–
A portable API that works on other desktops?
●
XFCE? KDE?
–
People are writing notification icons instead of
–
panel applets for portability to KDE
Drop the dependency on Bonobo?
●
There is a big move away from Bonobo in GNOME
–
Types of Applets
There are three types of applets:
●
session based applets
–
clock, multiload, wncklet, gweather
●
hardware based applets
–
battstat, netstatus, mixer, cpufreq
●
notification applets
–
gaim, muine, rhythmbox
●
What Should Good Applets Do?
Applets should be easy to add and remove
●
from the panel
Hardware applets should “Plug and Play”
●
appears when the hardware is inserted; vanishes
–
when removed
Drop down menus and interaction should be
●
consistent between applets
You should be able to move the mouse
●
between applets and have the menu focus
follow pointer (like a traditional menu)
Options, Options, Options
Rewrite entire of Panel?
●
not such a great idea
–
we'll end up bringing lots of old bugs back to life
–
Rewrite libpanel-applet
●
this might be ok
–
can we use the same API for all three types of
–
applets?
base all applets around the Notification Area spec, but
●
with extra wrapping
Notification Area is an accepted specification on other
●
platforms: KDE? XFCE?
Rethinking Applets
Turn entire panel into one big system tray that
●
you can easily add or remove applets from
Instead of adding applets in a specific place,
●
you have cursors where types of applets are
placed
Still able to drag applets around
●
D-BUS IPC
●
???
●
Adding Applets to the Panel
Adding Applets to the Panel
Fin ;)
Questions? Ideas? Suggestions?
gnome-utils-list@gnome.org
www.davyd.id.au/articles.shtml
2 comments
Comments 1 - 2 of 2 previous next Post a comment