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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On my system, in the GUI, @ shows up as @ like it's supposed to. It even works fine in the GUI terminal. But when I switch over to an actual terminal (Ctrl + Alt + F#), @ shows up as ". How can I fix this?
I don't have an answer, but I have an idea for a diagnostic to get started with.
Run the locale command in a terminal under the GUI, then run the same command in the actual console, and check for differences in the output, particularly as regards the LANG setting.
I'd be mildly taken aback if there were, but it will take only seconds to check.
Well that rules out that the desktop environment was somehow invoking a different LANG setting from the raw GUI.
This is curious and I've made myself a note to do some testing tomorrow, but keep in mind that something might come up. In the meantime, if this is a desktop and if you have a spare keyboard, try swapping out the keyboard to make sure it isn't some keyboard weirdness. I do not think it could be, but it's worth ruling out (see my siggy).
Even if they are all Ciscos, I'd expect that, if they were different models, the test should have turned up something. I wouldn't have expected it to be the keyboard in any event, but that's another possible cause ruled out.
For a moment, I thought that xev might help, but xev requires X.
By the way, what distro/version/desktop are you using?
AFAIK, the raspbian defaults to a british keyboard layout. Pipe [|] and number [#] are not what they should be with that layout. Although it is odd that your GUI differs for it's layout.
Although it is odd that your GUI differs for it's layout.
Not all that odd. Keyboard layout for the gui is set in xorg.conf, though some desktop environments may override this with their own settings, keyboard layout for the console is usually set from a loadkeys command somewhere in one of the rc.* scripts (and will vary with distro). I've no idea what systemd does.
And yes, this sounds very much like a uk <> us layout mismatch.
I have not been able to duplicate this on Mageia v. 5 (Zareason laptop), Slackware --Current (Zareason desktop), or Debian v. 8 (Lenovo graphics tablet).
I did learn that if you try ALT-CTRL-BackSpace (I know, it was stupid, but mistakes are how I learn) in a VM, the Host OS intercepts the command and closes X.
I did that during the rackspace challenge at a texas linuxfest. I don't normally do VMs as all my machines are already resource starved with 2GB ram or less. A lot of distros these days actually disable the Cntrl+Alt+Backspace option to close X. Which is why I found it surprising that it worked in that scenario.
One odd thing I do is use Xdmx to lock several Xephyr windows together so I can have a terminal with a LOT of $LINES. Which helps when coding as I can keep my 1080p screen orientated at 16:9. Anyway, with Xephyr you can lock your input to the Xephyr window with Cntrl+Shift, perhaps that works for a VM to. And toggle out of it with the same. When locked, your inputs do NOT go to your host X environment. I really need to make that youtube video, but my blog on here outlines the process. With a neep font at 6x13 you could have 105x246 characters in an xterm with a fair amount of padding. Which should be good enough to show the full ps output in top if you're not running a server. And the full manpage on one screen for quite a few things.
You've obviously got the USA driver instead of the UK one. Sometimes confusion occurs because the X driver is called gb but the console one is called uk! The command
loadkeys uk
should get the correct settings. If it does, you can make a permanent change with
dpkg-reconfigure console-data
I don't know if that still works in the age of systemd; if it doesn't, see this http://wiki.archlinux.org/index.php/...ion_in_console
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.