IntelliJ IDEA 9 on (k)ubuntu

May 3, 2010

I’m a big fan of IntelliJ IDEA for Grails development. Sadfully I had huge problems since I installed Kubuntu 10.04.
The indexing crashed often, after a few minutes working all references broke down etc.
After some searching I found this

It seems that IDEA has some problems with the encryption of the home-dir. So I followed the threads advice and stored index-files etc. outside of my home-dir and voilĂ  it works like a charm.

Categories: General Stuff, Groovy & Grails, Linux.

stdin is not a tty

December 18, 2009

Problem: Login via ssh on XEN-instance “stdin is not a tty”
Solution: here

Categories: Linux.

Tags:

Kubuntu 9.04: Screen, Sound, wtf?

April 26, 2009

After a long time I finally upgraded my really nice running Ubuntu 8.something to Kubuntu 9.04.
The Installation went very smoothly, no problems.
After that I started the System for the first time (suprise) and everything looked ok.
Next step I installed the nvidia glx 180-drivers and everything went bad. After installing and restarting my X didn’t came up again.
Sucks.

The pretty easy solution was lspci and adding my graphic-cards id to the xorg.conf (/etc/X11/xorg.conf) in the driver-section.
BusID "PCI:xx:xx:xx"
That’s it.

The interesting part came up when I started Amarok to listen to some music. First install the MP3-support, everything ok so far. Play a sound file.

It plays. Sound? no!

And again the solution I came up with shortly before I’d like to throw my pc out of my window:
Open alsamixer, increase the volumes. Simple, eh? For some god damne reason the important control was not present within the kmixer and set to zero.

What a wonderful activity to spend the morning with.

I hope this may help somebody to prevent the stress I had.

Cheers

Categories: Linux.

Etch to Lenny and my trac went away

March 3, 2009

Tonight I upgraded my Debian Etch servers to Lenny. The whole procedure went like a clockwork, except one thing:
Trac

I access my trac via Apache. With the upgrade the /usr/share/trac/cgi-bin/trac.cgi in

#snip
ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi
#snap

was gone. Sad but true.

So I’ve searched through the files that came with trac.
dpkg -L trac

It seems that everything moved to /usr/share/pyshared/trac, but still no trac.cgi. After a little bit more searching the file /usr/share/pyshared/trac/web/cgi_frontend.py came up.

By changing the rights to 755
chmod 755 /usr/share/pyshared/trac/web/cgi_frontend.py
and replacing the ScriptAlias with
ScriptAlias /trac /usr/share/pyshared/trac/web/cgi_frontend.py
it worked like a charm and trac showed up, telling me to do a
trac /path/to/project upgrade
on my project. After that everything was ready, yay!

Categories: Linux.

Backing up IMAP

September 15, 2008

Today our mailserver at the university told me that I’ve reached the limit of my IMAP-quota. Much to my regret in KMail version 1.2.9 there is no export function (or I couldn’t find it).

But there is hope: A little python-script called IMAP Backup Tool

Just execute it like this: imapbackup.py -u user -s mail.com:1234
and wait while all your mails will be downloaded and saved to seperate mbox-files for each IMAP-folder.

Categories: General Stuff, Linux.