Personal blog of Seph Soliman Thoughts, Tinkerings and Tips

6Feb/080

Java doubleclick time in X.org/XFree86

The doubleclick time in Java applications should be read from GTK or KDE settings, but aren't.
I had this problem since I use Gnome 2.10.2 on Debian. Sun has a bugreport on this.

The solution is to add the following to ~/.Xdefaults:

*.multiClickTime: 500

and run:


xrdb -merge ~/.Xdefaults

to merge the newly created settings into the running X server. Settings will apply at next Java app. startup.

You can replace 500 with a number in milliseconds that you wish to set the doubleclick time(out) to.

6Feb/080

Firefox FAQ – Middle function mouse in Linux

The standard behaviour in Firefox, in Linux, for a middle mouse click is to "paste and go/google i'm feeling lucky".

This default behaviour combined with the X server's auto-copy feature makes a middle mouse click much unpredictable.

So...

To disable this quite useless behaviour, simply open a firefox browser and type:
about:config
in the locationbar and press enter.
You will see a list of settings, and you'll need to create a new one yourself by right clicking and choosing New -> Boolean, and enter the preferences name:

middlemouse.contentLoadURL
This value should be set to "false".

Firefox must be restarted before the change takes effect.

Tagged as: , No Comments
6Feb/080

Scrollwheel with Firefox in Xorg

How do I get my scrollwheel to work in Firefox/Mozilla in Xorg on Linux?


- Log on as root

- Edit file /etc/X11/xorg.conf with your favorite editor:



The MS Explorer 3.0 really has 7 buttons: left, right, middle, scroll up, scroll down and 2 thumb buttons, which X needs to know.

My section looks like this, which should work for you as well.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "ButtonMapping" "1 2 3 6 7 4 5"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection

Please note that certain options might vary from distro to distro, such as the Device and Protocol options.

I use both Debian (unstable) and Ubuntu (5.10), on which this sections work perfectly.

   

Energisk software entreprenør og hypnoterapeut med flair for effektive metoder og elsker en god udfordring.

Pages

Recent Comments

Tags

apple basecamp bitbucket boliga code css danger digital signatur django firebug firefox gmta greasemonkey hundesitter ie6 internet explorer investing java javascript jedit jquery konstellation linux myc4 osx personal python rants safari silly sourceforge the move timetrack tips and tricks ui widget

Blogroll

Business