Page 1 of 1

Esperanto keyboard layout

Posted: Thu 22 Oct 2009, 06:58
by makropo
Ubuntu (and probably some other linux distros) include an Esperanto keyboard layout option, but Puppy doesn't yet.

Would anyone who knows how, like to create a pet package, or otherwise instruct me how to type Esperanto characters in Puppy?

The six characters in Esperanto which differ from the English alphabet are: ĉ,

Posted: Fri 23 Oct 2009, 00:55
by MU
Bonan tagon,

Puppy 4.3:
extract the attached "epo-puppy43.tar.gz" to the folder:
/etc/X11/xkb/symbols/pc/

Newyearspup rc10:
extract the attached "epo.tar.gz" to the folder:
/etc/X11/xkb/symbols/


Then type:
setxkbmap epo


This should switch the keyboardlayout immedeatly.

Posted: Fri 23 Oct 2009, 03:19
by makropo
Multe da dankoj, Mu.

I did not have the epo file, so I downloaded yours, then followed your instructions up to typing "setxkbmap epo" in the terminal window.

Then I got this error message: "error loading new keyboard description"

You said there might be some files missing. If you could help with that it would be great.

Amike

Posted: Fri 23 Oct 2009, 19:18
by MU
Saluton,
ok, Puppy 4.3 (xorg 7.3) uses different folders.
I modified the file epo.
Please delete the old one, then please follow the new instruction in my first reply :)

Mark

Posted: Sat 24 Oct 2009, 11:42
by makropo
Thanks Mu. It worked, all except switching back to English script by typing "setxkbmap us" in the console. When typing the letter x in the console, something else appears, not x. I guess that's because x is not one of the Esperanto letters. The only way I could get back to English script was by restarting X-org.

Anyway, It's not an important issue. As you must know, there are some sites where you can just type in Esperanto written using the x-system and the web page will render it in proper Esperanto script. These are the two I'm using.

http://traduku.net/kode/
http://www.ikindalikelanguages.com/Espe ... onvert.php

Perhaps in a future version of Puppy there will be an easy-to-use option for an Esperanto keyboard layout.

Posted: Sat 24 Oct 2009, 19:20
by MU
as I wrote above, you could put 2 scripts on your desktop.
Then you could switch the keyboard with a mouseclick.

Create 2 files with a texteditor:

/usr/local/bin/kbd-epo

Code: Select all

#!/bin/bash
setxkbmap epo
/usr/local/bin/kbd-us

Code: Select all

#!/bin/bash
setxkbmap us
Make them executable by typing in a consolewindow:
chmod 755 /usr/local/bin/kbd-us
chmod 755 /usr/local/bin/kbd-epo


Then drag them with your filemanager to the desktop.
Now you can switch by clicking on them.

Mark

Posted: Sun 25 Oct 2009, 00:07
by makropo
Mu, denove, multe da dankoj.

I just didn't think about why you said to put links to the scripts on the desktop!

Now it works perfectly. Since I also use Thai script, I did the same for that. What a neat solution!

Vi estas la rimedulo :D

Posted: Sun 25 Oct 2009, 10:41
by makropo
There is something else to make switching the keyboard layout from one language to another even easier.

With the kbd-us and kbd-epo scripts in /usr/local/bin linked to the desktop as explained by Mu above, right click on the kbd- desktop links, then

1. click "Edit Item", then
2. click "The keyboard shortcut is" and then
3. "click to set"

Now you don't have to go back to the desktop to change the keyboard layout, but you can do it in the usual manner in Puppy, i.e., by using keyboard shortcuts.