LDAP to Mutt aliases and Gmail CSV

Introduction

I'm a Mutt user (80%) a Gmail user (15%) an Evolution user (5%). I use a Gmail account to fetch my other accounts and then fetchmail+procmail to retrieve all my messages. This script is what I use to export my addressbook (on LDAP) to Mutt aliases and to GMail CSV.

Notes

I'm not sure this would turn out to be useful, but a few friends use it and like it. If your setup differs from mine, the script may/will fail.

Be sure you uncomment/modify (at least) those line correctly:

[14] my $ldap_server = 'localhost';
[15] my $ldap_branch = 'ou=abook,dc=mt,dc=home';
[16] my $ldap_filter = '(cn=*)';
[35] #$fullname =~ s/ Unknown//g;

Download

ldapbuddy.pl

Run

You need Perl and Net::LDAP.

1. chmod +x ctk_imapbuddy
2. ./ctk_imapbuddy gmail > gmail.csv 
3. ./ctk_imapbuddy mutt  > mutt.aliases

Resize extension for Epiphany

Introduction

Epiphany is the web browser for the GNOME desktop. Epiphany-extensions are a collection of plugins for Epiphany.

The Resize extension

The Resize extension is a quick hack to keep Epiphany's windows at constant size and position. It works perfectly with Epiphany 2.20.1. Few key/values pairs are saved using GConf2 (/apps/epiphany/extensions/resize).

The Resize extension allows you to resize the Epiphany windows to pre-defined sizes and to custom size and position. The user can simply resize the window and place it somewhere on his screen. Then, by pressing the "Save size and position" entry in the Tools menu, the Resize extension will save the user's settings.

Furthermore, the user is able to choose how the Resize extension should behave: check the Resize new windows, Resize new tabs and Resize pop-ups options.

The Resize extension

The Resize extension.

Screenshots

Resize extension and pop-ups: screenshot.

Download

Resize v0.1 - N/A
Resize v0.2 - N/A
Resize v0.3 - N/A
Resize v0.4 - N/A
Resize v0.5 - 2008-11-10

Install

Let's assume you are running Debian/Ubuntu and Epiphany 2.20.*. Uncompress the resize_*.tar.gz archive and run:

1. sudo apt-get install epiphany-extensions
2. cp resize.* ~/.gnome2/epiphany/extensions/

Known-issues

1. Sometimes positioning does not work correctly.
2. Clean up the code...