Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-02-2005, 08:30 PM
|
#1
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
Mysterious key combination keeps restarting X
I'm using Enlightenment on SUSE 9.1. I've searched through my keybindings.cfg file to no avail, so I'm hoping someone here will recognize what I'm doing, so I can stop doing it 
Some sort of key combination that I'm hitting restarts X. It's happened twice in the last few minutes, once while I (think) I was pressing RSHIFT and had either hit or just hit "1". The second time was shift again, and I think I was near "5" (could've been making a typo, though, so I can't swear to what I actually hit). There may or may not have been some other keys involved, I was in the middle typing code and am not sure precisely where I was :-[
/var/log/messages has this to say:
Jul 2 21:20:30 linux kdm[4573]: X server for display :0 terminated unexpectedly
which a) isn't news to me, I was using it when it "terminated"!, and b) is less than verbose. Anyone know what, other than ctrl+alt+backspace, will restart X?
Thanks!
|
|
|
07-03-2005, 12:35 AM
|
#2
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
*sigh* nevermind. It happened again and made me lose about 5 paragraphs of an essay, at which point I started screwing around with keys 'til I figured it out.
Shift + backspace. Does it every time. Doesn't matter which shift, either.
So now the question becomes, how in blazes do I disable that? It's an absurd key combination, waaaay to easy to hit accidentally, especially when one is what could be described as a non-trained typist. It's definitely not in keybindings.cfg.
|
|
|
07-04-2005, 05:10 AM
|
#3
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529
Rep:
|
Could it be that somehow your system does not make the distinction between shift+backspace (supposed to be harmless) and ctrl+alt+backspace (supposed to restart X)?
There is a DontZap option in the X configuration...
Code:
Option "DontZap" "1"
|
|
|
07-04-2005, 09:04 AM
|
#4
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
I'm not the only one; looks like this may be a suse issue. I'll try the DontZap method for now, thanks!
|
|
|
07-04-2005, 06:12 PM
|
#5
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529
Rep:
|
Did you try this? http://lists.suse.com/archive/suse-l...-Sep/1733.html
Even if the above is not the right setting for you, the cause of your problem seems to be a wrong keyboard model specification.
|
|
|
07-04-2005, 10:37 PM
|
#6
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
Nope. I'd seen that before, but didn't try it because my keyboard is set correctly in xorg.conf:
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
|
|
|
07-05-2005, 06:25 PM
|
#7
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529
Rep:
|
Quote:
my keyboard is set correctly in xorg.conf
|
A) How can one know for sure?
B) Try xev to see what is going on when you press shift and/or backspace.
|
|
|
07-05-2005, 09:35 PM
|
#8
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
I have a standard vanilla 101-key keyboard, no extra buttons, dials or anything not grey, square and sporting an ascii character. xorg.conf has Option "XkbModel" "pc101" ...what other options are there?
I'll try xev...is that something that one runs after one cuts out of X or before?
|
|
|
07-06-2005, 06:19 PM
|
#9
|
Member
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529
Rep:
|
Quote:
is that something that one runs after one cuts out of X or before?
|
xev is a standard program for X. It will dump to stdout all the events that happen in its window. (this means an event for every one pixel mouse move, every key press and every key release)
|
|
|
07-06-2005, 06:36 PM
|
#10
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
Heh, guess what? Looks like my upgrading to xorg fixed a whole host of problems, this one included. So everything's good 
Thanks!
|
|
|
07-22-2005, 03:11 PM
|
#11
|
Member
Registered: Jan 2003
Location: Atlanta, Ga., USA
Distribution: Gentoo, Mandrake, ~others
Posts: 157
Rep:
|
"The best Windows accelerator is that which works at 9.81m/s^2"
<GRIN!>
True, but only the Win media -- it's not the *computer's* fault, it's the fualt of whomever put Win on it in the first place.
Besides, doing only the media makes asmaller hole, more cheaply patched!
And yes, xorg seems to have gotten itself together in the last few months, thank $DEITY.
|
|
|
07-22-2005, 03:25 PM
|
#12
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Original Poster
Rep:
|
Quote:
Besides, doing only the media makes a smaller hole, more cheaply patched!
|
Heheheh...I always think of that quote in conjunction with the gravity demonstration in Sideways Stories from Wayside School
In all honestly, though, I have to admit that Win2K wasn't all that bad...it at least had the advantage of being straightforward, assumed a degree of knowledge from its users, and wasn't all bubbly and round (as if its users would accidentally fall and hurt themselves on all the sharp edges...*sigh*). And it only bluescreens once a month or so (as opposed to XP, which will do so on command)! Cedega's still iffy for me, so I preserve a Win2K box to get my gaming fixes.
I think it's pretty funny that this post is #666 for me }:-> That's what I get for saying something nice about Windows!
|
|
|
03-04-2006, 11:30 AM
|
#13
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Rep:
|
Alternative solution to Shift-Backspace zapping X
Many people can run "xmodmap /usr/share/xmodmap/xmodmap.us" to fix the shift-backspace X resetting problem. But I my case it made other things worse/break or still resetted my X... so I found an alternative:
If you do this:
Code:
# xmodmap -pp -pk | grep BackSpace
It should show:
Code:
22 0xff08 (BackSpace) 0xff08 (BackSpace)
But if there is something about zapping X beteen the parentheses, you should change it back to BackSpace:
Code:
# xmodmap -e "keycode 22 = BackSpace BackSpace"
Put this line into ~/.Xmodmap or .kde/Autostart/mystartups (and make the latter one executable) to make it persistent (for every boot).
This saved me from smashing my keyboard into the screen! I now have no problems at all with Dapper...
Quote:
Doing "xmodmap /usr/share/xmodmap/xmodmap.us" fixed the Shift|Backspace bug, but now my F12 hotkey and Ctrl+Alt+Workspace number hotkey doesn't work. Anyone else? That sucks!
|
--
Erik de Bruijn
Budgetdedicated.com
|
|
|
03-04-2006, 11:31 AM
|
#14
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Rep:
|
Alternative solution to Shift-Backspace zapping X
Many people can run "xmodmap /usr/share/xmodmap/xmodmap.us" to fix the shift-backspace X resetting problem. But I my case it made other things worse/break or still resetted my X... so I found an alternative:
If you do this:
Code:
# xmodmap -pp -pk | grep BackSpace
It should show:
Code:
22 0xff08 (BackSpace) 0xff08 (BackSpace)
But if there is something about zapping X beteen the parentheses, you should change it back to BackSpace:
Code:
# xmodmap -e "keycode 22 = BackSpace BackSpace"
Put this line into ~/.Xmodmap or .kde/Autostart/mystartups (and make the latter one executable) to make it persistent (for every boot).
This saved me from smashing my keyboard into the screen! I now have no problems at all with Dapper...
Quote:
Doing "xmodmap /usr/share/xmodmap/xmodmap.us" fixed the Shift|Backspace bug, but now my F12 hotkey and Ctrl+Alt+Workspace number hotkey doesn't work. Anyone else? That sucks!
|
--
Erik de Bruijn
Budgetdedicated.com
|
|
|
All times are GMT -5. The time now is 07:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|