LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2008, 11:34 PM   #1
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
Lightbulb Slackware 11 & 12 w/ fluxbox keyboard and mouse command bug


Good evening, Everyone.

I accidentally ran /usr/local/samba/sbin/mount.cifs //NoThought/public /mnt/NoMind -o username=blank,password=blank && emelfm /mnt/NoMind as root! I copied this command from a user's history to run and forgot to take the emelfm part out! I would never run emelfm, or hardly anything else for that matter, as root.

Immediately after this I scrolled to the the next desktop with the mouse wheel to take look at another window. I was scrolling for a while when I realized the desktop was not switching. Refer back to this thread, if you would be so kind:

http://www.linuxquestions.org/questi...taches-616660/

In general, I discovered that when I use screen, doing anything with screen would stop me from using mouse and keyboard commands of any kind, unless I want to just scroll through the fluxbox desktops with my mouse over the system toolbar. This goes for any command that begins with CTRL in screen. Also, if you accidentally do a screen action anywhere in fluxbox, you won't be able to use mouse or keyboard commands.

The only way to restore the functionality is by pressing ESC.

After running that command as root I couldn't switch desktops, and then I remembered those other computers. I pressed ESC, and I was able to do keyboard and mouse commands again.

I press CTRL+A A in a window-less desktop, and I lose keyboard and mouse. I press ESC, the functionality returns.

So, what is responsible?
Seems like Emelfm as root or perhaps mount.cifs is the culprit. Maybe it's me using && to only execute the latter upon success. I don't think I used that shell function as root yet on this install.

I know this happened only after I ran that command as root, because about 10 hours before that I was using screen and having a great time. I was doing things that I knew would result in mouse and keyboard disablement in my troubled slackware 11 boxes running fluxbox, and it was working fine. I tested this computer specifically for the bug, and it wasn't there until that command was ran as root.

Just a heads up, in case anyone else has this problem. Solutions other than pressing ESC are welcome, though.

Thanks,

Last edited by Anithen; 06-14-2008 at 01:56 PM.
 
Old 06-14-2008, 07:22 AM   #2
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Original Poster
Rep: Reputation: 15
I was pretty tired when I wrote the above, but I forgot to mention that I am pretty sure the mount.cifs utility isn't responsible, because I used it before this happened without an issue and on the Slackware 11 boxes I had this issue before I was introduced to mount.cifs.

Last edited by Anithen; 06-14-2008 at 02:00 PM. Reason: probably NOT mount.cifs
 
Old 07-08-2008, 11:51 PM   #3
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Original Poster
Rep: Reputation: 15
For anyone tired of ^a causing the aforementioned problems, try placing this in your ~/.screenrc file:

escape ^Oo

Now you can use ^o instead of ^a. ^a still causes problems, but now you won't have to ever use that combination if it's causing you problems like it causes me problems.

^ means CTRL
 
  


Reply

Tags
control, escape, screen, screenrc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 monitors & wireless keyboard & mouse... BuckNekkid Linux - General 2 12-02-2007 07:57 AM
strange mouse bug encountered in slackware 10.1 terminal salviadud Linux - Newbie 3 03-14-2005 11:18 PM
Slackware 10 Keyboard & Mouse freeze in X Colonel-1990 Linux - Hardware 9 02-15-2005 07:33 PM
Bug? USB Keyboard and Mouse Stop Working KingofBLASH Slackware 3 04-09-2004 12:04 PM
USB keyboard & mouse problem in Slackware 9.1 Wonderer Slackware 12 10-28-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration