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

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Aug 17 2005 - 22:49:39 EDT


On Wed, 17 Aug 2005, Paul M Foster wrote:

> On Wed, Aug 17, 2005 at 08:31:16PM -0400, Eben King wrote:
>
> <snip>
>
> > > 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?
> >
> > Bind "chvt 3" to alt-G. In fvwm2 it would be something like
> >
> > # any context --v v-- alt
> > Key G A A exec chvt 3
>
> From my googling, chvt works at the console, but not from X down to a
> console.

I get this from an rxvt:

[eben@pc eben]$ chvt 1
chvt: VT_ACTIVATE: Operation not permitted

but this in /usr/share/fvwm/fvwm2rc works:

key F1 A M exec chvt 1
key F2 A M exec chvt 2
etc.

And I was wrong about the second "A" -- fvwm2 (XFree86?) calls "alt" "meta".

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Two atoms are walking along. Suddenly, one stops. The other says, "What's wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"

----------------------------------------------------------------------- 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:14:10 EDT