Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
hi!
The situtation is: when at home I use a USB mouse, and when out and about I use my laptop's touch pad. But the problem is whenever i want to switch between the two, I need to restart the computer , to get the different settings to work.
is there anyway to make both devices work simultaniously; so that I dont have to keep restarting linux!?!
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Linux not starting and the X server or window manager not starting are two very different things, which is your problem? I can't imagine that your editing of XF86Config would have anything to do with Linux not starting.
I'm assuming you mean X won't start. You can edit XF86Config with many editors. I prefer vi, but some other options are emacs and pico.
You can also find out what the problem is by looking at the file:
/var/log/XFree86.0.log, the error will usually be at the end of the file, which you can see with the command:
Code:
tail -40 /var/log/XFree86.0.log
I'm sure the problem has to do with X not finding one or both of the pointing devices, but it's best to worry about that after we see the error message. If you post the error message, we can get both devices working. . .
If you are in runlevel 4 (the one where the X server starts automatically) an you XF86Config file is buggy, you might find yourself in that situation where you reboot and the x server starts with an error and that freezes the computer.
To repair your system, boot ut from the slack cd up to the prompt. At the prompt, you need to mount the partition hosting your slack distro.
To do that type:
# mkdir /homepart
# mount /dev/hdax /homepart
(/dev/hdax needs to be replaced by your partition device)
From there, all the files are accessible from /homepart.
Therefore, if you have a back up of your XF86Config file prior to the change that broke it, restore it:
# cd /homepart/etc/X11/
# cp XF86Config-backup XF86Config
(assuming XF86Config-backup is yout backup file)
Ar a rule of thumb, before modifying your XFree86config file, always make sure to change the runlevel to 3 (x not automatically started) in case something goes wrong. You can do that quickly by typing:
# telinit 3
Obviously, you can still start the Xserver by doing:
# startx
But if the xserver fails starting, it will shutdown and you will have the command line to keep on debugging.
THe other thing that might be helpful is to remember that doing a telinit won't change the default runlevel at next reboot. If you want to change that, you need to change the inittab in /etc.
sorry for the sarcasm on my last post, I was just a bit irritated.
the problem was that X window didn't load; I got a blank window (not the X window interface) that had two buttons "Yes" and "Cancel" that was followed by another blank window that had two buttons "Yes" and "cancel" and finaly an OK button.
The first time i got this screen, I canceled the first two screens and hit OK. This didn't work, Bringing me to the Terminal. I then typed # startx but that didn't work.
So i restarted my computer, and it did the same thing. (the blank windows) This time I changed the order, hitting the Yes button followed by yes, and this loaded up X window.
(confusing? yes! )
But the great thing is, now both touch-pad and the usb mouse work!!
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Quote:
Originally posted by laurentbon If you are in runlevel 4 (the one where the X server starts automatically) an you XF86Config file is buggy, you might find yourself in that situation where you reboot and the x server starts with an error and that freezes the computer.
If the system is set up correctly (like Slackware), one doesn't need to go through all of that to fix X, simply hit Ctrl-Alt-F6 and you can get to a command line. Having a bad XF86Config should not freeze your computer, even if it starts in runlevel 4, since X is generally smart enough to recognize that its config file is bad and doesn't lock up the system.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Quote:
Originally posted by unitcoed the problem was that X window didn't load; I got a blank window (not the X window interface) that had two buttons "Yes" and "Cancel" that was followed by another blank window that had two buttons "Yes" and "cancel" and finaly an OK button.
But the great thing is, now both touch-pad and the usb mouse work!!
I have never seen this behavior before (no one should ever see that behavior, as it's stupid). What window manager are you using?
greetings, I have this same situation on my thinkpad. I have a ms wireless wheel mouse and the pointing stick working at the same time in X, if you post your X config file (should be the one ending in "-4") maybe we can fix it up for you.
One thing you've probably already thought of, but I'll verbalize anyway: Never edit your X config without backing it up first, it's so much easier to restore it and begin anew as opposed to trying to remember how it was.
One last thing about my setup: it does not yet survive a suspend/resume, at that point I have to exit X, and restart it, other than that it works nicely
THis is my config for slackware, cause if I boot up without a USB mouse plugged in and I had the CorePointer the USB thing it gave an error and I couldn't use the mouse/touchpad at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.