restarting xorg

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

restarting xorg

Postby Skippy » Fri Jul 10, 2009 20:37

Hi - I wasn't sure if this is the correct forum for X org related questions.

I just updated to xorg-server-1.6.2 and I see that ctrl+alt+backspace no longer restarts X. Is this a bug or a feature?

thanks, Skippy
Skippy
Simple Hen
 
Posts: 53
Joined: Sat May 05, 2007 0:19
Location: Fort Collins, Colorado

Re: restarting xorg

Postby DHalens » Sat Jul 11, 2009 1:50

As far as I know, that key combination is disabled by default in xorg-server-1.6.X
Probably sabayon devs will activate it when adding that package version to entropy.
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: restarting xorg

Postby Skippy » Sun Jul 12, 2009 17:16

Interesting. For those who find this post with the same problem, try these solutions:

http://bbs.archlinux.org/viewtopic.php?id=73617

http://wiki.archlinux.org/index.php/Xor ... 27t_exit_X
Skippy
Simple Hen
 
Posts: 53
Joined: Sat May 05, 2007 0:19
Location: Fort Collins, Colorado

Re: restarting xorg

Postby Skippy » Tue Jul 21, 2009 16:22

I tried modifying my files as described at

http://wiki.archlinux.org/index.php/Xor ... 27t_exit_X

Yet it still doesn't work. Anyone know why? Thanks all. Skippy

---- xorg.conf keyboard section -------------------------------------------

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

Option "AutoRepeat" "500 5"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbRules" "xorg"

# added lines below to get ctrl+alt+backspace to work
Option "XkbOptions" "terminate: ctrl_alt_bksp"
# Option "Dont Zap" "False"

# Macintosh keyboard
#Option "XkbOptions" "lv3:rwin_switch"

EndSection

----- xinitrc -----------------------------------------------------------

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
xinitdir=/etc/X11
sysresources=$xinitdir/Xresources
sysmodmap=$xinitdir/Xmodmap

# added line below to make ctrl+alt+backspace work
setxkbmap -option terminate: ctrl_alt_bksp

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# First try ~/.xinitrc
if [ -f "$HOME/.xinitrc" ]; then
XINITRC="$HOME/.xinitrc"
if [ -x $XINITRC ]; then
# if the x bit is set on .xinitrc
# it means the xinitrc is not a
# shell script but something else
exec $XINITRC
else
exec /bin/sh "$HOME/.xinitrc"
fi
# If not present, try the system default
elif [ -n "`/etc/X11/chooser.sh`" ]; then
exec "`/etc/X11/chooser.sh`"
# Failsafe
else
# start some nice programs
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
fi

-----------------------------------------------------------------
Skippy
Simple Hen
 
Posts: 53
Joined: Sat May 05, 2007 0:19
Location: Fort Collins, Colorado


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron