+ -
当前位置:首页 → 问答吧 → ctrl+alt+backspace X终止 (解决)

ctrl+alt+backspace X终止 (解决)

时间:2009-10-05

来源:互联网

启动完后,进入X,ctrl+alt+backspace无法结束X
参照网络
增加xorg.conf
Section "ServerFlags"
Option "DontZap" "false"

保存后仍然没有效果
xorg 7.4 7.4-r1 7.2都尝试了,还是不行
版本amd64
xorg.conf内容
Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# Load "type1"
# Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "dri"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "glx"
# This loads the DRI module
EndSection

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
EndSection

Section "InputDevice"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

# Identifier and driver
# Option "ZAxisMapping" "6 7"
# Option "buttons" "7"
# Option "Emulate3Buttons" "yes"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Mouse-speed setting for PS/2 mouse.
# Option "Resolution" "256"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7. Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.
# Option "ZAxisMapping" "4 5 6 7"
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
# Option "Protocol" "ExplorerPS/2" # Auto detect
Option "Protocol" "IMPS/2" # Auto detect
Option "ZAxisMapping" "4 5"
# Emulate3Buttons is an option for 2-button mice
Option "Emulate3Buttons" "yes"
# Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
Identifier "Monitor0"
VendorName "ViewSonic"
ModelName "VS11419 Flat Panel 1400x900"
HorizSync 28.0 - 70.0
VertRefresh 43.0 - 70.0
Option "DPMS"
EndSection

Section "Device"

## In this case several additional screen resolutions will be possible.
## Make sure that HorizSync and VertRefresh fit to your monitor,
## As nvidia wont read out allowed values anymore
Identifier "Vediocard0"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA 7300LE"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Vediocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "true"
Option "UseCompositeWrapper" "true"
Option "Coolbits" "1"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
Option "UseEvents" "false"
Option "TripleBuffer" "1"
Option "DamageEvents" "1"
Option "BackingStore" "1"
Option "RandRRotation" "true"
Option "NvAGP" "1"
## The following option enables using frequencies not specified in the EDID.
Option "UseEdidFreqs" "false"
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1440x900" "1280x800" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1440x900" "1280x800" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1280x800" "800x600"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

请大家帮忙

作者: lifesucks   发布时间: 2009-10-05

我也遇到这个问题,同样设置dontzap不起作用,而且默认的按键repeat的时间太长了,还得每次xset设置

作者: swordman   发布时间: 2009-10-05

似乎某個版本的xorg後連在xorg裏開啓它都無效了。

作者: xcxxb   发布时间: 2009-10-05

试试
setxkbmap -option terminate:ctrl_alt_bksp
加入~/.xinitrc

作者: Havanna   发布时间: 2009-10-05

引用:
作者: Havanna
试试
setxkbmap -option terminate:ctrl_alt_bksp
加入~/.xinitrc
it works,thx a lot

作者: lifesucks   发布时间: 2009-10-05

热门下载

更多