Page 1 of 2

to test: Keyboard-layout-chooser

Posted: Thu 15 Dec 2005, 01:46
by MU
Image

Download (130 kb):
http://dotpups.de/dotpups/XServer/Keyboard-layouts.pup

---------------------------------
Note there now is a more modern way,but it might not work for everyone:
http://www.murga-linux.com/puppy/viewtopic.php?t=6334

---------------------------------
Some people reported, their right ALT-key still does not work with this Dotpup, so they cannot type the @-sign.
Solution: http://www.murga-linux.com/puppy/viewto ... 7166#37166

---------------------------------
If you want to contribute own layouts to this Dotpup:
Install this tool:
http://www.murga-linux.com/puppy/viewto ... t=xkeycaps

Run it, and choose the layout for your country.
Save it.
Then rename /root/.xmodmap-puppypc to YourCountry-NumberOfKeys , for example russia-105
Now zip it:
gzip /root/russia-105 and attach it as a message.

Mark

Posted: Thu 15 Dec 2005, 03:45
by Lobster

Works - almost..

Posted: Thu 15 Dec 2005, 09:04
by PeterSieg
Hi Mark.

I installed the pup and selected german-105. restarted X.
In console window:

Re: to test: Keyboard-layout-chooser

Posted: Thu 15 Dec 2005, 09:16
by pakt
MU wrote: If you want to contribute layouts:
Mark, it seems most of this work has already been done for us. I got a tip from the internet to look in SuSE for ready-made xmodmaps. But as I had Ubuntu at hand, I checked that instead and found 58 of them in /usr/share/xmodmap/

I've zipped them and attached them. ;)

Paul

Posted: Thu 15 Dec 2005, 09:38
by MU
Pakt, great, thanks :P
I'll try to integrate them tomorrow.

Peter, when I experimented with xmodmap some weeks ago, I also had to add entries manually to get ALT working.
This message shows the relevant keys:
http://www.murga-linux.com/puppy/viewto ... 4410#14410

You might try to use the other program I mentioned in the first message.
It has many inbuilt keyboard-layouts.
You could load PC-105-german, and try to get ALT working.
Then save as described and attach it here.

xkeycaps saves as /root/xmodmap-puppypc ,to really use it, you must rename it to german-105-peter and gzip it.
Then copy it to /usr/local/Keyboard-layouts/layouts/ , and you can choose it in my Keyboard-chooser.
The Keyboard-chooser simply extracts the selected layout to /root/.Xmodmap, and runs the command "xmodmap /root/.Xmodmap" then to activate it.

I think if we could get 10-20 Default-Layouts tested by users, we could cover most cases.

Mark

Posted: Thu 15 Dec 2005, 10:23
by pakt
Mark, Keyboard-layouts.pup worked fine for me. Nice work!

BTW, you can change the Swedish xmodmap file to "sweden-105"

Paul

Posted: Thu 15 Dec 2005, 10:27
by MU
ok, I'll change that.
It was the map you posted some weeks ago, I did not take this one from xkeycaps.

The swedish map is (beside german-notebook) the only "tested" one, for the others we need feedback.
And people should try the ones from the link you posted.

Mark

Posted: Thu 15 Dec 2005, 10:29
by pakt
MU wrote: You might try to use the other program I mentioned in the first message.
It has many inbuilt keyboard-layouts.
You could load PC-105-german, and try to get ALT working.
Peter, you might try the German keyboard layout from the zipped collection I uploaded in a post above.

Paul

Posted: Thu 15 Dec 2005, 10:33
by MU
Ok, I updated the Dotpup.
now it has 92 Layouts, also russian :)
Thanks Paul!

Mark

Posted: Thu 15 Dec 2005, 11:35
by pakt
Nice work, Mark!

I have confirmed that xmodmap.se.gz works the same as sweden-105.

:D
Paul

Re: Works - almost..

Posted: Thu 15 Dec 2005, 12:32
by MU
PeterSieg wrote:Hi Mark.

I installed the pup and selected german-105.
In beaver - nothing german..? bug from beaver..?
Try running the "chooselocale"-Script from the "Control Panel"-menu.
Choose de_de@euro there.

I can't try at moment, as I compile something, so I can't restart X.
Mark

Posted: Thu 15 Dec 2005, 15:31
by MU
Just tried it - beaver crashes :shock:
There seems to be missing a font.
Or I messed up my system with all the stuff I compiled.
with de_de it starts, but still cannot display

Posted: Thu 15 Dec 2005, 19:49
by pakt
Mark & Peter, there is a bug in Beaver - it doesn't show national characters correctly. I've posted it as a bug. See http://www.murga.org/%7Epuppy/viewtopic ... 8473#28473
Paul

Posted: Fri 16 Dec 2005, 15:17
by MU
If some keys do not work with the layouts of my program, please do what I described here (but this will not help with beaver):

http://www.murga.org/~puppy/viewtopic.php?p=28596#28596

Mark

to test: Keyboard-layout-chooser

Posted: Sat 17 Dec 2005, 19:57
by sveitserosten :)
MU wrote:------snipp-------
The swedish map is (beside german-notebook) the only "tested" one, for the others we need feedback.
------snipp-------
Mark
I tested xmodmap.no.gz
Hmm.. I got funny signs... :D

With the attached xmodmap the norwegian BOKM

to test: Keyboard-layout-chooser

Posted: Sat 17 Dec 2005, 20:05
by sveitserosten :)
Four more things:

- I tested this choose-keyboard-layout-pup with both:
- the standard country keyboard layout and
- the older 2-letter method keyboard layout

It worked with both.

Question: Is there a difference when installing this Dotpup ?

- I can only test anything on a laptop - I HOPE it will work with a computer and a USB keyboard as well.


- All changes (exept installing the dotpup itself) took effect if and only if the computer was rebooted.
Restarting JWM only did not change the settings.

- It worked in all applications exept in Beaver. But this is a known bug as I have read above.

Posted: Sat 17 Dec 2005, 21:17
by MU
Mange tak Sveit, I will add it to the next version :-)

Mark

Posted: Sun 18 Dec 2005, 11:11
by pakt
Mark, I'm sorry to say that there _are_ differences in the Swedish xmodmap I had before and the one from Ubuntu. The headers are identical, even the dates are the same, but I found for example:

xmodmap from Ubuntu:
keycode 18 = 9 parenright
keycode 19 = 0 equal
keycode 26 = e E currency

xmodmap from internet:
keycode 18 = 9 parenright bracketright
keycode 19 = 0 equal braceright
keycode 26 = e E EuroSign

So this might explain why other users had problems. It might be useful to compare the files with the ones in SuSE. They are supposed to be in /opt/gnome/share/xmodmap/

I don't have SuSE installed, so I can't check.

Update:I've compared the xmodmap files from Ubuntu 5.10 with the ones in SuSE 10.0 - they are exactly the same, i.e. they have the same errors. I would guess they came from the same source.

The Swedish keyboard is the same as the Finnish one, so I compared xmodmap.fi with xmodmap.se. They are not the same. It turns out that the Finnish one has the missing keys definitions.

Paul

Posted: Wed 01 Feb 2006, 02:02
by MU
I updated the Dotpup with sveitserostens Layouts (Norvegian, swiss-laptop, french-laptop).
Thanks sveit :)
Mark

keyboard layouts

Posted: Sat 11 Feb 2006, 15:59
by dewdrop
Hi Mark,

I confirm that the xmodmap.es.gz (Spanish) works in OpenOffice 2.0, Opera 8.51, Mozilla 1.8b1.5, Firefox 1.5.1.

I am using Puppy 1.0.7 with the usr.more.sfs and usr.devx.sfs files on the C drive with pup001.

I tried some of the other Spanish versions and they did not work correctly or at all.

I am using xorg, and ICEWM, and while the keyboard switch from default (English) to Spanish works without having to restart X, I cannot switch back to default without restarting X.

There are times when I need the Spanish keyboard, and your efforts here are greatly appreciated.

Thank you!

dewdrop