Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 May 2013, 00:06
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Problem using Slovak language/keyboard
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
user2

Joined: 19 Apr 2012
Posts: 3

PostPosted: Thu 19 Apr 2012, 12:21    Post subject:  Problem using Slovak language/keyboard
Subject description: Two keyboard layout options given, but only one (less official one) is effectively functional
 

-The problem: There are two Slovak keyboard layouts which used to be supported in the past "puppies", which enabled me in versions from Puppy 2.16 to Wary 5.1.2 to use Slovak keyboard as intended - i. e. I selected Slovak usual qwertz variant and I received not only Z between T and U, but also for Slovak language needed characters ľščťžýáíéäňô etc. Now I select Slovak QWERTZ keyboard and receive e. g. only numbers (1, 2 to 0) instead of ľščťžýáí respectively (in the top row of main part of the keyboard). Strangely, only Z is in correct place then between T and U, as it should be in preferred Slovak keyboard qwertz. The same happens when choosing Setup icon - Country - sk-qwertz: something as similar as only US keyboard with QWERTZ order works then, but without our abovementioned characters ľščťžýáí etc. When I choose sk-qwerty instead, everything works, but Y is off course located (unusually for me) between T and U and Z to the left of X on the physical keyboard.
-The goal: Whether I choose qwertZ or qwertY during install/setup, Slovak-language-specific letters should work in both of them AND simultaneously in one of two given options Z should be placed between T and U. If only one layout was possible, I would prefer qwertz, as it is first selection in Ubuntu and probably in the most common commercial operating system also. (If there could be some hardware issue switching Y and Z existing, maybe preserving both of variants could be safer, but it is only my non-competent speculation.) I off course (being pure amateur) tried to look into sk file (with C icon) and was surprised that description of layout included Z between rows with T and U, as I would normally expect, but there seemed to be only one such "Slovak" file, which kind of surprised me (I have no idea if there should be one or two given two layout variants.)
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 640

PostPosted: Thu 19 Apr 2012, 23:18    Post subject:  

Try this command in a terminal (rxvt or urxvt) window:
Code:
setxkbmap sk

Does that give you a QWERTZ keyboard with the characters you wanted?

If it does, it will only work until you reboot or restart X, so the bug still needs to be fixed. But knowing if this command works will help diagnose the problem.
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 1643
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Fri 20 Apr 2012, 05:00    Post subject:  

depending of the Puppy version you are using, you can enter in

/root/.jwmrc

an adequate command here:



...

<!-- <Icons> -->
<!-- <IconPath>$HOME/.icons</IconPath> -->
<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
<IconPath>/usr/share/pixmaps</IconPath>
<IconPath>/usr/local/share/pixmaps</IconPath>
<!-- </Icons> -->


<StartupCommand>
</StartupCommand>


<!-- Virtual Desktops -->
<!-- Name tags can be contained within Desktops for desktop names. BK: syntax change with jwm 500... -->
<Desktops width="3" height="1"/>

...



(it is in this case from Quirky 1.2 ; other versions can be a little different)

and JWM will start with all Startup Commands you will enter there

(for example:

ayttm &
setxkbmap -layout us -variant intl &
skype &
seamonkey &
mozedit &


)

Pls try it with the same command as above included in .jwmrc Wink and don't forget the & at the line end!

but as the system overwrites .jwmrc each time you change the packages stuff (old puppy's) or each restart (newer puppy's)

you have to do that according the instruction in head of your .jwmrc

for example in case of my old quirky 1.2:

<!-- IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc -->
<!-- jwm menu for puppy Linux -->
<RootMenu label="Menu" labeled="false" height="24" onroot="3">


note: ayttm needs some time to start friendly! it has to be named in first position!

note2: on old puppy's, if you don't change the stuff, you need to make the changes twice: one time in .jwmrc and restart X, and one time in /etc/xdg/templates/_root_.jwmrc !
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2257
Location: Japan

PostPosted: Fri 20 Apr 2012, 10:06    Post subject: Re: Problem using Slovak language/keyboard
Subject description: Two keyboard layout options given, but only one (less official one) is effectively functional
 

user2 wrote:
Now I select Slovak QWERTZ keyboard and receive e. g. only numbers (1, 2 to 0) instead of ľščťžýáí respectively (in the top row of main part of the keyboard). Strangely, only Z is in correct place then between T and U, as it should be in preferred Slovak keyboard qwertz. The same happens when choosing Setup icon - Country - sk-qwertz:

Can you erase the entry on the dialog box and type in 'sk' for the keyboard layout selection?
Or, on a virtual terminal, type:
Code:
keymap-set sk

_________________
Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
user2

Joined: 19 Apr 2012
Posts: 3

PostPosted: Fri 20 Apr 2012, 11:09    Post subject: Re: npierce
Subject description: Confirmation
 

Yes, "setxkbmap sk" works in Wary 5.3 until X restarts.
(Similarly so in Lucid Libre 528.005, but as I remember the setting in country setting window for qwertz gets lost in Lucid Libre even abovementioned command has run. I think in both of them correct functionality gets lost also after switching keyboard forth and back to Slovak qwertz but renews after issuing setxkbmap sk again.)
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2257
Location: Japan

PostPosted: Fri 20 Apr 2012, 11:59    Post subject: keymap-set
Subject description: persists after restarting X
 

user2 wrote:
Yes, "setxkbmap sk" works in Wary 5.3 until X restarts.
(Similarly so in Lucid Libre 528.005,

On a virtual terminal, type:
Code:
keymap-set sk

_________________
Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
user2

Joined: 19 Apr 2012
Posts: 3

PostPosted: Fri 20 Apr 2012, 12:37    Post subject: Re: shinobar
Subject description: Confirmation too
 

Yes, "keymap-set sk" works similarly, but survives X restart.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0527s ][ Queries: 12 (0.0046s) ][ GZIP on ]