to test: Keyboard-layout-chooser

Under development: PCMCIA, wireless, etc.
Message
Author
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

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

#21 Post by pakt »

Mark and others with international keyboards:

Use Xkb instead of .Xmodmap to get the right keys for your keyboard. See the thread http://www.murga.org/~puppy/viewtopic.php?t=5993 for lior2b's "howto" and the necessary file to download. No more fiddling around with defining individual keys. Works perfectly with my Swedish keyboard! Highly recommended... :D

Paul

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

Re: keyboard layouts

#22 Post by pakt »

dewdrop wrote: 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.
Dewdrop, see the link in my message above for a solution to toggle effortlessly between English & Spanish layouts using Xkb, by pressing Alt-Shift.

Paul

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

keyboard switching

#23 Post by dewdrop »

Hi Paul,
Dewdrop, see the link in my message above for a solution to toggle effortlessly between English & Spanish layouts using Xkb, by pressing Alt-Shift.

Paul
Thanks for the info about the link. I did as you suggested...see below....


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,latam"
Option "XkbOptions"
"grp:alt_shift_toggle,grp_led:scroll,caps:shift,altwin:menu"
EndSection

I tried the
Last edited by dewdrop on Tue 14 Feb 2006, 22:04, edited 1 time in total.

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

#24 Post by pakt »

Dewdrop, I just tested xorg.conf by changing the lines as follows:

Code: Select all

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules"   "xorg"
	Option      "XkbModel"   "pc105"
	Option      "XkbLayout"  "us,es"
	Option      "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,caps:shift,altwin:menu"
EndSection
Worked as far as I can tell:

I am now using the US layout...
I press Alt + Shift, the LED comes on and I get the es (Spanish) layout:

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

International Keyboard settings

#25 Post by dewdrop »

[quote]
Dewdrop, I just tested xorg.conf by changing the lines as follows:
Code:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,es"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,caps:shift,altwin:menu"
EndSection

Worked as far as I can tell:

I am now using the US layout...
I press Alt + Shift, the LED comes on and I get the es (Spanish) layout:

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

#26 Post by pakt »

Nice 8)

Post Reply