Writings Photos Code Contact Resume Me
planet debian

Using mutt as a mailbox converter

Submitted by msameer on Mon, 19/05/2008 - 3:31pm

I'm planning to move all my mailboxes to an IMAP server running on foolab.org, use offlineIMAP to sync between vader "my laptop" and naboo "foolab.org".


Katoob, the baby has a new father.

Submitted by msameer on Mon, 12/05/2008 - 9:31pm

This post has a bit of my history and emotions. It can be skipped!

The summary is: Katoob has a new maintainer.

...


multi-gnome-terminal is back to life.

Submitted by msameer on Mon, 18/02/2008 - 1:46pm

OK. This is the beauty of FOSS. The project has been dead upstream for a while now. It survived until it was removed from lenny.

Now me and 2 other users decided to adapt it. port it or rewrite it in gtk2.

We are having a discussion about the whole situation.

To anyone still using multi-gnome-terminal: Please share with us the features you were actually using. These are the ones more likely to be implemented and no new features will probably be added, maybe help us coding and/or testing or participate in the discussions.


Automatically insert a statement in each function in C++

Submitted by msameer on Fri, 08/02/2008 - 4:16pm

And I thought I'll never do such things again ?
I wanted to insert a debugging statement at the beginning of each function.

for i in *.cc *.c; do sed -i -e 's/\([a-zA-Z0-9 _*:~]*([^).]*) *{\)/\1 \nprintf("%s\\n", __PRETTY_FUNCTION__); /g' $i; done

It can probably be used to insert anything too.

It's dirty but it worked for me. Just keep a backup or make sure the latest code is in any RCS just in case.

It only failed with a function that was commented using C++ style comments "//".
I didn't try it with class methods defined inside header files


Of GNOME and fonts.

Submitted by msameer on Mon, 28/01/2008 - 3:52pm

Thanks to those 2 comments. Although placing Xft.dpi: 96 in my ~/.Xdefaults did not help, but I managed to do it through the appearance control center applet. I had to purge the gtk-qt theme engine because it was freezing the dialog and setting it via gconf-editor didn't work as expected.

I had to fight with my fonts this morning but here's my configuration. Maybe it'll be useful to anyone:
DejaVu sans book 12
96 DPI
greyscale smoothing, subpixel slight RGB.

I'm not yet satisfied but it's more usable now.

Thanks Phaeronix for the help too.


I love KDE. It just works!

Submitted by msameer on Fri, 25/01/2008 - 7:13pm

I have 2 laptops. My personal one at home and my work one at the office. Both are running testing. A month or two ago, I did a dist-upgrade on the home one. Later on I rebooted (DUH!) it for a reason I can't remember just to end up with very tiny fonts under GNOME. It took me some time to tweak them back again and play with the GNOME anti-aliasing dialog. Now if you know me well, you know that the last thing someone should do to me is to touch my font settings. I have a very sensitive eye (Because I have a very low vision) and I hardly tweak the fonts. All went somehow fine after that. Problem is I wasn't sure whether it was fglrx or GNOME who's responsible for that.


It feels like losing a child...

Submitted by msameer on Sun, 20/01/2008 - 4:28am

So, today Multi GNOME terminal has been removed from debian as part of the efforts to get rid of gtk 1.x.

I'm neither ranting nor blaming. I'm just expressing my feelings.

I knew before it happened and I acknoledged the removel. It's dead upstream and I don't think it can be easily ported. I've been using this terminal since 4 or 5 years. Let's see if I can live without it. I know there are a lot but this one was lightweight and it was using zvt which was noticeably faster than vte.
This was one of the packages I worked on with "He" as part of the NM T&S and I quite learned a lot from it.


katoob under maemo.

Submitted by msameer on Mon, 03/12/2007 - 6:31pm
katoob-maemo.png

So the svn repository now contains what should be katoob 0.5.9 (Hopefully). Which can now run under maemo.


drupal and the N810

Submitted by msameer on Mon, 22/10/2007 - 3:04pm
s.png

Here it goes. Lighttpd, php, sqlite and drupal with sqlite support.

All compiled inside scratchbox using the beta Chinook SDK.


Nokia N810

Submitted by msameer on Fri, 19/10/2007 - 3:32pm
n810_0.png

First post from the N810. Had to do a bit of hacking to get Arabic! can't say I'm completely happy with it in general yet.