Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Disable Ctrl+Alt+Backspace from Restarting X Windows on Linux Onemogoči Ctrl + Alt + Backspace s ponovnim zagonom X Windows na Linux

If you've used Linux for any amount of time, you're already familiar with the Ctrl+Alt+Backspace shortcut key combination that restarts X Windows immediately… but have you ever wondered if there is a way to disable that behavior? Če ste se uporablja Linux za kakršno koli količino časa, ste že seznanjeni z Ctrl + Alt + Backspace tipka za bližnjico kombinacija, da se znova zažene X Windows takoj ... ampak ste se kdaj spraševali, če obstaja način, da onemogočite to vedenje?

Turns out it's extremely simple to do, although I'm not necessarily recommending that you do this… it's more for informational purposes. (while Linux might be rock-solid, I've had more than my share of crashing in Gnome, so the shortcut key is useful) Izkazalo se je zelo preprosto narediti, čeprav nisem nujno priporoča, da si to ... to je bolj za informativne namene. (Linux, medtem ko bi lahko rock-solid, sem imel več kot moj delež treskav v Gnome, tako da tipka za bližnjico je uporabno)

Disable Ctrl+Alt+Backspace Onemogoči Ctrl + Alt + Backspace

The first thing you'd probably want to do is make a backup of the xorg.conf file, which you can do with this command: Prva stvar, ki ste jo verjetno želeli narediti je, da varnostno kopijo xorg.conf datoteko, ki jo lahko naredite s ta ukaz:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig sudo cp / etc/X11/xorg.conf / etc/X11/xorg.conf.orig

Then you can edit the xorg.conf file by using Alt+F2 to open up the Run dialog and using the following command: Potem lahko uredite xorg.conf datoteko z uporabo Alt + F2 odpreti pogovorno okno Zaženi in uporabo naslednji ukaz:

gksu gedit /etc/X11/xorg.conf gksu gedit / etc/X11/xorg.conf

image

Now go to the bottom of the file and look for a section called “ServerFlags”, which might not exist. Sedaj pojdite na dno datoteke in poiščite oddelek z naslovom "ServerFlags", ki jih morda ne obstajajo. If the section does not exist, add this to the bottom of the file: Če oddelek ne obstaja, dodali ta na dnu datoteke:

Section “ServerFlags” Oddelek "ServerFlags"
Option “DontZap”  “yes” Option "DontZap" "yes"
EndSection EndSection

If that section does exist, then just add in the option line: Če ta oddelek ne obstaja, nato dodajte na možnost postavka:

Option “DontZap”  “yes” Option "DontZap" "yes"

You'll have to restart X again, the easiest way is ironically by using Ctrl+Alt+Backspace… but at that point the shortcut key won't be active anymore. Boste morali znova zagnati X spet, najlažji način je ironično z uporabo Ctrl + Alt + Backspace ... ampak na tej točki tipka za bližnjico ne bodo več aktivni.

If you somehow managed to totally screw up your system by making this change, you can copy the xorg.conf.orig file back to xorg.conf to switch back to the original configuration. Če ste nekako uspelo popolnoma vijak ki gre gor vaš sistem, tako da te spremembe, lahko kopirate xorg.conf.orig datoteko nazaj v xorg.conf preklopiti nazaj na prvotne nastavitve.

This article was originally written on 05/31/08 Tagged with: Ta članek je bil prvotno napisan na 05/31/08 Tagged with: Linux Linux

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (5) Komentarji (5)

  1. Scott Wegner Scott Wegner

    Although the Ctrl+Alt+Backspace shortcut may be a slight annoyance for new Linux users, what alternative do you have when your X windows freezes? Čeprav lahko Ctrl + Alt + Backspace tipka se rahlo nadloga za nove uporabnike Linux, kaj alternativna imaš čas vaš okno X zmrzne? Is there some way to perhaps re-map this to another key combination? Ali obstaja nek način, da morda ponovno zemljevid, da je to drugo kombinacijo tipk? Disabling it completely will force users to hard-reboot when the GUI freezes, which is a much worse alternative. Onemogočanje bo popolnoma sile uporabnikom težko ponovno zagnati, ko GUI zamrzne, kar je mnogo slabše alternative.

  2. The Geek Geek

    @Scott @ Scott

    Note that I recommended against using this… I like the key combination and end up needing to use it all the time. Upoštevajte, da bom priporočil o prepovedi uporabe ... to mi je všeč kombinacijo tipk in na koncu jih je treba uporabljati ves čas. I'm not sure about re-mapping, that was going to be my next research… Im 'ne varen približno ponovno kartiranje, da se je, da bo moj naslednji raziskovalni ...

    This could be useful if you wanted to setup an internet kiosk, for example, and didn't want anybody to be able to kill X. To bi bilo koristno, če si hotel, da setup internet kiosk, na primer, in ne želim nikogar, da bi lahko ubil X.

  3. Anonymous Coward Anonymous Coward

    The the author realize that there is no such thing as “X-Windows?” It's called “the X-Window System.” Windows is something from Redmond. Avtor zavedaš, da ni take stvari kot "X-Windows?"'s Je pozval, "X-Window System." Windows je nekaj iz Redmond.

  4. Brett Rasmussen Brett Rasmussen

    I don't know how to remap, but you can simply ctrl+alt+f1 (or f2-f6) to go to a text-mode terminal, log in as root, and restart your display manager. Ne vem, kako naj preslikate, vendar jo lahko preprosto ctrl + alt + F1 (ali F2-F6) iti v besedilnem načinu terminal, se prijavite kot root, in znova zaslona manager. If you're using gnome, it's “/etc/init.d/gdm restart”, and there's kdm for KDE or xdm for others. Če uporabljate gnome, to je "/ etc / init.d / gdm zopet začeti", in tam je za KDE kdm xdm ali za druge. Keep in mind that it will jump you to your newly started display manager's login screen on the f7 virtual terminal, but you'll still be logged in as root on f1 (and, though they probably wouldn't guess it's there, anybody could come and use a root shell on your box). Imejte v mislih, da bo skočil vas, da vaše novo začel zaslonu upravitelja prijavni zaslon na F7 virtualni terminal, vendar boste še vedno prijavljeni kot root na f1 (in, čeprav se verjetno ne bi ugibati to je tam, kdo bi lahko prišel in uporaba korena lupine na vašem polju). So when you first see that login screen, hit ctrl+alt+f1 again, log out, then hit ctrl+alt+f7 to get back to X. Torej, ko ste prvič videli, da login zaslon, hit ctrl + alt + f1 spet, se odjavite, nato kliknite ctrl + alt + F7 priti nazaj na X.

    Thanks for the info, by the way. Hvala za info, mimogrede. I use a kinesis keyboard, and backspace is at my left thumb. Jaz raba Kinesis tipkovnico, in vračalko je na moji levi palec. I hit it by accident all the time, and from time to time kill my whole X session inadvertently. Zadel sem ga po naključju ves čas, in od časa do časa ubil mojega celotnega X session nenamerno.

  5. John John

    I try to disable it… but it doesn`t work, please help!!! Jaz začeti v onesposobiti to ... ampak to nima "ne dela, prosim pomoč!


Leave a Comment Pustite komentar




Leave your Pustite friendly prijazen comment here. comment here.

If you have a computer help question, Če imate računalnik pomagati vprašanje, click here to leave it on the forums kliknite tukaj, da ga pustijo na forumih instead. namesto.

Note: Your comment may not show up immediately on the site. Opomba: Tvoj komentar morda ne pokažejo takoj na mestu.

Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.