Nautilus templates

I have been trying to help my mother by adding a document templates to right click -> create document nautilus menu. Here is the procedure to add new templates: 1. edit the file ~/.config/user-dirs.dirs and change: XDG_TEMPLATES_DIR="$HOME/" to XDG_TEMPLATES_DIR="$HOME/Templates" 2. create the Templates folder 3. in the Templates folder just create whatever document you like. The name of this file will appear in the right click -> create document menu....

March 10, 2009 · len

Using amr files

One of the many functionalities of my phone which I do not use is the ability to record to a file. This file is saved in the phone and can then be played. For the first time I needed this functionality to here are the steps to get an usable mp3 file out of it. download the file to the computer using the bluetooth method install an amr decoder apt-get install amrwb amrnb decode the file to raw data amrnb-decoder Recording....

February 27, 2009 · len

Linux barcode reader

I was a bit sceptic about how easy is to use an usb barcode reader (Motorola Symbol LS1203) but it was a pleasant surprise. Just plugged the reader in the usb port and was detected as a input device: black kernel: [ 2273.692061] usb 3-1: new full speed USB device using uhci_hcd and address 2 black kernel: [ 2273.909811] usb 3-1: configuration #1 chosen from 1 choice black kernel: [ 2273....

February 23, 2009 · len

Panotools

Update 2009-07-19: for jaunty refer to this track to solve the stitch now problem. I’ve known for some time about hugin and panotools but never got to use them. This is a very short list of steps to build a simple panorama image on linux (note that my Canon A1000 does not have a panorama assist mode so the source images where a bit deviated). Install apt-get install hugin apt-get install autopano-sift Configuration To my disappointment hugin did not worked out of the box since it had some problems finding the proper autopano-sift tool....

February 20, 2009 · len

Easy sync/backup

When my laptop display died I had to find a way to continue my life work using an old laptop so I started searching for a way to create an image of my broken laptop on the old one, work on it and then transfer it back to the new laptop when it will be repaired (still not until a few weeks). My initial though was to use the backup mechanism to an external disk which I am using to backup data regulary but the restore process assumed an empty destination....

January 9, 2009 · len

Remastering ubuntu

Saturday I was faced with the following question: how to install 10 identical ubuntu stations with the same configuration and a set of custom packages. Here is the solution finally used: 1. install the basic ubuntu system, install all the extra packages (this included notably the edubuntu package add-on which is no longer a separate distribution). This should result into a complete station. 2. install remastersys 3. create the cd/dvd iso image with the backup option....

December 24, 2008 · len

Lost Edgy repositories?

Where are my edgy repositories? Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/restricted/binary-i386/Packages.gz 404 Not Found I tried at least 5 mirrors from ubuntu and none of them seems to have them. I finally found the solution in this post which is to add the following in /etc/apt/sources.list deb http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb http://old-releases....

December 5, 2008 · len

openoffice.org-base on intrepid

I’m using openoffice base in order to extract various data from a postgresql database to a oocalc file to make charts. This can vary from work related to blogosferic charts. I am using the sdbc postgresql driver and not the jdbc alternative. Since by default ubuntu intrepid ibex does not install the “base” package I tried to do a simple apt-get install openoffice.org-base to my horror this tries to bring a lot of gcj dependencies even if I had already installed a sun sdk....

November 17, 2008 · len

Apache mod_jk configuration

I don’t know why, even if there is a lot of documentation on the subject the mod_jk installation still seems a bit of mystic elements. This is why I decided to write a very short mod_jk configuration guide oriented for debian, ubuntu linux systems. First, mod_jk is an apache module which allows a more customized communication to an apache tomcat server using the AJP 1.3 protocol. This usually happens using the TCP port 8009 so yes, there must be a connection from the apache server to the tomcat one....

November 10, 2008 · len

Ubuntu Intrepid Ibex

I’ve been waiting with impatience the new Ubuntu 8.10 Intrepid Ibex. So I’ve downloaded the CD as soon as it appeared and started upgrading the Ubuntu 8.04 on my DELL Latitude D820 to the new version. The install Since I’ve had some problems in the past with the upgrade process I’ve decided to do it simple and just do a clean install on a different partition based on the desktop installer CD....

October 31, 2008 · len