Thursday, May 13, 2010

Taxme Ubuntu Lucid Lynx

Well this post is very strongly Swiss oriented and of no interest to anyone not living in Bern.

I downloaded the new Taxme software, for paying taxes, nothing very funny!
Unfortunately, it worked fine with Ubuntu 9.10, but with Lucid, it just did not start.
Silently without any notice. The log was not very explicit, but I then tried to start the application with root. And it worked.

i.e. from the console:

sudo ./TaxMeBe2009

There is still a problem with the help which cannot be displayed as apparently the application cannot find firefox.

Strangely I had to download the version with the java virtual machine. But this is most probably due to the fact that I have a 64b system

Monday, May 10, 2010

Ubuntu lucid lynx post installation

There is a few things you need to do after installing Unubu lucid lynx

1. Ubuntu restricted extra (thank you Ranjith Siji, even if I saw it also elsewhere). The problem is if you want real Java as I do, you will have to remove openJDK 6 and install the sun version.

2. As I use gmail on the web, I found a well integrated application (thank D0od ). It is perfectly integrated into the me menu. The problem is you can only watch one mail account at the time.

To install it open a terminal and enter the following lines carefully: -

  • sudo add-apt-repository ppa:gm-notify-maintainers/ppa
  • sudo apt-get update && sudo apt-get install gm-notify

To set up your GMail account with GMail Notifier head to System > Preferences > GMail Notifier Configuration. From here you can also specify alert sounds, labels and on-launch preferences.

3. Skype I'm not very happy that Skype is not in the repositories anymore, thus you have to download it from the skype site

4. vlc media player

5. Desktop Webmail allows an additional integration between gmail and Ubuntu. (Thank you Kaba)
After installing Desktop Webmail (sudo apt-get install desktop-webmail) set-it-up as your default e-mail client in System -> Preferences -> Preferred Application – > Mail Reader, replacing Evolution with desktop-webmail.

Friday, May 7, 2010

Facelets and eclipse

Per default, eclipse does not recognize xhtml files, the default file extension for facelets. I.e., you don't have code completion and the jsf managed beans are not recognized either.

There is a solution:

In window->preferences you do 2 things...

1. In General->Content Types you choose text/jsp in the content types and add *.xhtml as a file association

2. In General->Editors->File Associations select the *.xhtml file type and add th JSP Editor as the Default

I'm not sure if you really need to put the TLD in WEB-INF. (at least with eclipse 3.5) It workds without for me.
now just add the TLD to WEB-INF dir of your project and hey presto tag:completion now works for xhtml files.

I picked this from Andrew Lovell, thanks a lot.