Ceska klavesnive a Redhat 7.2

Martin Mačok martin.macok na underground.cz
Sobota Květen 4 09:21:33 CEST 2002


On Thu, May 02, 2002 at 12:28:35AM +0200, damned wrote:
> ----------cut---------------------------
> #!/bin/sh
> # Tohle je skriptik pro zmenu us na cz_qwerty a naopak.
> #
> 
> PFILE=/tmp/.switch.cz_qwerty.state

Tady prosim radeji pouzivejte ~/.switch.cz... misto /tmp/.switch ...

> if test -f $PFILE; then
>         setxkbmap -layout us
>         rm -rf $PFILE

Pokud by to uzivalo vice uzivatelu na jednom systemu, tak by to
"zlobilo", a pokud by chtel byt nekdo zly (napr. hardlink), tak by to
mohlo i "bolet" ...

> else
>         setxkbmap -layout cz_qwerty
>         touch $PFILE;
> fi;
> ----------cut---------------------------

-- 
         Martin Mačok                 http://underground.cz/
   martin.macok na underground.cz        http://Xtrmntr.org/ORBman/


Další informace o konferenci Linux