This is as days pass by, by Stuart Langridge

And this is Hacking Gnome panel applets is too hard, written , and concerning Rants, Linux

Luis Villa complains about there being no really decent Gnome weblog posting program, and he's not wrong. Personally, i use the web UI for Wordpress, but I used to use both gnome-blog and BloGTK. I thought that I might hack category support into gnome-blog, because it's in Python and ought to be pretty trivial to do. However, it seems to be rather difficult to hack on a panel applet. For a start, it has to be installed into /usr (or at least the .server file has to be). So that needs to be done as root. Secondly, the configure file for gnome-blog seems to want the pygtk development files, which I don't understand; it's all Python! The development files are for compiling C against the pygtk headers, aren't they? Thirdly, in order to test a change I'd made I'd need to remove the applet, install my new version, and re-add it to the panel. That seems really hard to me; it enforces a C-ish "make a change, run a script to 'compile' it, restart" sort of workflow on me, and not having to do that with Python is one of the reasons I like Python. Why can't I install an applet somewhere in my home directory? (answer, according to #gnome: bonobo.) That would make things much easier. Apparently there may be a configuration option or compile-option to pass to bonobo that will make it look in other places for .server files, but that sort of low-level tweaking scares me. If it's that easy, I'd love to see distros incorporate that little switch as a matter of course, so that the panel will be able to load applets with their .server files in $HOME/.local/servers or similar. Anyway, I won't be hacking gnome-blog any time soon. Deskbar is also an applet, and presumably suffers the same problem, but it has a -w option to run it in a window. It would be great if other applets supported that. Failing that: what's the workflow for trying out an applet? I can't see any way of making it easy...

Comments

Luis

gnome-blog runs fine as a standalone app; that is how I've always used it- forgot it was could also be an applet, in fact, and was having a hard time figuring out why your post related before I read the whole thing :) And I wouldn't characterize it as no 'decent' blog app; if you don't use categories (and lots and lots of people don't use categories) and only use one blog (and most people only have one blog) gnome-blog is a really great little app. So more like 'no decent one for my slightly advanced needs.'

James

Davyd wrote this fantastic article on how to debug gnome applets (short version: kill the applet, then run your local version before pressing reload on the resulting dialog).

andrew

slightly off topic but, on ubuntu i use flock (the browser) to post blog entries. it makes uploading images, spelling check etc very easy.

sil

Ahaha. I did poke around the sources for an option to run it as a program, but I couldn't see anything; it never occurred to me to just, y'know, run the thing. :)

I'll give that a try.

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.