Portál AbcLinuxu, 31. července 2025 09:56
/etc/profile.d/lang.sh
:
#!/bin/sh # Set the system locale (default C is the same as en_US): export LANG=cs_CZ export LANGUAGE=czech export LC_ALL=cs_CZ--vo
. /etc/profile.d/lang.sha pak spustite nejaky program, tak pouziva cestinu nebo anglictinu?
chmod +x /etc/profile.d/lang.sh
a malo by sa to spustat pri prihlaseni uzivatela automaticky, program (alebo skript) musi mat nastaveny atribut ze je vykovanatelny. ak by to neslo, (co by som sa divil) tak uzivatelovi treba dat do ~/.profile alebo ~/.bash_profile riadok . /etc/profile.d/lang.sh
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.