Re: Ctrl-alt-del to restart window manager with xfce in wheezy? [CONCLUSION]

2013-06-15 Thread Rick Thomas


On Jun 12, 2013, at 1:10 AM, Rick Thomas wrote:


Having asked the question, I owe the group answers.

Unfortunately real life intruded its ugly head last week.  I do plan  
to do the tests and report back as soon as I can.


Well, I finally got a couple of free hours this afternoon.  Here's  
what I did.


The system I was having trouble with was one of my testing systems,  
so there wasn't much of importance on it.  So I decided to re-install  
Wheezy from scratch and see how a really fresh out of the box system  
behaved.  (For the record, the original system had some left-over  
cruft from previous experiments, and I don't know exactly how that  
might have affected the things I was seeing.)


(1) I installed Wheezy from scratch with desktop=xfce from the netinst  
CD.


(2) I looked at /etc/default/keyboard and noted no XKBOPTIONS line.

(3) I tried ctrl-alt-del and ctrl-alt-backspace.  The second did  
nothing.  The first started a screensaver.


(4) I ran dpkg-reconfigure keyboard-configuration and changed the  
Use Control+Alt+Backspace to terminate the X server? option from  
no to yes.


(6) I looked at /etc/default/keyboard again and noted  there now was a  
line with XKBOPTIONS=terminate:ctrl_alt_bksp.


(5) I tried ctrl-alt-del and ctrl-alt-backspace again (without  
logging out or rebooting).  As expected, no change from (3),


(6) I logged out, logged back in.  I tried the experiment again.  No  
change from (3).


(7) I rebooted and logged back in.  I tried the experiment again.   
This time ctrl-alt-backspace restarted the X server. And ctrl-alt- 
del still started the screensaver.



So *somewhere* in the cruft on the old system was *something* that  
interfered with restarting the X server.  But I don't have the energy  
to track it down.  It will just have to remain one of life's little  
mysteries.


Sorry for all the fuss...

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/2f514139-e1ef-49ad-ac30-877c389ed...@pobox.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy? [CONCLUSION]

2013-06-15 Thread Brian
On Sat 15 Jun 2013 at 00:30:52 -0700, Rick Thomas wrote:

 Well, I finally got a couple of free hours this afternoon.  Here's
 what I did.
 
 The system I was having trouble with was one of my testing
 systems, so there wasn't much of importance on it.  So I decided to
 re-install Wheezy from scratch and see how a really fresh out of
 the box system behaved.  (For the record, the original system had
 some left-over cruft from previous experiments, and I don't know
 exactly how that might have affected the things I was seeing.)
 
 (1) I installed Wheezy from scratch with desktop=xfce from the
 netinst CD.
 
 (2) I looked at /etc/default/keyboard and noted no XKBOPTIONS line.
 
 (3) I tried ctrl-alt-del and ctrl-alt-backspace.  The second did
 nothing.  The first started a screensaver.

Sounds right.

 (4) I ran dpkg-reconfigure keyboard-configuration and changed the
 Use Control+Alt+Backspace to terminate the X server? option from
 no to yes.
 
 (6) I looked at /etc/default/keyboard again and noted  there now was
 a line with XKBOPTIONS=terminate:ctrl_alt_bksp.

This is expected after doing dpkg-reconfigure keyboard-configuration.

 (5) I tried ctrl-alt-del and ctrl-alt-backspace again (without
 logging out or rebooting).  As expected, no change from (3),

This will not work. Please see below.

 (6) I logged out, logged back in.  I tried the experiment again.  No
 change from (3).

This will not work. Please see below.

 (7) I rebooted and logged back in.  I tried the experiment again.
 This time ctrl-alt-backspace restarted the X server. And
 ctrl-alt-del still started the screensaver.

At last! Udev does not know about what you have done, so one way of
beating it into submission is by rebooting. A gentler approach is

   udevadm trigger --subsystem-match=input --action=change

 So *somewhere* in the cruft on the old system was *something* that
 interfered with restarting the X server.  But I don't have the
 energy to track it down.  It will just have to remain one of life's
 little mysteries.
 
 Sorry for all the fuss...

It's not a fuss but an interesting situation. Nowadays, most users would
not know of ctrl-alt-backspace as a way of exiting X. The DEs have seen
to that. But, for the present, it can still be used if you know how to
activate it, as you have discovered.

You asked about ctrl-alt-del (or some other key combination) to close X.
Please look at /usr/share/X11/xkb/symbols/terminate:

partial default modifier_keys
xkb_symbols ctrl_alt_bksp {
key BKSP {
type=CTRL+ALT,
symbols[Group1] = [ NoSymbol, NoSymbol, NoSymbol, NoSymbol,
Terminate_Server ]
};
};

Changing 'key' to 'DELE' might be a thought. Except . . . 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130615182243.GB3205@desktop



Re: Ctrl-alt-del to restart window manager with xfce in wheezy? [CONCLUSION]

2013-06-15 Thread Rick Thomas


On Jun 15, 2013, at 11:22 AM, Brian wrote:


At last! Udev does not know about what you have done, so one way of
beating it into submission is by rebooting. A gentler approach is

  udevadm trigger --subsystem-match=input --action=change


Sorry for all the fuss...


It's not a fuss but an interesting situation. Nowadays, most users  
would
not know of ctrl-alt-backspace as a way of exiting X. The DEs have  
seen

to that. But, for the present, it can still be used if you know how to
activate it, as you have discovered.

You asked about ctrl-alt-del (or some other key combination) to  
close X.

Please look at /usr/share/X11/xkb/symbols/terminate:

partial default modifier_keys
xkb_symbols ctrl_alt_bksp {
   key BKSP {
   type=CTRL+ALT,
   symbols[Group1] = [ NoSymbol, NoSymbol, NoSymbol, NoSymbol,
Terminate_Server ]
   };
};

Changing 'key' to 'DELE' might be a thought. Except . . .


I usually activate ctrl-alt-bksp during the post-installation phase  
when I install/purge/configure stuff I want/don't-want that differs  
from the default installation.  Some of that requires a reboot anyway,  
so using udevadm isn't necessary (Don't force it -- use a hammer!)  
though thanks very much for the pointer.  It's clear I've got a lot to  
learn about this area.


I'm perfectly happy with ctrl-alt-bksp -- I just want *some* one key  
combination I can remember to use for that purpose.


Discovering that ctrl-alt-del started the screensaver was fun.  It  
will be useful!


Is /usr/share/X11/xkb/symbols a good place to look for other  
interesting key combos?


Thanks to everyone for all the help!

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/57253208-fc8c-49a9-a3a1-45b59ea16...@pobox.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy? [CONCLUSION]

2013-06-15 Thread Brian
On Sat 15 Jun 2013 at 12:32:52 -0700, Rick Thomas wrote:

 I usually activate ctrl-alt-bksp during the post-installation phase
 when I install/purge/configure stuff I want/don't-want that differs
 from the default installation.  Some of that requires a reboot
 anyway, so using udevadm isn't necessary (Don't force it -- use a
 hammer!) though thanks very much for the pointer.  It's clear I've
 got a lot to learn about this area.

The udevadm command isn't exactly obvious, is it?  But using it or doing
a reboot is needed. It hardly matters what you do if you get to where
you want to go.

 I'm perfectly happy with ctrl-alt-bksp -- I just want *some* one
 key combination I can remember to use for that purpose.
 
 Discovering that ctrl-alt-del started the screensaver was fun.  It
 will be useful!
 
 Is /usr/share/X11/xkb/symbols a good place to look for other
 interesting key combos?

More than likely.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130615200518.GC3205@desktop



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-12 Thread Bert Riding

On Mon, 10 Jun 2013 04:30:02 +0200, Rick Thomas wrote:


I've got xfce window manager installed on pretty-much as it comes
fresh-out-of-the-box Wheezy.

I'd like to have ctrl-alt-del restart the window manager.

I've configured it to do so with dpkg-reconfigure keyboard-
configuration, but (even after a reboot) that doesn't seem to do the
job.

Anybody know what I'm missing?

Thanks!


Sorry to e-mail, I read the list on usenet and they won't let me post.

from xfce4, left click in root window, Settings, Session and Startup,
Application Autostart, Add

Name it what you want, describe how you want, the command should be
something like setxkbmap -option terminate:ctrl_alt_bksp.

I have this and also the /etc/default/keyboard entry
XKBOPTIONS=terminate:ctl_alt_bksp in a kind of belt and suspenders
config method.

BR


--
Bert Riding
rerid...@xmission.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/20130611215806.56473...@blacky.savageroad.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-12 Thread Rick Thomas


Hi Brian,

You are absolutely right!  Having asked the question, I owe the group  
answers.


Unfortunately real life intruded its ugly head last week.  I do plan  
to do the tests and report back as soon as I can.


Rick

On Jun 11, 2013, at 11:26 AM, Brian wrote:



He could consider providing the information he has been asked for in  
two

posts. Whether the actual keyboard is a problem or not is unknown.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/865482de-ca47-43c6-aeab-bfe242e9a...@pobox.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Elimar Riesebieter
* Rick Thomas rbtho...@pobox.com [2013-06-10 11:19 -0700]:

 
 On Jun 10, 2013, at 1:37 AM, Elimar Riesebieter wrote:
 
 Try echo
 'XKBOPTIONS=lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp' 
 /etc/default/keyboard
 
 Elimar
 
 Thanks, Elimar.
 
 I'll give it a try.  Can you give me a pointer to some place where the
 options in /etc/default/keyboard are defined?

The file /etc/default/keyboard is part of package console-setup.

See also http://wiki.debian.org/Keyboard

Elimar
-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130611064136.gb4...@galadriel.home.lxtec.de



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Rob Owens


- Original Message -
From: Rick Thomas rbtho...@pobox.com
To: debian-user List Debian debian-user@lists.debian.org
Sent: Sunday, June 9, 2013 10:27:35 PM
Subject: Ctrl-alt-del to restart window manager with xfce in wheezy?


I've got xfce window manager installed on pretty-much as it comes  
fresh-out-of-the-box Wheezy.

I'd like to have ctrl-alt-del restart the window manager.


These days you can restart the X server with the following very complicated 
keystroke:

ctrl-alt-SysRq-k

SysRq is shift-printscreen, so the keystroke becomes:

ctrl-alt-shift-printscreen-k

I have no idea why they changed it, but I've got it committed to memory now.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2060071543.27704766.1370956093695.javamail.r...@ptd.net



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Chris Bannister
On Sun, Jun 09, 2013 at 07:27:35PM -0700, Rick Thomas wrote:
 
 I've got xfce window manager installed on pretty-much as it comes
 fresh-out-of-the-box Wheezy.
 
 I'd like to have ctrl-alt-del restart the window manager.
 
 I've configured it to do so with dpkg-reconfigure keyboard-
 configuration, but (even after a reboot) that doesn't seem to do
 the job.
 
 Anybody know what I'm missing?

JFTR, aside from anything else you have to do, regarding
ctrl-alt-del, check your /etc/inittab

e.g.
less /etc/inittab
[...]
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
[...]

I don't run a DE, so don't know if the DE overrides? these settings.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130611134606.GE18071@tal



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Brian
On Wed 12 Jun 2013 at 01:46:06 +1200, Chris Bannister wrote:

 On Sun, Jun 09, 2013 at 07:27:35PM -0700, Rick Thomas wrote:
  
  I've got xfce window manager installed on pretty-much as it comes
  fresh-out-of-the-box Wheezy.
  
  I'd like to have ctrl-alt-del restart the window manager.
  
  I've configured it to do so with dpkg-reconfigure keyboard-
  configuration, but (even after a reboot) that doesn't seem to do
  the job.
  
  Anybody know what I'm missing?
 
 JFTR, aside from anything else you have to do, regarding
 ctrl-alt-del, check your /etc/inittab
 
 e.g.
 less /etc/inittab
 [...]
 # What to do when CTRL-ALT-DEL is pressed.
 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
 [...]
 
 I don't run a DE, so don't know if the DE overrides? these settings.

X itself (irrespective of DE or window manager) ignores this key
combination. It is recognised in console mode only.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130611181417.GA11739@desktop



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Brian
On Mon 10 Jun 2013 at 10:37:28 +0200, Elimar Riesebieter wrote:

 Try echo
 'XKBOPTIONS=lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp' 
 /etc/default/keyboard

Does this do anything special? Or, putting it another way, does it do
anything more than 'dpkg-reconfigure keyboard-configuration' does for
the situation Rick Thomas is in?

