Wednesday, November 16, 2005

Debian Stuff.......

As you people know that i am a big fan of Debian .
so i am posting some good stuff in Debian.

Enable Wheel Mouse in Debian :-
*****************************
First go to /etc/X11/XF86Config-4 file and add following line in your mouse sections.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
******************************
---------------------------------------------
SETTING UP JAVA (J2RE 1.4) IN DEBIAN:
---------------------------------------------
Add this into your /etc/apt/sources.list: deb http://z42.de/ debian/
Run the following commands: # apt-get update, # apt-get install j2se-package
Download the latest j2re-[...].bin package from Sun's website. "cd"into the directory where the package was downloaded and run these commands:

  1. # j2se-package j2re-[...].bin
  2. # dpkg -i sun-j2re-[...].deb
  3. # apt-get install sun-j2re1.4debian

Notice that I've shortened the package names a bit with [...] because the versions tend to change. Similar procedure should also apply to installing SDK but I personally only need JRE. In Mozilla/Firefox you can check if the browser detects java plugin by typing "about :plugins" in the address space. Check out dastrike's JAVA HOWTO if you need more instructions:http://serios.net/content/debian/java.php UPDATE:


I wrote the above instructions for installing Sun's java because the Blackdown version was not maintained at the time of writing. Now things have changed and currently the easiest way by far to install java in Debian would be to add the following line to /etc/apt/sources.list: deb ftp://ftp.tux.org/java/debian/ testing non-free Then you just run "apt-get update" and install j2re1.4 or j2sdk1.4 like you install any other package in Debian. Of course, if you use Sid/Unstable instead of Testing, you need to replace the word "testing" with "unstable"in sources.list. Also "sarge" seems to be supported.

******************************************************

No comments: