Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is confusing for me. I read man symlink but it doesn't help. this is what I want to do:
Quote:
5.1. Using an external USB pointer device in X
Most people want both the stick/touchpad working full-time,
and to be able to plug in an external USB mouse whenever they
want and have it work without having to retool XF86Config each
time. I have successfully done this with the following
sections in my XF86Config-4:
Section "InputDevice"
# This section controls the stick/touchpad
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "on"
EndSection
Next, modify the "ServerLayout" section to look something like:
Section "ServerLayout"
Identifier "MyXLayout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "USBMouse" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
This tells the Xserver to always look for Mouse0, and barf if
it's not there (which hopefully will never happen), and if the
USBMouse is detected on /dev/pointer, then have it send core
signals to the Xserver, but don't barf if it can't find it.
Last note, make sure you make a symbolic link from
/dev/input/mice (this is on the 2.4.x kernel) to /dev/pointer
when I tried
Code:
symlink /dev/input/mice /dev/pointer
it returned an error like this:
bash: symlink: command not found
man (2) symlink is what you read, it's
programming information. Look at the bottom
of that manpage, find the man page entry
with (1), namely ln, and enjoy :)
ln -s /dev/input/mice /dev/pointer
is what you want to do ;)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.