Eclipse you suck!

I’ve spent several hours trying to get the Android Developer Toolkit version of eclipse to run on Fedora 20. It’s constantly keeps dying with a segfault and libsoup.

[13899.331278] java[15520]: segfault at 0 ip 0000003929c70061 sp 00007fb66bd4df40 error 4 in[3929c00000+a8000]

I’ve tried all the workarounds on the net which suggest to make it use mozilla, so far no luck.


I even deleted my $HOME/.eclipse, that didn’t work. I switched to a new workspace specifically for ADT. Again didn’t help, still constantly dies.

UGH! Piece of Garbage. And to Ajay, no IntelliJ comments :)

tmux window name

Here’s how I got my tmux windows to be named ‘short hostname:working directory’.

Create a bash function in your $HOME/.bashrc.

settitle ()
    # only run this in tmux
    case "$TERM" in
            # get hostname without FQDN
            H=`hostname -s`
            # get current directory without the full path
            D=`basename $PWD`
            # set title of tmux/screen window
            printf "33k$H:$D33\\"

Then call settitle from your PS1 prompt variable:

PS1="...(settitle)\$ "

Here is my current prompt:

PS1="[\u@\h \W\$(git branch 2> /dev/null | grep -e '\* ' | sed 's/^..\(.*\)/{\1}/')]\$(settitle)\$ "