LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-29-2007, 08:03 PM   #1
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Rep: Reputation: Disabled
How do I enable the ASCII conversion chart characters


I've been having problems using alt-"character" to enter ASCII characters in Ubuntu. Is there any way to enable this character set in Ubuntu (preferably so its available before logging in if possible)? So far I've had no success getting any of the symbols to register. Many thanks in advance for any ideas. Cheers
 
Old 05-30-2007, 07:58 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I am not sure I understand your question. Is it about using the alt key?
 
Old 05-31-2007, 08:46 PM   #3
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
In the OS of which we don't speak I have always been able to press and hold the <alt> key while pressing another key. This gives me access to about 255 different characters. However on the same computer in Ubuntu doing this has zero effect. Ubuntu doesn't even seem to recognize the keystroke combinations as anything, because the cursor doesn't even advance one space. My searches for a solution have been in vain so far. Also I was wondering if there was a way to enable the <alt><keystroke> combination settings, so they would be available for passwords, prior to logging into linux as well.
 
Old 06-01-2007, 01:45 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I was unaware of the behavior you speak of in that (ahem) other OS. I do know that in the default configuration for Gnome in edgy eft, the left and right alt keys exhibit different behaviors. When trying to type into in a gnome-terminal holding the left alt key, either nothing happened or it activated a menu or some such depending on the character I typed. However, when holding the right alt key, typing produced the character I typed w/o any of that other behavior.

I believe this is controlled by Applications -> Preferences -> Keyboard -> Layout Options (the last being a tab). There are a bunch of options in this tab that you might want to investigate. But on my computer, under Third level options, the box for Press right Alt key to select 3rd level is checked, which I think is what is giving the behavior I just described. My box is configured vanilla US/English. I am guessing this is why this presumed "third level" just produced the same result as not pressing the alt key. My conjecture is that for some other localization settings, this third level would produce different characters. I don't know if this is what you are talking about, but you might check out the options on that tab.
 
Old 06-01-2007, 01:57 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'm fairly sure it depends a lot about the keymap you are using. It's been a while since I last time needed these ALT+something ASCII "special" letters, but I did it on Ubuntu (Dapper? Edgy? should not matter though) without any problems (localization was non-english, if it makes difference). The results, though were not the same as on other operating systems; the same ALT+something combination produced different letters on my end than on my friend's end (different OS), and even so that when I posted some of the letters (for a test) online, my friend saw "empty boxes" instead of the special chars. Leads me to think it's highly dependent about the keymap you're using, so even if it worked in local environment, don't trust it works everywhere.

I suggest you try it in console too (CTRL+ALT+F1 -> login -> try -> exit -> CTRL+ALT+F7 or something) and see if that works. On a graphical desktop it's possible that the desktop, for example Gnome, notes your keys pressed before anything else and if they're configured to do something, you won't get the results. It's up to how the keys like Meta (ALT) are configured.

Sorry I can't be of more help right now, but I'd start off in console environment, as there you don't have any fancy desktops between you and the shell
 
Old 06-01-2007, 06:33 PM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by b0uncer
I suggest you try it in console too (CTRL+ALT+F1 -> login -> try -> exit -> CTRL+ALT+F7 or something) and see if that works. On a graphical desktop it's possible that the desktop, for example Gnome, notes your keys pressed before anything else and if they're configured to do something, you won't get the results. It's up to how the keys like Meta (ALT) are configured.
My impression is that the DE (for example Gnome) sometimes just loads its own keymap so that the results between virtual consoles and DEs could be completely different. If so, two completely independent customizations might be required. But I know so little about keymaps this should be taken as just conjecture until somebody verifies it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert characters by ascii code? J_Szucs Linux - General 14 06-17-2017 12:33 PM
mouse keys and non-ascii characters elyk Slackware 8 12-02-2005 12:46 PM
Extended ASCII characters in UNIX MatSzor Programming 5 05-15-2004 09:57 PM
ascii characters lakshman Linux - General 1 03-14-2003 11:28 AM
Deleting non ASCII characters Thinkgeekness Linux - Networking 4 03-04-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration