On Sun, May 06, 2001 at 10:02:27AM +0200, Sasa Janiska wrote:
> On Sat, 5 May 2001, Matej Cepl wrote:
> 
> > I am a Czech user of the Lyx and I am very happy with that. Actually,
> > setting of the keyboard is rather tricky. You have to switch OFF your
> > main X keyboard (or change to English) and then set ON the Slovenian
> > (or Czech, in my case) keyboard in LyX (via Edit/Preferences). Of
> > course, that you should have set characters to Latin-2.
> >
> 
> Do you use LyX under KDE?
> 
> The problem is that finally under KDe 2.0.x I have Croatian characters
> (latin2) under KDE in all applications - except in LyX.

I did (now I switched to GNOME, because of excessive demands of KDE on 
the memory). However, I feel that there is really something screwed up 
in the KDE keyboard management (actually, it is the only thing which 
seemes to be actually worse than it was in KDE 1.1, where kikbd was the 
Great Thing). It helped me, to get rid of the KDE keyboard at all and 
use only X keyboard. Try these two steps:

1. set up your keyboard in XF86Config, so that it works well somewhere 
outside of KDE (try to log in GNOME or to "Failsafe" setting with 
RedHat). For me, this settings in XF86Config works:

**********************************************************************
# Keyboard section
# 
**********************************************************************

Section "Keyboard"

    Protocol    "Standard"
    
    AutoRepeat  500 5
            
    #To set the LeftAlt to Meta, RightAlt key to ModeShift, 
    #RightCtl key to Compose, and ScrollLock key to ModeLock:
            
    LeftAlt        Meta
    RightAlt        Meta
    ScrollLock      Compose
    RightCtl        Control
                          
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    XkbModel    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    XkbModel    "microsoft"
#
# These are the default XKB settings for XFree86
    XkbRules    "xfree86"
    XkbModel    "pc105" # for no-name WinKeyboard
    XkbLayout   "czsk(cz_us_qwerty)"
    XkbOptions  "grp:shift_toggle"
    XkbOptions  "group_led"

EndSection

RTFM for further information.

If you ceratin and confident, that you have pretty well working 
keyboard in xterm, you can continue to the next step.

2. Prevent KDE from screwing up things by comenting up the line 
soewhere in ./.kde/config/kcminput (but I cannot find it exactly now; 
any help?).
 
> If I want to have latin-2 characters in LyX, I have to sacrifice them in
> all other applications under KDE - it is not really cosmetic solution.

For me it was enough just to switch to English keyboard while using 
LyX and then to the Czech one when switched to some other application.

> I'm interested if someone has maybe tried with the current CVS version
> with the KDE front-end i.e. can we expect that  KDE LyX version will solve
> this problem as well as the problem with macron character in latin-2
> fonts?

And what about glyx? Anyone has any information?

Matej

Reply via email to