Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-10 Thread Amy Templeton
Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Thu, May 10, 2007 at 08:01:45PM -0400, Amy Templeton wrote: > > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > On Wed, May 09, 2007 at 01:00:19AM -0400, Amy Templeton wrote: > > > > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > >

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-10 Thread Andrew Sackville-West
On Thu, May 10, 2007 at 08:01:45PM -0400, Amy Templeton wrote: > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > On Wed, May 09, 2007 at 01:00:19AM -0400, Amy Templeton wrote: > > > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > > > > > what happens when you disable your xmodmap with

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-10 Thread Amy Templeton
Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Wed, May 09, 2007 at 01:00:19AM -0400, Amy Templeton wrote: > > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > > > what happens when you disable your xmodmap with a "us" layout? > > > > Oh dear...this is disturbing...it works properly.

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-09 Thread Andrew Sackville-West
On Wed, May 09, 2007 at 01:00:19AM -0400, Amy Templeton wrote: > Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > what happens when you disable your xmodmap with a "us" layout? > > Oh dear...this is disturbing...it works properly. But...but...I > need to have Control where Caps Lock used to

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-09 Thread Andrew Sackville-West
On Wed, May 09, 2007 at 10:34:46AM -, Thomas Dickey wrote: > Amy Templeton <[EMAIL PROTECTED]> wrote: > >> and press CTRL+ALT+F1? > > > Well...if I do that while I'm still in the XTerm, I see... > > > ^[[1;7P > > > ...but I think that's just XTerm freaking out. When another frame > > is focu

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-09 Thread Thomas Dickey
Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > that's not good. THat means X is ignoring those keystrokes and passing > them through to Xterm. Fortunately, "X" ignores keystrokes, so you're able to use your keyboard. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-09 Thread Thomas Dickey
Amy Templeton <[EMAIL PROTECTED]> wrote: >> and press CTRL+ALT+F1? > Well...if I do that while I'm still in the XTerm, I see... > ^[[1;7P > ...but I think that's just XTerm freaking out. When another frame > is focused and I press the buttons, there is no output. It helps to read the documentat

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-08 Thread Amy Templeton
Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Tue, May 08, 2007 at 11:40:02PM -0400, Amy Templeton wrote: > > Florian Kulzer <[EMAIL PROTECTED]> wrote: > > > > > What do you see if you disable your workaround, run > > > > > tail -fn0 /var/log/Xorg.0.log > > > > > and press CTRL+ALT+F1? >

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-08 Thread Andrew Sackville-West
On Tue, May 08, 2007 at 11:40:02PM -0400, Amy Templeton wrote: > Florian Kulzer <[EMAIL PROTECTED]> wrote: > > > What do you see if you disable your workaround, run > > > tail -fn0 /var/log/Xorg.0.log > > > and press CTRL+ALT+F1? > > Well...if I do that while I'm still in the XTerm, I see... >

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-08 Thread Amy Templeton
Florian Kulzer <[EMAIL PROTECTED]> wrote: > (My apologies if we went over this already. I have now totally lost > track of the various branches of this thread.) It's okay. Also, appreciated. > On Fri, May 04, 2007 at 00:26:29 -0400, Amy Templeton wrote: > > Andrew Sackville-West wrote: > > > On

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-07 Thread Florian Kulzer
On Fri, May 04, 2007 at 00:26:29 -0400, Amy Templeton wrote: > Andrew Sackville-West wrote: > > On Thu, May 03, 2007 at 10:09:42PM +0200, Florian Kulzer wrote: > > > On Thu, May 03, 2007 at 00:41:32 +0100, David Claughton wrote: > > > > Florian Kulzer wrote: > > > > > I am afraid it is time to sta

Re: Since chvt works, the problem must be the keymap [SOLVED (for reals)]

2007-05-04 Thread Amy Templeton
David Claughton wrote: > Amy Templeton wrote: > > > > P.S.: When did the thread title get changed, anyway? I > >guess I missed that. > > > If you mean the 'SOLVED' tag, I'm afraid that'd be me. I guess I'd > forgotton I was riding on your thread, I probably > shouldn't have implied tha

