TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource

Notices

Re: Accent keys with Linux

Linux & Opensource


Reply
 
Thread Tools Display Modes
Old 07-01-2008, 04:20 PM   #1
Ceil
Guest
 
Posts: n/a
Re: Accent keys with Linux

I use the following (in a terminal, of course):

setxkbmap us -option compose:rwin

That sets my right Windows key to the 'compose' function. I just hit
that key and two others to get accents and umlauts and whatnot. Examples:

Ã* = a`
á = a'
ä = a"
Ã¥ = aa
Ä… = a,
ã = a-

® = or
æ = ae
â„¢ = ^tm (that's the ^ key, not ctrl, so shift+6 t m)
´ = ''

Penguin_X wrote:
> Hi !
>
> I run the US keyboard layout. Sometime, I need accents characters for
> many things such as typing texts in my native language or write my name.
> I found a little script for vim that make me able to do it.
>
> Here's the script(~/.vimrc):
>
> imap `a Ã*
> imap ^a â
> imap "a ä
> imap ,c ç
> imap `e è
> imap ^e ê
> imap "e ë
> imap 'e é
> imap ^i î
> imap "i ï
> imap ^o ô
> imap "o ö
> imap `w « »<Esc>hi
> imap `u ù
> imap ^u û
> imap ~u ü
>
> -----------
>
> Is there a way to apply this to entire system ? This script is really
> great and I want to use it with other applications
>
> Thank a lot !
>

  Reply With Quote
Old 07-01-2008, 04:20 PM   #2
xubunt6
Guest
 
Posts: n/a
Re: Accent keys with Linux

Ceil wrote:
> I use the following (in a terminal, of course):
>
> setxkbmap us -option compose:rwin
>
> That sets my right Windows key to the 'compose' function. I just hit
> that key and two others to get accents and umlauts and whatnot. Examples:
>
> Ã* = a`
> á = a'
> ä = a"
> å = aa
> Ä… = a,
> ã = a-
>
> ® = or
> æ = ae
> â„¢ = ^tm (that's the ^ key, not ctrl, so shift+6 t m)
> ´ = ''
>
> Penguin_X wrote:
>> Hi !
>>
>> I run the US keyboard layout. Sometime, I need accents characters for
>> many things such as typing texts in my native language or write my
>> name. I found a little script for vim that make me able to do it.
>>
>> Here's the script(~/.vimrc):
>>
>> imap `a Ã*
>> imap ^a â
>> imap "a ä
>> imap ,c ç
>> imap `e è
>> imap ^e ê
>> imap "e ë
>> imap 'e é
>> imap ^i î
>> imap "i ï
>> imap ^o ô
>> imap "o ö
>> imap `w « »<Esc>hi
>> imap `u ù
>> imap ^u û
>> imap ~u ü
>>
>> -----------
>>
>> Is there a way to apply this to entire system ? This script is really
>> great and I want to use it with other applications
>>
>> Thank a lot !
>>

Works fine here:

To change keyboard layout "us" to "us international"
Run in shell: setxkbmap us -variant alt-intl
Run in shell to change back: setxkbmap us -variant

And please stop "top posting"
--

Xubunt6

"Xubuntu 6 - (bubbling around, sometimes ...)."
Loads inexpensive, nice usable xoftware ... (^-^)
  Reply With Quote
Old 07-01-2008, 04:20 PM   #3
Fredderic
Guest
 
Posts: n/a
Re: Accent keys with Linux

On Sun, 16 Dec 2007 10:51:04 +0100,
xubunt6 <> wrote:

> To change keyboard layout "us" to "us international"
> Run in shell: setxkbmap us -variant alt-intl
> Run in shell to change back: setxkbmap us -variant


I was just looking at Gnome's keyboard layout selector, and most of the
layout options seem almost arbitrary.

For example, I'd like to be able to assign a third-level selector, but
I don't want to loose the functionality of any of the existing keys (I
do sometimes use the right alt and ctrl keys).

And what the heck are Meta, Super and Hyper? Or these "groups"? And
there are options to switch to an alternative layout, but how do you
set what this alternative layout is?

Keyboards used to be such simple things, until I looked...


Fredderic
  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 05:58 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional