Konqueror config file: disable menu bar

To disable the menu bar in konqueror, you have a specific action in menus. If you want to do this by hand, just add the following directive in your ~/.kde/share/config/konquerorrc file:

[KonqMainWindow]
MenuBar=Disabled

This tip is interresting because you can also apply it for any KDE application that doesn’t support this feature.

For exemple, in kmail, you can add the “MenuBar=Disabled” statement in “[Main Window]” section: this will have the same effect as in konqueror.

Ajouter une entrée Jack universelle sur un téléphone Sagem my700Xi

Et bien comme le dit le titre, c’est exactement ce que je viens de réaliser ! J’ai décidé d’acheter sur eBay une seconde paire d’écouteurs pour le my700Xi de chez Sagem, et d’y remplacer les écouteurs par un connecteur jack femelle de 3,5 mm. Voici les photos de la greffe (âmes sensibles s’abstenir):

Par cet affreux mais utile bricolage, je peux désormais utiliser d’autres écouteurs que ceux fournis par le constructeur, mais aussi brancher ce téléphone à un auto-radio, etc. Et en ajoutant une carte mémoire micro-SD de 2 go, je transforme ce téléphone en iPhone du pauvre ! ;)

Amarok 1.4.2 final for Mandriva 2006

Amarok 1.4.2 final is out and here are my RPMs for Mandriva 2006. To install them, I advise you to add my repository to your local urpmi database.

If you experience some problems with this package, take a look at comments on the 1.4.1 release and my “You installed Amarok from my RPMs and can’t play some files ? Here is the fix…” post.

How to Publish .php files as Plain Text

Two months ago I was looking for a way to let apache serve python scripts as plain text. Today I had the same problem with php files. Here is my solution.

What you need is a .htaccess file in the same directory as the files you want to serve, with the following directive in it:

AddType text/plain .php

Be carefull: within the directory, anybody will be able to look the source code of all files with .php extension.

e107 to WordPress Importer: Alpha version

As I said yesterday, I will migrate my e107 content to WordPress. My first step in this direction was to write a WordPress import filter.

So here is my first draft of the e107 to WordPress importer (direct link to php file).

To use it, copy the e107.php file to your wp-admin/import folder. To launch the import, go to the Import page of your WordPress administation panel, select e107, and fill required fields (user, password, database host, database name and table’s prefix) to let the script reach your e107 datas. Then, follow steps and instructions until the end.

Be carefull, actually the script is a very alpha version that only get e107 news items and transform them to WordPress posts. It’s more a proof-of-concept script than a really useable and stable importer.

In future releases, I plan to add following features:

  • Import News categories as tags,
  • Import static pages,
  • Import comments,
  • Import users (both post and comment authors),
  • Auto convert bb tags to html,
  • Auto import images embedded in news/pages.

You can also get the latest version of the script from my “Linux Scripts” page.

e107 to WordPress Migration: Here is Why.

As you probably don’t know, I’m the webmaster (this word sounds so 90′s…) of the Cool Cavemen Band website, which is powered by e107 Content Managment System. Unfortunately we started some months ago to get lots of comment spams (at least 10 per day), and the number of them keeps increasing. Another site I host and manage, Maomium, is also invaded by spammers.

Beside this, I run this blog, powered by WordPress, since april ’06 and thanks to the Akismet anti-spam plug-in, my comments are free of viagra and porn links. To get the benefits of such a plug-in, I decided to… write an Akismet plug-in for e107… migrate from e107 to WordPress.

Akismet was the main reason, but here are the 3 others:

By doing this migration, I expect to have :

  • a spam free site,
  • well-indexed content,
  • a better spreading of Cool Cavemen’s news and activities.

On the other hand, this migration make me loose some features :

  • Forums
  • Image Gallery
  • Newsletters
  • Event Calendar

Even if those features are not built-in in WordPress, I expect to find some plug-ins to fill the gap (I’ll probably post the result of my investigations on that blog).

To conclude, I would like to thanks the whole e107 team for their impressive and hard work. I would also like to thank members of the e107 community who helped me to resolve bugs and problems. I enjoyed my 2 years as e107 user, but my needs changed and to reflects this I had to change softwares too. Sorry e107 !