Re: Since chvt works, the problem must be the keymap [SOLVED (for me)]

2007-05-04 Thread David Claughton
Amy Templeton wrote: > > P.S.: When did the thread title get changed, anyway? I >guess I missed that. > If you mean the 'SOLVED' tag, I'm afraid that'd be me. I guess I'd forgotton I was riding on your thread, I probably shouldn't have implied that the entire issue was resolved. Sor

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-03 Thread Amy Templeton
Andrew Sackville-West wrote: > On Thu, May 03, 2007 at 10:09:42PM +0200, Florian Kulzer wrote: > > On Thu, May 03, 2007 at 00:41:32 +0100, David Claughton wrote: > > > Florian Kulzer wrote: > > > > I am afraid it is time to start grasping at straws now: > > >> - try "gb" instead of "uk" for XkbLay

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-03 Thread Andrew Sackville-West
On Thu, May 03, 2007 at 10:09:42PM +0200, Florian Kulzer wrote: > On Thu, May 03, 2007 at 00:41:32 +0100, David Claughton wrote: > > Florian Kulzer wrote: > > > I am afraid it is time to start grasping at straws now: > >> - try "gb" instead of "uk" for XkbLayout > > > > Well, would you believe it

Re: Since chvt works, the problem must be the keymap

2007-05-03 Thread David Claughton
Florian Kulzer wrote: I think I understand now why it did not work: There is more to this keysym business than what meets the eye ... [snipped very informative explanation] Great work, Florian! I always find it fascinating when I get a glimpse into how something works "under the covers".

Re: Since chvt works, the problem must be the keymap

2007-05-03 Thread Florian Kulzer
On Wed, May 02, 2007 at 19:47:44 -0400, cga2000 wrote: > On Wed, May 02, 2007 at 09:27:35AM EDT, Florian Kulzer wrote: > > On Wed, May 02, 2007 at 00:49:38 +0100, David Claughton wrote: > > > Florian Kulzer wrote: > > > > > >> I would experiment like this: > > >> xmodmap -e 'keycode 67 = F1 F13 XF

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-03 Thread Florian Kulzer
On Thu, May 03, 2007 at 00:41:32 +0100, David Claughton wrote: > Florian Kulzer wrote: > > I am afraid it is time to start grasping at straws now: >> - try "gb" instead of "uk" for XkbLayout > > Well, would you believe it - that fixed the problem! > > I still can't quite believe it was as simple a

Re: Since chvt works, the problem must be the keymap

2007-05-02 Thread cga2000
On Wed, May 02, 2007 at 09:27:35AM EDT, Florian Kulzer wrote: > On Wed, May 02, 2007 at 00:49:38 +0100, David Claughton wrote: > > Florian Kulzer wrote: > > > >> I would experiment like this: > >> xmodmap -e 'keycode 67 = F1 F13 XF86_Switch_VT_1' > >> xmodmap -e 'keycode 67 = F1 F13 F1 XF86_Switc

Re: Since chvt works, the problem must be the keymap [SOLVED]

2007-05-02 Thread David Claughton
Florian Kulzer wrote: > I am afraid it is time to start grasping at straws now: - try "gb" instead of "uk" for XkbLayout Well, would you believe it - that fixed the problem! I still can't quite believe it was as simple as that. Thanks a lot for your help :-) Dave. -- To UNSUBSCRIBE, ema

Re: Since chvt works, the problem must be the keymap

2007-05-02 Thread Florian Kulzer
On Wed, May 02, 2007 at 00:49:38 +0100, David Claughton wrote: > Florian Kulzer wrote: > >> I would experiment like this: >> xmodmap -e 'keycode 67 = F1 F13 XF86_Switch_VT_1' >> xmodmap -e 'keycode 67 = F1 F13 F1 XF86_Switch_VT_1' >> xmodmap -e 'keycode 67 = F1 F1 F1 XF86_Switch_VT_1' >> xmodmap

Re: Since chvt works, the problem must be the keymap

