The every day things from Thalamus' life.

Thalamus' Blog

25 November, 2011

Blir glad når man kommer over slike talenter

Filed under: Dagbok_no — Thalamus @ 22:50

Musikk er delig – når det gjøres rett.
Denne karen – Jon Gomm – er etter min smak …

• • •
 

14 November, 2011

Using ‘alternatives’ to override icedtea plugin.

Filed under: ComputerStuff_en — Thalamus @ 09:27

There is still applications that don’t play well with the IcedTea plugin which comes with RedHat/Fedora. So, I often still end up with installing the Oracle jre and using that as my default. Before, it was a simple softlink into ~/.mozilla/plugins. But lately I’ve come over cases where this will not work anymore. The easiest way seems to be to use the recommended method of using ‘alternatives’.

# update-alternatives --install "/usr/lib64/mozilla/plugins/libjavaplugin.so" "libjavaplugin.so.x86_64" "/usr/java/latest/lib/amd64/libnpjp2.so" 2000

Now you change between the plugins by running …

# update-alternatives --config libjavaplugin.so.x86_64

Update …

## java ##
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 20000
## javaws ##
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 20000
 
## Java Browser (Mozilla) Plugin 32-bit ##
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/lib/i386/libnpjp2.so 20000
 
## Java Browser (Mozilla) Plugin 64-bit ##
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 20000
 
## Install javac only if you installed JDK (Java Development Kit) package ##
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000
• • •
 

12 November, 2011

Gnome titlebar and Synaptics Two Finger fixes

Filed under: ComputerStuff_en — Thalamus @ 13:04

Did a upgrade from Fedora 15 to 16 yesterday by running ‘preupgrade’. It seems to have done a nice job. However there where to changes I felt needed to be done. Get the huge titlebar down to a smaller size ( its way to large for my laptop ), and double finger drag on the Synaptics touchpad didn’t work anymore.

The first solution I found – was from Mikey Carters blog.Where he does a global change of all the values in the Adwaita theme. I find Adwaita quite nice, so it suited me just fine to run his fix.

sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml

The second – from a bugzilla report on the double finger problem. Nathanel Titane, said he used this xinput fix to solve the problem. It worked for me.

xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 10
• • •
 

8 November, 2011

The long wait is over

Filed under: ComputerStuff_en — Thalamus @ 08:50


So, its time again for some days off from work in order to rank up in this great series. Can’t wait – especially since one of my friends have had it for 4 days already. Going to my local game store in 2 hours. In moments like this the time passes very slowly.

• • •