The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Soo... I'm a noob

    Discussion in 'Linux Compatibility and Software' started by visiom88, Nov 13, 2008.

  1. visiom88

    visiom88 Notebook Evangelist

    Reputations:
    631
    Messages:
    375
    Likes Received:
    10
    Trophy Points:
    31
    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?
     
  2. zephyrus17

    zephyrus17 Notebook Deity

    Reputations:
    646
    Messages:
    1,576
    Likes Received:
    0
    Trophy Points:
    55
    It merely means that it executes a file. Like when I want to install RealPlayer11GOLD.bin, I just type
    Code:
    sudo ./RealPlayer11GOLD.bin
    and it installs.

    It's something like .exe. (Something-ish)
     
  3. jas

    jas Notebook Evangelist

    Reputations:
    697
    Messages:
    622
    Likes Received:
    5
    Trophy Points:
    31
    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
    Code:
    git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
    2) will apparently create a directory, in your current directory, called "xf86-input-evdev". If you now change to it;
    Code:
    cd 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:
    ./autogen.sh --prefix=/usr
    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:
    /home/myname/xf86-input-evdev/autogen.sh
    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.

    Good Luck..
     
  4. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    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)
     
  5. visiom88

    visiom88 Notebook Evangelist

    Reputations:
    631
    Messages:
    375
    Likes Received:
    10
    Trophy Points:
    31
    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. :confused: