Re: [SLUG] Can't switch out of X

From: Paul M Foster (paulf@quillandmouse.com)
Date: Tue Aug 16 2005 - 17:15:43 EDT


On Tue, Aug 16, 2005 at 04:28:12PM -0400, Ian C. Blenke wrote:

>
> >I don't have a session manager installed. I'm running X with Blackbox,
> >and using "startx" to get into it.
> >
> >This is such an obscure problem, and I can't figure out how to google
> >it. Let's take another tack.
> >
> >How would I go about setting, say, "Alt-G" to go to virtual console
> >number 3?
> >
> >
> Modify your X server source and rebuild it to permit that. There is no
> "easy way" that I'm aware of to re-bind those keys that way.

Not really practical, in that I'm using binary .debs from Sarge. I did
find this, though:

In /etc/X11/xkb/compat/xfree86:

interpret XF86_Switch_VT_9 {
        action = SwitchScreen(Screen=9, !SaveServer);
};

etc...

In /etc/X11/xkb/symbols/srvr_ctrl and
/etc/X11/xkb/symbols/pc/pc:

xbk_symbols "fkey2vt" {
        key <FK09> {
                type = "CTRL+ALT",
                symbols[Group1] = [F9, XF86_Switch_VT_9]
        };
        ...
};

etc...

So the infrastructure's there. I just don't know enough about the
keyboard infrastructure in general, nor have I time to explore it fully.
But I suspect something else internally is blocking the proper response
to these keys.

-- 
Paul M. Foster
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:08:54 EDT