2007-05-01 Thread David Claughton
Florian Kulzer wrote: I would experiment like this: xmodmap -e 'keycode 67 = F1 F13 XF86_Switch_VT_1' xmodmap -e 'keycode 67 = F1 F13 F1 XF86_Switch_VT_1' xmodmap -e 'keycode 67 = F1 F1 F1 XF86_Switch_VT_1' xmodmap -e 'keycode 67 = F1 F13 F13 XF86_Switch_VT_1' Nope, none of these commands

Re: Since chvt works, the problem must be the keymap

2007-05-01 Thread Florian Kulzer
On Tue, May 01, 2007 at 02:09:10 +0100, David Claughton wrote: > Florian Kulzer wrote: >> Check what is assigned to keycode 67. I see this: >> $ xmodmap -pk | egrep '^[ ]+67 ' >> 67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1) >> If your output looks different then you can try if >> x

Since chvt works, the problem must be the keymap [(mostly SOLVED)]

2007-04-30 Thread Amy Templeton
So I did some follow-through and read through a bit of the sudoers manual, and added the following to the line for my username to the system /etc/sudoers file (using visudo, of course): Code: ___ NOPASSWD: /usr/bin/chvt ___ ...which allows me to successful

Re: Since chvt works, the problem must be the keymap

2007-04-30 Thread David Claughton
Florian Kulzer wrote: Check what is assigned to keycode 67. I see this: $ xmodmap -pk | egrep '^[ ]+67 ' 67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1) If your output looks different then you can try if xmodmap -e 'keycode 67 = F1 XF86_Switch_VT_1' restores the VT switching.

Re: Since chvt works, the problem must be the keymap

2007-04-30 Thread cga2000
On Mon, Apr 30, 2007 at 04:31:53PM EDT, Florian Kulzer wrote: > On Mon, Apr 30, 2007 at 16:03:42 -0400, Amy Templeton wrote: > > Florian Kulzer wrote: > > > Check what is assigned to keycode 67. I see this: > > > > > $ xmodmap -pk | egrep '^[ ]+67 ' > > > 67 0xffbe (F1) 0x1008fe01

Re: Since chvt works, the problem must be the keymap

2007-04-30 Thread Florian Kulzer
On Mon, Apr 30, 2007 at 16:03:42 -0400, Amy Templeton wrote: > Florian Kulzer wrote: > > Check what is assigned to keycode 67. I see this: > > > $ xmodmap -pk | egrep '^[ ]+67 ' > > 67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1) > > > If your output looks different then you can try

Re: Since chvt works, the problem must be the keymap

2007-04-30 Thread Amy Templeton
Florian Kulzer wrote: > Check what is assigned to keycode 67. I see this: > $ xmodmap -pk | egrep '^[ ]+67 ' > 67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1) > If your output looks different then you can try if > xmodmap -e 'keycode 67 = F1 XF86_Switch_VT_1' > restores the VT sw

Re: Since chvt works, the problem must be the keymap

2007-04-30 Thread Florian Kulzer
On Mon, Apr 30, 2007 at 00:26:12 +0100, David Claughton wrote: > Florian Kulzer wrote: >> It would be interesting to see which keycodes and keysyms are reported >> if you run "xev", press (and hold) both CTRL and ALT, and then press F1, >> F2, etc. Does xev really display the keycodes for the Fn ke

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread cga2000
On Sun, Apr 29, 2007 at 02:51:13PM EDT, Florian Kulzer wrote: > On Sun, Apr 29, 2007 at 14:10:14 -0400, cga2000 wrote: > > On Sun, Apr 29, 2007 at 12:10:22PM EDT, Florian Kulzer wrote: > > [...] > > > > It would be interesting to see which keycodes and keysyms are reported > > > if you run "xev",

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread David Claughton
David Claughton wrote: Florian Kulzer wrote: It would be interesting to see which keycodes and keysyms are reported if you run "xev", press (and hold) both CTRL and ALT, and then press F1, F2, etc. Does xev really display the keycodes for the Fn keys and the keysyms "XF86_Switch_VT_n"? Are the

[Fwd: Re: Since chvt works, the problem must be the keymap]

