I've been surfing around forums to get mouse wheel scroll working on 64-bit ubuntu, and I found this:
Every time I see something like "./autogen.sh" I have no idea what that is supposed to mean. I tried to type out my home folder's location (ex. /home/myname/autogen.sh), and also typed it out as is but none of them worked. What does "./" generally mean?
-
It merely means that it executes a file. Like when I want to install RealPlayer11GOLD.bin, I just type
and it installs.Code:sudo ./RealPlayer11GOLD.bin
It's something like .exe. (Something-ish) -
It's explicit notation to the shell, (your terminal session), to execute a program in your current directory. Unlike DOS, (or a Windows shell), Linux won't search the directory you are currently in to execute a command. It will only search the directories listed in the PATH environment variable, (like /usr/bin). In order to run a program that resides in the directory you are in, you need to prepend ./ to it, or use the entire directory path. To use the example you quoted;
1) Running the git command
2) will apparently create a directory, in your current directory, called "xf86-input-evdev". If you now change to it;Code:git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
3) and then execute the other git command specified, you will apparently have a shell script called "autogen.sh" in that directory. Since you are already in that directory, the quickest way to run it, is to issue the command;Code:cd xf86-input-evdev
Notice that the make command you run twice after the autogen.sh shell script, is run from your /usr/bin directory, and doesn't need the ./ prepend. If you had wanted to run the shell script with the entire path you could also have issued this command;Code:./autogen.sh --prefix=/usr
But that's usually not a good idea with things like these kinds of shell scripts because in order to run many of them successfully you need to run the script from the directory that they are in. So if the ./autogen.sh command doesn't run the shell script, it's kind of a safety check to show you that you are not in the proper directory where the shell script resides.Code:/home/myname/xf86-input-evdev/autogen.sh
Good Luck.. -
What problem are you having with scrolling? Does it work at all (or does it just stop working after a suspend like in the fix you found)?
I had a problem with my scrolling just a few days ago, where instead of scrolling vertically it would scroll horizontally. See if you can find a place to scroll horizontally, then try scrolling vertically. If it scrolls horizontally instead of vertically then you may want to check here:
http://forum.notebookreview.com/showthread.php?t=318407
(the last post is the important one) -
Mouse works fine, but the middle button scrolling with the Trackpoint just doesn't work. It works only on 32-bit Ibex so I'm back to 32-bit.
Soo... I'm a noob
Discussion in 'Linux Compatibility and Software' started by visiom88, Nov 13, 2008.