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.
My PS/2 mouse sometimes gets unplugged accidentally, when this happens and I plug it back in, the linux desktop server cannot detect it again unlike a USB mouse. When this happens, I have to logout of the x server and restart it in order to get the mouse detected again. What keyboards commands could I use to bring up a terminal window and restart some service to get the mouse to work again without losing my desktop? Thanks!
PS/2 does not support hotplugging like USB does, you are actually lucky that the system detects the mouse again at all. On most machines I have used, once the mouse was removed, nothing but a reboot would get it working again. I have also worked on a few machines who's motherboards shorted out when the mouse was removed while powered on.
I would suggest you get a wireless mouse, or a USB one, personally.
In my SuSE installation, with Kde, I press Alt+F1 to pop up the Kde menu. Then use arrow keys to navigate through the menu. System - Terminal - Konsole starts a console to enter keyboard commands.
If you use other than Kde, go into your keyboard shortcuts utility to see what pops up the main menu, or to define a key sequence to do it.
I'm using gnome so I hit control-alt-backspace which exits me out my current session and bring me back to the login screen where I can use the mouse again.
Thanks for the tip about Alt-F1, that works on CentOS as well. I figure there has to be some service that got restarted which restored the mouse for me without losing my desktop?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.