2007-04-29 Thread David Claughton
Florian Kulzer wrote: It would be interesting to see which keycodes and keysyms are reported if you run "xev", press (and hold) both CTRL and ALT, and then press F1, F2, etc. Does xev really display the keycodes for the Fn keys and the keysyms "XF86_Switch_VT_n"? Are the hexadecimal keysym value

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread Florian Kulzer
On Sun, Apr 29, 2007 at 14:10:14 -0400, cga2000 wrote: > On Sun, Apr 29, 2007 at 12:10:22PM EDT, Florian Kulzer wrote: [...] > > It would be interesting to see which keycodes and keysyms are reported > > if you run "xev", press (and hold) both CTRL and ALT, and then press F1, > > F2, etc. Does xe

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread Andrew Sackville-West
On Sun, Apr 29, 2007 at 02:10:14PM -0400, cga2000 wrote: > On Sun, Apr 29, 2007 at 12:10:22PM EDT, Florian Kulzer wrote: > > On Sun, Apr 29, 2007 at 11:12:23 -0400, Amy Templeton wrote: > > > Andrew Sackville-West wrote: > > > > maybe you could wrap it in a script that was suid root, > > > > but I

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread cga2000
On Sun, Apr 29, 2007 at 12:10:22PM EDT, Florian Kulzer wrote: > On Sun, Apr 29, 2007 at 11:12:23 -0400, Amy Templeton wrote: > > Andrew Sackville-West wrote: > > > maybe you could wrap it in a script that was suid root, > > > but I don't know about those things either. > > > > Fair enough. I guess

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread Florian Kulzer
On Sun, Apr 29, 2007 at 11:12:23 -0400, Amy Templeton wrote: > Andrew Sackville-West wrote: > > maybe you could wrap it in a script that was suid root, > > but I don't know about those things either. > > Fair enough. I guess I should probably find some time to > read up on this (I know relevant in

Re: Since chvt works, the problem must be the keymap

2007-04-29 Thread Amy Templeton
Andrew Sackville-West wrote: > maybe you could wrap it in a script that was suid root, > but I don't know about those things either. Fair enough. I guess I should probably find some time to read up on this (I know relevant info. can be found in some manpage I doubtless have installed, and I've see

Re: Since chvt works, the problem must be the keymap

2007-04-28 Thread Andrew Sackville-West
On Sat, Apr 28, 2007 at 10:11:37PM -0400, Amy Templeton wrote: > Andrew Sackville-West wrote: > > Amy, I was helping you with this and then got distracted. > > Did you resolve this issue at all? > > Unfortunately, no (and I also got somewhat distracted and > just came across this message). Basical

Re: Since chvt works, the problem must be the keymap

2007-04-28 Thread Amy Templeton
Andrew Sackville-West wrote: > Amy, I was helping you with this and then got distracted. > Did you resolve this issue at all? Unfortunately, no (and I also got somewhat distracted and just came across this message). Basically, at this point I think I could kludge together a quick fix for this if I

Re: Since chvt works, the problem must be the keymap

2007-04-26 Thread Andrew Sackville-West
On Tue, Apr 24, 2007 at 03:05:48PM -0400, Amy Templeton wrote: > Since chvt works, is there any way to make chvt a command > that is accessible by a normal user such as myself so that I > could bind it to a key with xbindkeys (for those of you just > tuning in, I can't seem to switch to a VT from X

Re: Since chvt works, the problem must be the keymap

2007-04-24 Thread Amy Templeton
Since chvt works, is there any way to make chvt a command that is accessible by a normal user such as myself so that I could bind it to a key with xbindkeys (for those of you just tuning in, I can't seem to switch to a VT from X with the standard Control-Alt- keybindings), but can using chvt as roo

Since chvt works, the problem must be the keymap

2007-04-21 Thread krubo
Glad to hear "chvt" works! My impression is that C-M-F# is normally keymapped to invoke the very same action as chvt. So using chvt is a great way to circumvent a misbehaving keymap. This strongly suggests that Andrew was correct (see above) that something is wrong with your keymap. As Andre