Can't Switch Back to X after Ctrl-Alt-F1 SOLVED!

From this post:

Can’t Switch Back to X after Ctrl-Alt-F1 in 10.2 w/ nvidia - openSUSE Forums

The problem appears to be the keyboard driver or key mapping when using the Virtual TTY.

So I found this page:

Virtual Consoles in Linux

and did this in a TTY:


loadkeys - << EOF
keycode 125  = Decr_Console      # Left  ~# key
keycode 126  = Incr_Console      # Right ~# key
EOF

And voila! I can go from console to console, although I have to scroll thru them.

Cheers.

It also seems that a


loadkeys -d

also fixes everything.

Cheers.

ronaldalau wrote:

>
> It also seems that a
>
>
> Code:
> --------------------
>
> loadkeys -d
>
> --------------------
>
>
> also fixes everything.
>
> Cheers.
>
>

Does your Microsoft keyboard have a ‘toggle’ for the Fn keys? Something
that allows you to use them for audio, multimedia controls, but you
press ‘Fn’ + ‘F1’ to get F1, otherwise it lowers the volume or raises your
garage door or something?

The tty’s each have a saved state (numlock, capslock, scrolllock, etc) which
is restored when you change to each tty. It’s entirely possible that
the ‘state’ which is restored upon changing to tty1 (C-A-F1) has the Fn
keys ‘toggled off’ or into multimedia mode. Logitech keyboards annoy me
with that ‘feature’… probably explains why I have a ‘Das Keyboard’… no
funny toggles.

Just a thought.


L R Nix
lornix@lornix.com

So driver and hardware are out of sync with the Function keys toggle…

Could be. I’ll have to do some tests.

txs for the tip.

R.