TechTalkz.com Logo Ask the Experts!

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

Re: Accent keys with Linux

Linux & Opensource

 
 
Thread Tools Display Modes
Unread 07-01-2008, 10:50 AM   #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 !
>


Sponsored Links
 
Unread 07-01-2008, 10:50 AM   #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 ... (^-^)
 
Unread 07-01-2008, 10:50 AM   #3
Fredderic
Guest
 
Posts: n/a
Re: Accent keys with Linux

Sponsored Links
On Sun, 16 Dec 2007 10:51:04 +0100,
xubunt6 <xubunt6-nomail@wimsbits.nl> 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

Sponsored Links
 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 02:20 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional