You are not logged in.

#1 2009-07-26 19:08:18

AnimalMachine
Member
From: Wisconsin, USA
Registered: 2008-12-23
Posts: 6
Website

[solved] esperanto in arch linux? keyboard input, etc ....

I'm trying to learn Esperanto and would like to find an easy way to input the special characters that the language uses. I know you can substitute 'x, but I'd rather use the proper character (e.g. ĝ or ŭ).

Right now I'm using the dvorak keyboard layout in X with wmii as the window manager. LANG is set to en_US.utf8.

Is there just a key combination I hit to get those characters? Is there a colemak or dvorak layout that allows for easier use?

Last edited by AnimalMachine (2009-07-26 21:24:03)

Offline

#2 2009-07-26 20:00:18

Arisna
Member
Registered: 2009-02-13
Posts: 81

Re: [solved] esperanto in arch linux? keyboard input, etc ....

It don't understand it completely myself, but maybe this section of the Wikipedia article about Esperanto orthography would help you.  A messier solution might be to use the "x" shorthand and then use sed or something afterward.

Offline

#3 2009-07-26 20:36:59

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [solved] esperanto in arch linux? keyboard input, etc ....

I don't know of a Dvorak compatible Esperanto layout. But I use the axkb keyboard switch utility to change to a Esperanto layout. This effectively issues:

setxkbmap -model evdev -layout de,epo,in,pk -variant ,,,

To know or not to know ...
... the questions remain forever.

Offline

#4 2009-07-26 20:54:24

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: [solved] esperanto in arch linux? keyboard input, etc ....

If you want to get your hands dirty you can create a new/edit an already existing layout, have a look in /usr/share/X11/xkb/ and subdirectories for the keymaps available to X.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#5 2009-07-26 21:23:34

AnimalMachine
Member
From: Wisconsin, USA
Registered: 2008-12-23
Posts: 6
Website

Re: [solved] esperanto in arch linux? keyboard input, etc ....

I got it figured out now. That wikipedia article helped me get on the right track. I'll post what I did incase someone else is interested.

US International layout:
To switch by command line:

setxkbmap us -variant alt-intl

Then use this combo to get circumflexes (using ĉ as an example):

shift-6 , c

To get ŭ, use this combo:

shift-AltGr-9 , u

Colemak layout:
To switch by command line:

setxkbmap us -variant colemak

Then you can use the deadkeys to type special characters. For example:

AltGr+x , j

will get you "ĵ".

AltGr+b , u

will get you "ŭ".

AltGr is the Alt key on the right side of keyboard, FYI.

I have not bothered with dvorak since I've decided to go with colemak. Also, I haven't figured out how to switch the layout in text-mode, without X.

Offline

#6 2009-07-26 22:03:56

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: [solved] esperanto in arch linux? keyboard input, etc ....

AnimalMachine wrote:

...I haven't figured out how to switch the layout in text-mode, without X.

You might want to look into the loadkeys command, and if you've missed it during installation, the default layout is defined by the KEYMAP line in /etc/rc.conf.
The available console keymaps reside in [subdirectories of] /usr/share/kbd/keymaps.

Last edited by tlvb (2009-07-26 22:07:40)


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#7 2009-07-29 15:40:54

AnimalMachine
Member
From: Wisconsin, USA
Registered: 2008-12-23
Posts: 6
Website

Re: [solved] esperanto in arch linux? keyboard input, etc ....

Getting colemak in text mode was solved by installing the 'colemak' package from AUR and modifying rc.conf accordingly.

Thanks for the help everyone!

Offline

Board footer

Powered by FluxBB