[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#608230: ITP: xmonad-log-applet -- GNOME panel applet that displays xmonad log messages using D-Bus



On Wed, Dec 29, 2010 at 10:00:47AM +0100, Josselin Mouette wrote:
> Le mardi 28 décembre 2010 à 21:20 -0200, Rafael Cunha de Almeida a
> écrit :
> >  Xmonad is able to print status messages using D-Bus interface. This
> >  GNOME panel applet is able to display that information to the user. It
> >  is capable of displaying information such as window title and current
> >  workspace number.
> > 
> > I think it could be the case of this going to gnome-applets. The reason
> > I think it probably shouldn't go there is that this is a very specific
> > applet, for people who use gnome together with xmonad, instead of
> > metacity. So having it in gnome-applets would probably be confusing to
> > users not familiar with this sort of things.
> 
> I don’t understand the reason for making this xmonad-specific. Why not
> improve the wnck applet so that it is able to just display the title of
> the currently active window, instead?

xmonad-log-applet allows for any string to be written to it.  So I print
the current window layout, the current workspace and the window name.
The way I have xmonad setup it even paints red the number of the
workspace which has a window with the urgency bit set. I could configure
things differently, xmonad has a feature called logHook that allows you
to output all kinds of status information.

Of course, all that could be implemented by coding window list and
workspace switcher, though it would probably need a new applet for
showing the layout status anyway. However, I think having an applet for
printing xmonad's logHook information (or any string, for that matter)
is much easier to implement (it is already done) and much more flexible.
All in all, it serves well my purposes and I intend to keep on using it.
If it's of interest for Debian community, I can maintain the package.



Reply to: