to test: Keyboard-layout-chooser

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

to test: Keyboard-layout-chooser

#1 Post 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
Last edited by MU on Mon 17 Sep 2007, 20:00, edited 4 times in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

PeterSieg
Posts: 363
Joined: Wed 04 May 2005, 16:06
Location: Germany, 37603
Contact:

Works - almost..

#3 Post by PeterSieg »

Hi Mark.

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

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

Re: to test: Keyboard-layout-chooser

#4 Post 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
Attachments
85_xmodmaps.zip
85 international xmodmap files
(121.27 KiB) Downloaded 1159 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post 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
Last edited by MU on Mon 17 Sep 2007, 21:24, edited 1 time in total.

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#6 Post by pakt »

Mark, Keyboard-layouts.pup worked fine for me. Nice work!

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

Paul

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post 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

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#8 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

Ok, I updated the Dotpup.
now it has 92 Layouts, also russian :)
Thanks Paul!

Mark

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#10 Post by pakt »

Nice work, Mark!

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

:D
Paul

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Re: Works - almost..

#11 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post 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

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#13 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post 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

sveitserosten :)
Posts: 22
Joined: Thu 27 Oct 2005, 17:36
Location: Switzerland

to test: Keyboard-layout-chooser

#15 Post 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
Attachments
Xmodmap_no_nb.gz
Norwegian-Bokmål
(1.38 KiB) Downloaded 896 times

sveitserosten :)
Posts: 22
Joined: Thu 27 Oct 2005, 17:36
Location: Switzerland

to test: Keyboard-layout-chooser

#16 Post 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.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#17 Post by MU »

Mange tak Sveit, I will add it to the next version :-)

Mark

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#18 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

I updated the Dotpup with sveitserostens Layouts (Norvegian, swiss-laptop, french-laptop).
Thanks sveit :)
Mark

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

keyboard layouts

#20 Post 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

Post Reply