Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
yes i did try all keys (CTRL-ALT-F1 through F6), and yes i held down the keys FIRMLY and long. I even tried the other ctrl/alt keys (right side). Nothing.
Also, i have the same problem on my laptop (same distro). But there it worked once or twice... The thing is i usually only try that only when X or Gnome has barfed -- so maybe it worked sometimes because whatever causes it not to work had just crashed ?...
My suspicion is that something captures those key-events and does not forward them correctly (or not at all). What would be the possibilities here?
Oh, BTW: Ctrl- and Alt-Keys seem to work as expected for other programs, so a messed-up keyboard-layout should not be the cause, i think.
do you have any suggestion where i could start to look?
i tried pressing NUMLOCK, then CTRL-ALT-F4, then NUMLOCK again, the CTRL-ALT-F4 again... nothin. It even seems that NUMLOCK is disabled completele: The LED stays off an when i type, i allways get numbers. That's a little strage, but fine with me... who needs the Naviagion-Function of the numpad anyway?
(actually, i've long been searching for a Keyboard without a numpad, but with the Kursor-Keys etc in the right place. WOuld give me more root for the mouse...)
hmmm... this seems thougher than i thought. Where else could i ask my question? oh, and btw: i heard rumores about the virtual-console-switching being turned off in some distros becausee "it confuses the user". I wasn't able to confirm that, though... any idea about redhat?
Another possibility is of course that the runlevel you are in does not have tty1 etc. consoles. If this is possibility could look in ?inittab - the basic init file - to find a suitable run-level to switch to. If none exists then edit inittab.
If numlock not working could that mean the keyboard is incorrectly set up - so when press 'ctrl-alt-Fn' the computer gets 'not all swans are white'?
My Repost of this just got Closed by a mod for being just that -- a repost. Sorry, i didn't mean to spam you, i just thought the topic meight be RedHat-specific so i posted in the RedHat forum. Next time i'll just rephrase and not back-link
Thanks for another place to look... but /etc/inittab does not seem to be the problem either. Here is an excerpt:
# Run gettys in standard runlevels
Looks fine, no? Also, calling "/sbin/mingetty tty2" manually has no effect.
I just noticed: hitting CTRL-ALT-F1 (F2, etc) in a gnome-terminal results in the character-sequence ";7~"... that should not happen, right? That keystroke should never reach the console? Oh, when i try this in Konsole, I get [23~ for CTRL-ALT-F1 and [24~ for C-A-F2, but nothing for the other Fs. strange....
thanks again for the starting point, i'll now google for "inittab"...
Open an xterm, Konsole or whatever it's called and execute "xev|grep x0.*key". Press these keys after the other: CTRL, ALT, F1, then close the white Xev screen. Now run "xmodmap -pke|egrep -ie "alt|contr"". Please post output from both commands, they should show your keytable mapping for these particular keys.
Ok, i had to install the "open" package first, but "switchto 1" works as expected. Going back to X with ALT-F7 also works.
The bad thing is that in case i really need the VC (that is, X has barfed), i won't be able to type that command... considering that CTRL-ALT-BACKSPACE is also broken, i'll be rebooting just to get rid of a broken X
thanks anyway, i always wondered how to switch to a VC from a script (in case i would ever need that... never mind).
i just found the problem with the Gnome KeyBoard-Applet. Thanks to Shooby (author of the Applet) for a quick response (although it did not lead me to the solution). I was a little unfriendly about his Applet, as i though it was stealing the keystrokes itself. In fact it seems that the applet just cause a faulty layout to be loaded -- not the fault of the applet (or its author). I still don't understand the details, but here is what i found out:
The problem does not occur if i use setxkbmap for switching kb-layouts -- that is, the problem is somehow related to gkb_xmmap. I probably have a hose layout-file somewhere...