LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2005, 12:03 AM   #1
Krishna100
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
'd' key causes shutdown


I'm a linux newbie, so please let me know if I missed any important details needed to diagnose the problem.

Problem: Whenever I hit the 'd' key in the Konsole shell, the system shutsdown. It is as if I hit a "Ctrl + D". When I hit the 'd' key when editing a file in KDevelop, it asks if the file should be be saved (is it interpreting it as Ctrl+D = EOF?). I have a windows box on the network and launched KDE gui shell remotely (via xserver). Even in this case, the 'd' key is swallowed.

Environment: SUSE Linux 9.3; PS/2 keyboard

What I tried: I switched a couple of PS/2 keyboards (swapping keyboards when the system is shutdown; no hot swapping)

My current workaround: I'm using PuTTY from a windows machine. I've also mounted my linux harddrive as a network drive and editing using VS and using PuTTY to build.

Is this related? I started up my linux box after a ten day hiatus and the system booted into maintenance mode. I ran fsck as advised and remounted the drive for R+W. After that I hit "Ctrl+D" to shutdown the system. The system worked normally after that, except for the problem with the 'd' key reported above.

Any ideas what may be causing this 'd' key trapping? Since the problem occurs with multiple ps/2 keyboards and even from a remote xwindows session, this may not be hardware problem. Probably some configuration somewhere...
 
Old 08-30-2005, 10:44 AM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
<ctrl>d is a logout command.
 
Old 08-30-2005, 01:35 PM   #3
bd1308
LQ Newbie
 
Registered: Aug 2005
Location: Louisville, KY
Distribution: Debian Sarge
Posts: 29

Rep: Reputation: 15
I see what you are saying but I dont understand why it would be doing this....

avoiding the "d" key isn't an option.....

does it do this in pure safemode or single-user mode?
 
Old 08-30-2005, 03:03 PM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Sorry, misread the post.

Hmmm...
I can't imagine why that would be happening.

Have you checked your key bindings?
 
Old 08-31-2005, 01:59 PM   #5
JCipriani
Member
 
Registered: Aug 2005
Location: Pittsburgh, PA, USA
Distribution: Redhat 9, OS X 10.4.x, Win2K
Posts: 85

Rep: Reputation: 15
If you have another hard drive with another OS on it, you could try to put it in that same machine and see if the D key is still causing problems. If it does, then you know it's not related to any configuration or OS/application problems or bugs, and you know it's not related to the keyboard itself (since you tried it with other keyboards), so maybe it's a problem with the keyboard controller on the motherboard? If so, that seems like something you could replace without buying a whole new motherboard; although I don't know much about that kind of hardware.

Is the D key the only key that gives you problems?
 
Old 08-31-2005, 10:28 PM   #6
bd1308
LQ Newbie
 
Registered: Aug 2005
Location: Louisville, KY
Distribution: Debian Sarge
Posts: 29

Rep: Reputation: 15
maybe the ctrl button is pushed in all the time?


have you tried a different keyboard?
 
Old 08-31-2005, 10:53 PM   #7
NickN
LQ Newbie
 
Registered: Jul 2005
Location: California, USA
Posts: 8

Rep: Reputation: 0
Yeah, it's possible that your keyboard is defective and your control button is registering as depressed, even if it's not. I spilled some soda on my keyboard once and a similar thing happen.
 
Old 09-01-2005, 12:20 AM   #8
Krishna100
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Charred wins the prize :-)

I checked the keyboard bindings and somehow, the "Halt without confirmation" action is bound to the 'D' key. No idea how that got set, but removing that binding fixed the problem.

Appreciate all of your suggestions.
 
Old 09-01-2005, 01:07 AM   #9
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
SWEET! Working class kid makes GOOD!
 
Old 05-13-2006, 09:37 PM   #10
cruzades
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
hi

i'm new with linux,

i would like to ask, how can i disable CTRL+ESC
in PCLinuxOS with KDE?

hope this is not too off-topic.

ok, how can i check my key bindings in KDE?

thanks and more power to linux.
 
Old 05-14-2006, 06:49 AM   #11
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
I don't think think it's too off topic, but then I'm not the OP. Personally, I would welcome a good keybindings discussion.

BTW, what does Ctrl+ESC do in KDE (which KDE?) in PCLinuxOS? I'm running MEPIS 3.3.2 / KDE 3.3.2, & when I try Ctrl+ESC nothing happens.

Last edited by archtoad6; 05-15-2006 at 09:46 AM. Reason: typo
 
Old 05-15-2006, 08:47 AM   #12
JCipriani
Member
 
Registered: Aug 2005
Location: Pittsburgh, PA, USA
Distribution: Redhat 9, OS X 10.4.x, Win2K
Posts: 85

Rep: Reputation: 15
Quote:
Originally Posted by archtoad6
I'm running MEPIS 3.3.2 / KDE 3.3.2, & when I try Ctrl+ESC nothing happens.
Thats what they want you to think.

...MWAHAHAHAHAHA
 
Old 05-16-2006, 04:05 AM   #13
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
In Suse, at least, Ctrl+Esc pops up the KDE System Guard app, which I find is a very useful feature.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'd' key causes shutdown Krishna100 Linux - Hardware 1 08-30-2005 02:14 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
Bind Power Down Keyboard Key to Shutdown... jpsrm Linux - General 1 01-07-2003 12:05 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 PM.

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