SlickPanel 0.02 Released!

Hi! After a long wait, SlickPanel 0.02 has been released.

The changes in this release include lots of bug fixes, but most of all the ability to configure your panel. While not all of this is completely finished (some things like changing the background of the panel and its orientation and not fully complete yet), the majority is.

To configure SlickPanel, all you have to do is run:

slickpanel-settings

And you will open the SlickPanel Settings application:

Remember that this is still early days and so SlickPanel is not what I would call stable yet :) However if you do want to try it out, check out the installation instructions here.

Development of SlickPanel : Configuration

I thought since it has been a while since I posted anything on SlickPanel, I would update you on what I am currently doing on it. At the moment I am both creating a configuration backend for SlickPanel and a program to configure it. To do this I am parsing an XML file (with libxml2) which looks something like this:

<slickpanel:settings> <slickpanel:panel > 

All of this code, which is both common to the actual panel, and the settings program is compiled into a static library so that I can call it from both applications.

The settings program itself will look something like this:

Of course all is coded in Vala and GTK3 :)

LetMeRead : Google Reader

While I think the new Google Reader changes are miles better than the old Google Reader, like others, I think the chrome takes up too much space, and not enough room is allocated to the actual RSS items you are reading.

So I fired up Greasemonkey and created a userscript called LetMeRead that does two things:

  1. Reduces padding on the top bars of Google Reader and adds a border to the right of the sidebar
  2. Adds a Show/Hide button to toggle the visibility of the secondary bar (contains the subscribe button etc.)

Google Reader with LetMeRead installed and the toolbar hidden

Google Reader with LetMeRead installed and the toolbar showing

Google Reader without LetMeRead installed

It has been designed to integrate flawlessly into Google Reader itself and be as unobtrusive as possible. You can install it from its page on userscripts.org

Presenting SlickPanel

When I switched to Oneiric, I tried Unity and GNOME Shell however I found I preferred my classic setup of GNOME Panel and used a external application launcher.

However, I was surprised to find that GNOME Panel had not very well maintained in Oneiric. In fact it is buggy and I had to go through some effort to get Indicators working on it.

After looking at GNOME Panel and other options (such as wingpanel) I realised there was not a quick, stable, extensible (and pretty!) desktop panel for GTK.

So I made one :)

SlickPanel is a modern panel that provides common tools such as a list of open windows and an indicator bar.

Its goals are:

  • Provide a robust, and quick desktop panel
  • Make it easy to customise and extend, rather than hide options
  • Use modern technologies rather than be backwards-compatible
  • Make it easy to hack on!

Current Status

SlickPanel is not ready for production use, this is an alpha release. Currently it will provide a panel at the top of the screen, containing a list of open windows (which can be minimized, maximized etc.) and the list of indicators.

In the next release I will try to focus on customisability (is that a word?) – making it easy to configure SlickPanel exactly the way you want it (https://blueprints.launchpad.net/slickpanel/+spec/configuration).

How to Install

Add the SlickPanel Daily PPA to your Software Sources and the install the package slickpanel. Then run it using the command slickpanel

More Info

All other information can be found on Launchpad (launchpad.net/slickpanel) and if anyone wants to get involved with developing etc. please get in touch (launchpad.net/~and471)

Really useful development app – Parasite

Have you ever used a tool such as Firebug when developing websites? Such tools can be very useful, as they allow you to change properties in real time, and find out why something isn’t how it should be.

Recently I discovered Parasite, which serves the same purpose, but instead of manipulating webpages, it allows you to manipulate GTK programs!

Needless to say, Parasite is now invaluable for me when developing, especially when I try to do some funky stuff with GTK :)

I don’t know why I didn’t know about Parasite before, or why it hasn’t had more publicity, but it really is a useful tool. All you have to do is install Parasite (click here) and then to use it, open a Terminal and run:

GTK_MODULES=gtkparasite app

And replace app with the application you want to debug.

 

http://chipx86.github.com/gtkparasite

Colorific! – A Useful Tool for Gtk/Cairo Developers

Recently I have been doing some work with Gtk and Cairo (i.e. drawing custom widgets).

To make sure the custom widget doesn’t look strange in all GTK themes except your own, a nice convention is to use GTK colours from the user’s GTK theme.

However sometimes it can be difficult knowing which colour to use, whether one colour in one theme will work for another colour in another theme…

So I created Colorific, a simple little program that shows you all the colours you have to work with in a GTK theme, and allows you to switch GTK theme on the fly.

To download and install it, just run the following commands:

bzr branch lp:~and471/+junk/colorific
cd colorific
./install

Colorific! should then be available from Applications > Programming > Colorific!

To remove it, just run:

./uninstall
Follow

Get every new post delivered to your Inbox.