As i mentioned few days before in my blog about the sugar font panel i was making, is done and would like to disscuss the technical stuffs related to it and the proccess of its turning it on. It all started with playing of the codes which i got from ( , i started with codes of frame (one of sugar control panel extension for changing the frame view etc). First of all i set the development environment hoping into(

Basically we need four files to make a control panel extension for sugar i.e,,,, in the process of building two more files and Makefile gets generated. Then you need to place you extensions icon in sugar/data/icon directory.

Other than that you need to git add the icon of the extension by git add data/icons/<iconname> in my case it was git add format-text-size.svg. After doing all these stuff you need to edit few more files which i will be explaining with screenshots.

The first one is editting the in data/icon directory.

Then you need to edit in source/sugar directory by extensions/cpsection/<extension name>/Makefile

You also need to edit in sugar/extensions/cpsection.

Finally all edits are done and now there are few basic commands you need to go through it.

-./ –prefix=/home/yevelempy/sugar-jhbuild/install

-make install

Every time you change the codes of, or, you need to run “Make install” inside sugar-jhbuild/source/sugar and if you change or any files you need to run things were over and i could my icon showing up and i was happy but now came the original fun 😉

I started just by copying codes of frame panel with few bit of changes and results were awsome :P, The original mockup which was like .

was looking something like(below) this in the beginning after my cutting and pasting of codes.

Then the results started improving a bit as i digged depper into python and pygtk stuff(although i was lazy and took time to get the stuff done and still lot needs to be done). The later results were on path of improvement

And then

Finally things came down to

Now came the issue of inserting labels and marks as you can see in original mockup, ” | ”  and labels like Default, Small, Large etc. With the help of folks from #sugar i could get up to the exact function which turned up as a magic wand ” self._font_size_slider.add_mark(co-ordinates,gtk.POS_BOTTOM,_(‘Label name’))” . Now i could get things upto

And finally things scalled down to the original mockup. You need to run the gconftool -2 command to set the gconf values and see the changes, the command goes like “gconftool -2  –get  /desktop/sugar/font/font_size” in my case. Now you will get your desired thngs done. Although there are few points which still needs to be read and done pretty well.

My codes can be found at ” “. Will be updating on my later improvements. yo !!


FUDcon planning india 2010

The Fedora Users and Developers Conference or FUDCon is back and this time we are planning it to be held in India. For those of you who are not aware of it, FUDCon is a massive international conference that takes place in different parts of the world and brings together Fedora users and developers from various parts of the world to interact together to give something back to the Linux community. Commonly, FUDCons area a combination of barcamp style conferences, FUDPub or a social event, hackfests etc.

Events like FUDCon are a major help to all users and developers and users, especially new ones. The exposure and help that is available in these conferences is truly amazing and there are very few greater opportunity of learning from seasoned developers. The ideas and tips that are received during these sessions result in a quality of work that is much higher that work done at homes or separately.

The potential venue for FUDCon 2010 is either Bangalore or Pune with Pune getting preference because of consideration of costs of hosting the event and the possible availability of SICSR, Pune as a venue, where was recently held. Since the preparation for such a massive event is bound to take quite some time, the dates of the event are tentatively set for sometime in the months of October or November, although dates are still to decided.

However, in order to host such a huge event, we need all the help that we can possibly get. Here is where the rest of you come in. This is a direct request to all the LUGs all over India. We need all the help we can get and therefore are appealing to you to come forward and help. All those people who would be willing to help in the organisation of the event as volunteers are invited to join us.