You are not logged in.

#1 2008-06-17 13:19:42

Darkwind
Member
Registered: 2007-05-06
Posts: 58

[SOLVED?]Virtual terminal weirdness

Hello
     After re-installing Arch I was rather surprised to find that I was unable to change virtual terminal while running X.
What I am meaning is that once X starts, I am unable to change virtual terminal with Ctrl + Alt F1 etc. I can go from VT-1 to VT-7 (which is running X) normally but once in VT-7, Ctrl + Alt F1 does not work.
I googled around and found a workaround - running the command "chvt 1" as root changes me to VT-1 just fine.
However, I would rather not have to run this command every time I want to change virtual terminal - Ctrl + Alt F1 much less fuss.
Does anyone know why this is happening and/or how to fix it?

I would be happy to post config files if needed - just tell me what you want

[edit]
It appears that the issue may have been something to do with the open source ATI graphics drivers - I set up Catalyst and was able to shift virtual terminals with Ctrl + Alt + F1. Wierd.

Many thanks to everyone who posted
Caillin

Last edited by Darkwind (2008-06-19 22:59:27)

Offline

#2 2008-06-17 14:24:42

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

Re: [SOLVED?]Virtual terminal weirdness

A shot in the dark; does the input go to the focused app?  I.e. if you do ctl-alt-F1 while xterm is running, do you get some characters?

Offline

#3 2008-06-17 14:37:27

Darkwind
Member
Registered: 2007-05-06
Posts: 58

Re: [SOLVED?]Virtual terminal weirdness

yes - a capital P - if I try Ctrl+Alt+F1 in xterm. It's a capital Q for Ctrl+Alt+F2 etc up to Ctrl+Alt+F5 when the output is

;7~

and the output's the same from here all the way up.

If I do it while focused in anything else (gnome-terminal, firefox etc), nothing happens.
C

Last edited by Darkwind (2008-06-17 14:42:48)

Offline

#4 2008-06-17 14:56:51

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

Re: [SOLVED?]Virtual terminal weirdness

It seems like X isn't interpreting they keypresses correctly, are you loading a keymap via xmodmap or anything like it?

Offline

#5 2008-06-17 15:54:27

Darkwind
Member
Registered: 2007-05-06
Posts: 58

Re: [SOLVED?]Virtual terminal weirdness

not to my knowledge - I didn't set anything up to do that.

Offline

#6 2008-06-18 12:45:46

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

Re: [SOLVED?]Virtual terminal weirdness

Are you running a WM?  Can you reproduce the problem if you kill your WM and just run a startx from the terminal?

Offline

#7 2008-06-18 13:37:58

Darkwind
Member
Registered: 2007-05-06
Posts: 58

Re: [SOLVED?]Virtual terminal weirdness

yes, I'm running GNOME but problem persists even if I just boot to init 3 and run startx. - Once X is started, I cannot leave that virtual terminal with Ctrl + Alt + F1.

Offline

#8 2008-06-18 13:51:30

randomguy
Member
Registered: 2007-06-19
Posts: 101

Re: [SOLVED?]Virtual terminal weirdness

Are you loading the right keyboardlayout for X ? Some keyboards have weird layouts so ctrl would actually be mapped on meta when used with default xkb settings.

Offline

#9 2008-06-18 19:05:32

Darkwind
Member
Registered: 2007-05-06
Posts: 58

Re: [SOLVED?]Virtual terminal weirdness

randomguy wrote:

Are you loading the right keyboardlayout for X ? Some keyboards have weird layouts so ctrl would actually be mapped on meta when used with default xkb settings.

I think so - I mean when I use other keyboard shortcuts (eg Ctrl+space to play or pause in Rhythmbox) it works fine. I'm using the UK generic 105 key PC layout according to GNOME's 'keyboard' menu so I'd think that would be pretty normal.
C

Offline

Board footer

Powered by FluxBB