JLinX – Blog

Weblog von Jan Linxweiler

Using Mouse Wheel in Ubuntu Running on VMware

Filed under: Linux — Jannis at 4:00 pm on Wednesday, December 12, 2007

By default, you cannot use wheel of mouse on Ubuntu on VMware.
You should configure /etc/X11/xorg.conf.
First, check your mouse setting in /proc/bus/input/devices.

$ more /proc/bus/input/devices

.

.

I: Bus=0011 Vendor=0002 Product=0005 Version=0000

N: Name="ImPS/2 Generic Wheel Mouse"

P: Phys=isa0060/serio1/input0

S: Sysfs=/class/input/input3

H: Handlers=mouse1 event3 ts1

B: EV=7

B: KEY=70000 0 0 0 0 0 0 0 0

B: REL=103

Change your mouse “Driver” and “Device” in /etc/X11/xorg.conf
Original:

$ sudo vi /etc/X11/xorg.conf

.

.

Section "InputDevice"

       Identifier      "Configured Mouse"

       Driver          "mouse"

       Option          "CorePointer"

       Option          "Device"                "/dev/input/mice"

       Option          "Protocol"              "ps/2"

       Option          "ZAxisMapping"          "4 5"

       Option          "Emulate3Buttons"       "true"

EndSection

Change it like:

Section "InputDevice"

       Identifier      "Configured Mouse"

       Driver          "mouse"

       Option          "CorePointer"

       Option          "Device"                "/dev/input/mice"

       Option          "Protocol"              "imps/2"

       Option          "ZAxisMapping"          "4 5"

       Option          "Emulate3Buttons"       "true"

EndSection

Restart gdm and you can use wheel.

How to Search in Documents under Linux

Filed under: Linux — Jannis at 3:48 pm on Monday, November 26, 2007

grep -rin "search pattern" .

(r) recursiv

(i) ignore case

(n) line number

How to Install Java 6 on Ubutu Feisty via Multiverse

Filed under: Linux — Jannis at 10:50 am on Thursday, November 22, 2007
  • Get and Install Java: sudo apt-get install sun-java6-jdk
  • Make Java 6 default: sudo update-alternatives – -config java
  • Edit sudo vi /etc/jvm the first entry should point to your JDK
    /usr/lib/jvm/java-6-sun

Install NetBeans:

  • sudo sh netbeans-5_5_1-linux.bin

Wake On Lan

Filed under: Apple & Mac OS X,Internet,Linux,Windows — Jannis at 3:31 pm on Monday, May 21, 2007

A nice Wake On LAn (WOL) howto can be found on voehringer.net. (german)

HowTo Mount Windows Shares (SMB) under Linux

Filed under: Linux — Jannis at 2:35 pm on Friday, May 4, 2007

Mounting smbfs Shares Permanently Help File

Mustang: Netzwerklaufwerk einbiden

  • Debian/Ubuntu

# apt-get install smbclient smbfs

  • If you want to use a local user from the Windows machine one has to name it like: machinename\username

Kubuntu 7.04 (Feisty Fawn) is da!

Filed under: Linux — Jannis at 10:01 am on Thursday, April 19, 2007

Maik hat den release von Feisty eben festgestellt…!!!

heise Open

Uhrzeit unter Linux mit Zeitserver synchronisieren

Filed under: Linux — Jannis at 1:16 pm on Wednesday, April 18, 2007

sudo ntpdate -s rztime1.rz.tu-bs.de

Installing Intel C++ Compiler on kubuntu

Filed under: Linux — Jannis at 8:36 pm on Thursday, April 12, 2007

When installing the Intel C++ Compiler I got the following Error:

“The installation program was unable to detect a 3.2 or newer version of gcc.”

Setting the LC_ALL environment variable solved the problem:

export LC_ALL=C

 intel.com article

Increase Disk Size of VMWare Image

Filed under: Linux — Jannis at 11:12 am on Thursday, April 12, 2007
  • You need VMWare Workstation (there is an evaluation version)
  • [run] vmware-vdiskmanager -x 10GB myDisk.vmdk
  • Set the vmware session to boot a Knoppix ISO CD image and use gparted to resize partition.

kubuntu in VMWare Player

Filed under: Linux — Jannis at 4:57 pm on Thursday, April 5, 2007

Enable Copy and Paste from Ubuntu VMware Guest

How to Share folders with your Ubuntu Virtual Machine (guest)

« Previous PageNext Page »