He could consider providing the information he has been asked for in two
posts. Whether the actual keyboard is a problem or not is unknown.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130611182651.GB11739@desktop



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Hans-J. Ullrich
Am Dienstag, 11. Juni 2013 schrieb Brian:
 On Wed 12 Jun 2013 at 01:46:06 +1200, Chris Bannister wrote:
  On Sun, Jun 09, 2013 at 07:27:35PM -0700, Rick Thomas wrote:
   I've got xfce window manager installed on pretty-much as it comes
   fresh-out-of-the-box Wheezy.
   
   I'd like to have ctrl-alt-del restart the window manager.

Isn't it ctrl-alt-backspace to kill the window manager?

Or do I fail?

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201306112028.00513.hans.ullr...@loop.de



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Gary Dale

On 11/06/13 02:28 PM, Hans-J. Ullrich wrote:

Am Dienstag, 11. Juni 2013 schrieb Brian:

On Wed 12 Jun 2013 at 01:46:06 +1200, Chris Bannister wrote:

On Sun, Jun 09, 2013 at 07:27:35PM -0700, Rick Thomas wrote:

I've got xfce window manager installed on pretty-much as it comes
fresh-out-of-the-box Wheezy.

I'd like to havectrl-alt-del  restart the window manager.


Isn't itctrl-alt-backspace  to kill the window manager?

Or do I fail?

Hans




Actually, it seems to depend on your window manager. Ctrl-ALt-BkSp does 
nothing on KDE.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51b76f6f.4010...@rogers.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-11 Thread Brian
On Tue 11 Jun 2013 at 20:28:00 +0200, Hans-J. Ullrich wrote:

 Am Dienstag, 11. Juni 2013 schrieb Brian:
  On Wed 12 Jun 2013 at 01:46:06 +1200, Chris Bannister wrote:
   On Sun, Jun 09, 2013 at 07:27:35PM -0700, Rick Thomas wrote:
I've got xfce window manager installed on pretty-much as it comes
fresh-out-of-the-box Wheezy.

I'd like to have ctrl-alt-del restart the window manager.

I didn't write a single word of what is above.

 Isn't it ctrl-alt-backspace to kill the window manager?

You can kill X with whatever key combination suits you. The one you cite
can still can be used in Debian without too much fuss.

 Or do I fail?

Not necessarily. Gold stars are still up for grabs. :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130611191745.GD11739@desktop



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Andrei POPESCU
On Du, 09 iun 13, 19:27:35, Rick Thomas wrote:
 
 I've got xfce window manager installed on pretty-much as it comes
 fresh-out-of-the-box Wheezy.
 
 I'd like to have ctrl-alt-del restart the window manager.
 
 I've configured it to do so with dpkg-reconfigure keyboard-
 configuration, but (even after a reboot) that doesn't seem to do
 the job.

Don't you mean Ctrl-Alt-Backspace (not Del)? And this doesn't restart 
the window manager, but it shuts down the X server.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Rick Thomas


On Jun 9, 2013, at 11:10 PM, Andrei POPESCU wrote:


On Du, 09 iun 13, 19:27:35, Rick Thomas wrote:


I've got xfce window manager installed on pretty-much as it comes
fresh-out-of-the-box Wheezy.

I'd like to have ctrl-alt-del restart the window manager.

I've configured it to do so with dpkg-reconfigure keyboard-
configuration, but (even after a reboot) that doesn't seem to do
the job.


Don't you mean Ctrl-Alt-Backspace (not Del)? And this doesn't restart
the window manager, but it shuts down the X server.



Thanks for the clarification, Andrei!

Of course, you're right in all respects...

To be absolutely precise in what follows: The backspace key is part  
of the main alphabetic/numeric cluster.  The del key is part of the  
cluster with page-up, home, end and so on.


It's a Macintosh keyboard.  The backspace key on my keyboard is  
marked delete -- the del key is *also* marked delete.  Hence  
some of the confusion.



What I *should* have written, with that as background is:

I've got xfce desktop installed pretty-much as it comes fresh-out-of- 
the-box with Wheezy.


I'd like to have ctrl-alt-backspace restart the X server.  (But  
failing that, I'd be happy with ctrl-alt-del doing that job, if  
that's what it takes.)


I've configured ctrl-alt-backspace to do so with dpkg- 
reconfigure keyboard-configuration, but (even after a reboot) that  
doesn't seem to do the job.


Specifically, ctrl-alt-backspace did nothing before I did dpkg- 
reconfigure keyboard-configuration, and it still does nothing now.   
(Same for ctrl-alt-del.)


So what am I missing?

Thanks!

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/929976d0-866b-4163-b6cc-6d024ee3c...@pobox.com



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Andrei POPESCU
On Du, 09 iun 13, 23:51:36, Rick Thomas wrote:
 
 It's a Macintosh keyboard.  The backspace key on my keyboard is
 marked delete -- the del key is *also* marked delete.  Hence
 some of the confusion.
...
 Specifically, ctrl-alt-backspace did nothing before I did
 dpkg-reconfigure keyboard-configuration, and it still does nothing
 now.  (Same for ctrl-alt-del.)
 
 So what am I missing?

I have zero experience with Macintosh keyboards, but are you sure there 
is a key that the system (specifically X) interprets as BackSpace? You 
can use xev (package x11-utils) to check.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Klistvud

Dne, 10. 06. 2013 04:27:35 je Rick Thomas napisal(a):


I've got xfce window manager installed on pretty-much as it comes  
fresh-out-of-the-box Wheezy.


I'd like to have ctrl-alt-del restart the window manager.

I've configured it to do so with dpkg-reconfigure  
keyboard-configuration, but (even after a reboot) that doesn't seem  
to do the job.


Anybody know what I'm missing?

Thanks!

Rick



What you're missing is a text file in /etc/X11/xorg.conf.d which is  
needed to make the ctrl-alt-bkspc combo work since in recent  
Xservers the 'DontZap' option has been deprecated. The file which IIRC  
may be named anyway you want (mine is named 50-synaptics.conf since it  
also contains some configurations for my touchpad) should contain the  
following lines:


# Let's compensate for the deprecated Xserver DontZap option
Section InputClass
Identifier  Keyboard
Option  XkbOptions 
terminate:ctrl_alt_bksp,

EndSection

# Alternatively, if/when this gets deprecated in turn, the following  
command issued at DesktopEnvironment autostart should work:

# setxkbmap -option terminate:ctrl_alt_bksp

After creating the said file, you might need to restart the X server or  
reboot.


Good luck!

Caveat lector: this works in LXDE, I don't know about xfce since I'm  
not using it.


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1370849759.5231.1@compax



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Elimar Riesebieter
* Rick Thomas rbtho...@pobox.com [2013-06-09 23:51 -0700]:

 
 On Jun 9, 2013, at 11:10 PM, Andrei POPESCU wrote:
 
 On Du, 09 iun 13, 19:27:35, Rick Thomas wrote:
 
 I've got xfce window manager installed on pretty-much as it comes
 fresh-out-of-the-box Wheezy.
 
 I'd like to have ctrl-alt-del restart the window manager.
 
 I've configured it to do so with dpkg-reconfigure keyboard-
 configuration, but (even after a reboot) that doesn't seem to do
 the job.
 
 Don't you mean Ctrl-Alt-Backspace (not Del)? And this doesn't restart
 the window manager, but it shuts down the X server.
 
 
 Thanks for the clarification, Andrei!
 
 Of course, you're right in all respects...

Try echo
'XKBOPTIONS=lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp' 
/etc/default/keyboard

Elimar

-- 
  Learned men are the cisterns of knowledge,
  not the fountainheads ;-)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130610083728.ga4...@galadriel.home.lxtec.de



Re: Ctrl-alt-del to restart window manager with xfce in wheezy?

2013-06-10 Thread Brian
On Sun 09 Jun 2013 at 23:51:36 -0700, Rick Thomas wrote:

 I've configured ctrl-alt-backspace to do so with dpkg-
 reconfigure keyboard-configuration, but (even after a reboot) that
 doesn't seem to do the job.
 
 Specifically, ctrl-alt-backspace did nothing before I did
 dpkg-reconfigure keyboard-configuration, and it still does nothing
 now.  (Same for ctrl-alt-del.)

First:

   setxkbmap -print

Then:

   setxkbmap -option terminate:ctrl_alt_bksp

Finally:

   setxkbmap -print

It would be useful to see the outputs of the first and third commands
and know whether ctrl-alt-backspace works to close X.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130610130552.GM26394@desktop