How to type in special characters using [alt] in Linux
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
How to type in special characters using [alt] in Linux
In Windows, you can hold the [alt] key and type a number on the number pad to enter a character. For example, if I wanted the bullet, I could hold [alt] and type "0149" and a bullet would appear.
This doesn't work in Linux. Is there another way to enter the same codes?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
This I have seen many times asked here. There have been some answers. One I remember is this one. Making a new keyboard mapping and switching back and forth as needed under KDE though. http://www.linuxquestions.org/questi...cial+character
If you haven't yet try the search here and use the search string ' alt special character '. Some mention making use of the AltGr key. Don't have that one the note book so can't test here. If I get back to the Desktop I might give it a try on my plain 101 keyboard.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
From what I understand with that link you need to change the smybols that the key produces. So modify a different keyboard layout so you can switch between to two when needed. I rarely use some of these special charcaters so I open a webpage I saved that has these characters and cut and paste. Very slow over all but works for me with the minimum use.
From the Controlcenter choose "Regional and Accessibility"
then "keyboard Layout"
Add the "U.S English w/deadkeys (us_intl)"
and remove the deafault layout.
It solved my problem
Now I type "^" and "e" and it combines to ê.
I've got a qwerty k/b though.
in vi, press ctrl-v then enter the numbers and the desired character will appear
the following will list some of the ascii characters (from 169 to 192), use the code to output to a file and then view it with vi to see the characters.
Code:
seq 169 192 | while read i; do echo $i | awk '{printf("%3d %c\n", $1, $1)}'; done
You can (usually) do this in Linux! Hold down Ctrl-Shift and type U followed by the decimal code. So, for a bullet press Ctrl-Shift-U2202.
I said "usually" because I've just got Fedora 6 and this facility has disappeared from OpenOffice, though it still works in all other applications. If anyone has the answer to that one, I'd like to hear it.
I think this is what SCIM is for, no? I have no idea how to use it mind you.
SCIM is an IME (input method editor) that lets you type in characters in different languages. I don't think SCIM provides an easy way to type in special characters like <Alt> + number on Windows, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.