LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-08-2006, 05:49 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
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?
 
Old 09-08-2006, 06:04 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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.

Brian1
 
Old 09-10-2006, 04:50 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
The example you give is language specific. I'm not talking about language specific characters (keyboard localization has nothing to do with it).

I'm talking about accessing characters using ascii codes, like bullets, copyright, registered, one-half, etc.

Can this be done with the examples you mention, and if so, how? Thanks.

Last edited by tisource; 09-10-2006 at 05:41 PM.
 
Old 09-10-2006, 06:05 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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.

Brian1
 
Old 10-02-2006, 03:55 AM   #5
karelvdm
Member
 
Registered: Sep 2004
Location: Pietermaritzburg South Africa
Distribution: Home:OpenSuse 11, Office:FreeBSD 7 PBX:Trixbox 2 (CentOS 4.4) Home Automation : LinuxMCE
Posts: 123

Rep: Reputation: 15
I got mine to work!

I use Suse and Kde;

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.

Hope I helped someone
 
Old 10-02-2006, 01:24 PM   #6
mfeat
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Fedora Core 3
Posts: 185

Rep: Reputation: 30
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
output is:

169 ©
170 ª
171 «
172 ¬
173 *
174 ®
175 ¯
176 °
177 ±
178 ²
179 ³
180 ´
181 µ
182 ¶
183 ·
184 ¸
185 ¹
186 º
187 »
188 ¼
189 ½
190 ¾
191 ¿
192 À
 
Old 11-10-2006, 10:50 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 11-10-2006, 11:01 AM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I think this is what SCIM is for, no? I have no idea how to use it mind you.
 
Old 11-10-2006, 11:37 AM   #9
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
The Control+Shift and U2202 (as explained above) doesn't work for me in openSUSE 10.1 (in any app).
 
Old 11-10-2006, 12:08 PM   #10
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by matthewg42
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.
 
  


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 use special characters on linux???? Radicalm16 Linux - General 8 08-11-2007 12:33 AM
How to type characters with ALT+ASCIICODE ? juliancoccia Linux - Newbie 4 11-10-2006 12:34 PM
I want to type special Characters like (ÓÕÅÄÕÖæ) PICOspark Linux - Newbie 2 08-01-2005 09:27 AM
How do I get Right-Alt key to be just Alt and not generate special characters? (KDE) KWTm Linux - General 2 06-25-2005 09:26 PM
How can I set to type with foreign languages(special characters most) petru_b16 Linux - Software 1 07-27-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 AM.

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