This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Restore Alt-Ctl-Backspace As Server Kill
- From: Tim Daneliuk <tundra at tundraware dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 03 Feb 2009 13:17:28 -0600
- Subject: Re: Restore Alt-Ctl-Backspace As Server Kill
- References: <4984C703.909@tundraware.com> <4984E0B8.4090303@tundraware.com> <49889560.8060402@dronecode.org.uk>
- Reply-to: cygwin-xfree at cygwin dot com
Jon TURNEY wrote:
> Tim Daneliuk wrote:
>> Tim Daneliuk wrote:
>>> I really hate the assignment of Alt-F4 to kill a running X-server.
>>> What magic must I perform to set it back to the more traditional
>>> Alt-Ctl-Backspace combo? Thanks.
>>
>> Let me ask this more properly. I know how to use -nounixkill and
>> -nowinkill to prevent keyboard initiated kills of the server.
>>
>> I use a VirtuaWin on a WinXP system to provide multiple desktops.
>> One of them is activated via Ctrl-Alt-F4. When I do this,
>> it kills the running instance of Cygwin/X which apparently sees
>> this key combo as a "kill server" command. This is true whether
>> or not -nounixkill and/or -nowinkill are in use.
>>
>> Ideas?
>
> I'm afraid I'm not able to reproduce this.
>
> I see that the code doesn't consider the state of the control or shift
> keys when looking for alt-f4 to close the server (so ctrl-alt-f4 also
> closes it, which is possibly a bug), but this should also be disabled by
> -nowinkill, which is what I observe.
>
Very strange. I start my Xserver instance like this:
run XWin :$SCREEN -nowinkill -unixkill -ac +kb -clipboard -silent-dup-error -nod
ecoration&
Then I login like this (both of these via a cygwin shell script):
ssh $USER@$REMOTE "export DISPLAY=$DISPLAY;$COMMAND;logout"
I can bounce between VirtuaWin sessions all like via Ctl-Alt-<Session #> and
all is well until I try Ctl-Alt-4. If I exit VirtuaWin, that key combination
does not kills the session, so this hints at this being a VirtuaWin problem
not one in cygwin ...
--
----------------------------------------------------------------------------
Tim Daneliuk tundra@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/