Layout Esperanto
Layout Esperanto
Hello!
Saluton!
I have used the system:
Operating System: Lxpup 13.01
Desktop Panel: lxpanel 0.5.10
Desktop Window Manager: Openbox 3.5.0
Desktop Start: xwin startlxde.
Can not add a layout Esperanto.
On other Linux to switch I turn right while holding down the Alt
For this I added the file "eo" in the folder
"/ etc/X11/xkbsymbols" and edited the file "/ etc/X11/xorc.conf": http://pastebin.com/D74D2pCe ,
but here there is only layout "us". Option "ru". disappears. My keyboard "pc105" and in xorg.conf now this:http://pastebin.com/1CUS4dLZ .
Why program "xkbconfigmanager" not see my file "eo": http://pastebin.com/kJgBNWWR ?
Saluton!
I have used the system:
Operating System: Lxpup 13.01
Desktop Panel: lxpanel 0.5.10
Desktop Window Manager: Openbox 3.5.0
Desktop Start: xwin startlxde.
Can not add a layout Esperanto.
On other Linux to switch I turn right while holding down the Alt
For this I added the file "eo" in the folder
"/ etc/X11/xkbsymbols" and edited the file "/ etc/X11/xorc.conf": http://pastebin.com/D74D2pCe ,
but here there is only layout "us". Option "ru". disappears. My keyboard "pc105" and in xorg.conf now this:http://pastebin.com/1CUS4dLZ .
Why program "xkbconfigmanager" not see my file "eo": http://pastebin.com/kJgBNWWR ?
Last edited by sancxjo on Tue 07 May 2013, 00:55, edited 1 time in total.
It is easier to edit one of the existing layouts, for example es or us.
To add a separate layout, this is what I have tested on Slacko 5.3.3 but you may want to try anyway:
To add a separate layout, this is what I have tested on Slacko 5.3.3 but you may want to try anyway:
- copy the epo file from the distro your Puppy is based upon (mine is from Debian) to /etc/X11/xkb/symbols/pc/;
open the file and replace include "us(basic)" with include "pc/us(basic)";
edit xorg.conf:and restart X server - qwerty is nowCode: Select all
Option "XkbLayout" "us,epo,ru" #xkeymap0 Option "XkbVariant" ",,winkeys"
Do not something has turned out. I have a file "epo" from Vector: http://pastebin.com/gj8Rp5Av
No. There's no include "pc / us (basic)". Line 73 is:
Xorg.conf file has been edited.
This line but I did not touch:
May need to add the: Ctrl_Alt_toggle?
No. There's no include "pc / us (basic)". Line 73 is:
Code: Select all
include "level3 (ralt_switch)".
This line but I did not touch:
Code: Select all
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
I have no idea, but
something like that is common in my /etc/X11/xkb/symbols/pc/* files .
If you have an epo file there it should be recognized by
xkbconfigmanager
/usr/local/apps/XkbConfigurationManager/XkbLayoutConfig
if you add that epo into the
/etc/X11/xkb/rules/xorg.lst
file
.
Nevertheless xorg.conf gets easily rewritten if some hardware changed (ie monitor) , so putting some
line near the end of the /root/.xinitrc file
would avoid that you need to adjust xorg.conf every time hardware changes.
Note : My line looks as
it works without problems for my pc104/105 keyboard .
Code: Select all
default partial alphanumeric_keys
xkb_symbols "basic" {
include "pc/latin(type4)"
If you have an epo file there it should be recognized by
xkbconfigmanager
/usr/local/apps/XkbConfigurationManager/XkbLayoutConfig
if you add that epo into the
/etc/X11/xkb/rules/xorg.lst
file
.
Nevertheless xorg.conf gets easily rewritten if some hardware changed (ie monitor) , so putting some
Code: Select all
setxkbmap -rules xorg -model pc105 -layout ru,epo,eo,ru(winkeys) -variant "",winkeys -option grp:alt_shift_toggle,grp_led:scroll
would avoid that you need to adjust xorg.conf every time hardware changes.
Note : My line looks as
Code: Select all
setxkbmap -rules xorg -model pc102 -layout us,de -variant "" -option grp:rwin_toggle,lv3:ralt_switch
The xkbconfigmanager will never see new layouts because it has a hard-coded list of them. It will, however, see new variants of the existing layouts. You can copy the Esperanto layout variant to any Latin layout and add it to the xorg.lst as variant. You don't need the xkbconfigmanager altogether if you are following the Karl Godt's advice. Try to pass different options to the setxkbmap command.
I've written a script that will install an Esperanto layout stand-alone and as us and es layout variant. (The es variant is the same and is not suitable for a Spanish keyboard). It will also try to supplement the xkbconfigmanager's list. It's been tested on Lupu, Slacko 5.3 and Wary 5.3.
If you want to give it a try, just unpack and run. But it won't work if it finds the files in the xkb folder already modified. Try to restore them from the main sfs before you run the sctipt.
I've written a script that will install an Esperanto layout stand-alone and as us and es layout variant. (The es variant is the same and is not suitable for a Spanish keyboard). It will also try to supplement the xkbconfigmanager's list. It's been tested on Lupu, Slacko 5.3 and Wary 5.3.
If you want to give it a try, just unpack and run. But it won't work if it finds the files in the xkb folder already modified. Try to restore them from the main sfs before you run the sctipt.
- Attachments
-
- add_eo_layout.gz
- Unpack and run to add the Esperanto layout.
- (1.93 KiB) Downloaded 116 times
Thank you very much for writing the script!
Then try.
I deleted files eo and epo.
Edited file es: http://pastebin.com/iGUNS7TB
xinitrc The command line is now this:
Does not work. Something I did wrong again.
Then try.
I deleted files eo and epo.
Edited file es: http://pastebin.com/iGUNS7TB
xinitrc The command line is now this:
Code: Select all
setxkbmap -rules xorg -model pc105 -layout ru,es,us(winkeys) -variant "",winkeys -option grp:alt_shift_toggle,grp_led:scroll
Well, yes. Your command won't work neither will my script. And you don't need a Spanish layout unless you can see a ñ key on your keyboard.
You can find an explanation here: As my script has no man page, here is an
add_eo_layout usage:
You can find an explanation here: As my script has no man page, here is an
add_eo_layout usage:
- 0. Undo any change you (or the script if you ran it before) may have made to these files:
/usr/local/apps/XkbConfigurationManager/XkbLayoutConfig
/etc/X11/xkb/symbols/pc/us
/etc/X11/xkb/symbols/pc/es
/etc/X11/xkb/rules/xorg.lst
and delete the /etc/X11/xkb/symbols/pc/eo file.
The script won't touch any file that contains a word "Esperanto" so make sure you have removed your all modifications especially to the xorg.lst file.
1. Unpack the script into your home directory (or elsewhere) and click its icon in the rox window or run it from the terminal.
2. Open the xkb configuration manager and click the layouts button. You should now see the Esperanto layout on the list. If not, add the us or es layout and look for an eo variant on the layout variants list.
(Once again, the es(eo) variant is not for a real Spanish keyboard).
Code: Select all
setxkbmap -rules xorg -model pc105 -layout us,ru,eo -variant ,winkeys,eo3 -option grp:alt_shift_toggle,grp_led:scroll
The simple Esperanto and us(basic) layouts are almost identical so maybe you don't need the latter:
... -layout eo,ru -variant eo3,winkeys ...
... -layout us,ru -variant eo,winkeys ...
All the LEDs can be used at will. Edit the /etc/X11/xkb/compat/led* files. groups=All-group1 means that the LED is on when any but the 1st layout is active. More than one grp_led option can be specified.
Further reference in Russian (and English): X Keyboard Extension
... -layout eo,ru -variant eo3,winkeys ...
... -layout us,ru -variant eo,winkeys ...
All the LEDs can be used at will. Edit the /etc/X11/xkb/compat/led* files. groups=All-group1 means that the LED is on when any but the 1st layout is active. More than one grp_led option can be specified.
Further reference in Russian (and English): X Keyboard Extension
Perfectly!Burunduk wrote:The simple Esperanto and us(basic) layouts are almost identical so maybe you don't need the latter:
... -layout eo,ru -variant eo3,winkeys ...
... -layout us,ru -variant eo,winkeys ...
All the LEDs can be used at will. Edit the /etc/X11/xkb/compat/led* files. groups=All-group1 means that the LED is on when any but the 1st layout is active. More than one grp_led option can be specified.
Further reference in Russian (and English): X Keyboard Extension
ŭ