🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #11115

Re: Actualizar el XF86Config desde un script

#11115
From: Mario Teijeiro Otero
Date: Fri, 28 Dec 2001 21:42
46 lines
2499 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tas wrote:

> Si alguien me pudiera orientar sobre (a) c�mo solucionar todo esto,
> (b) alguna otra forma de afrontar la tarea, o (c) qu� otros problemas
> podr�an surgir, le estar�a muy agradecido.

Porque no haces como el kde con el script de
arranque "startkde"?
,----[  un trozo de startkde ]
| usr_odir=$kdehome/share/fonts/override
| usr_fdir=$kdehome/share/fonts
| if test -n "$KDEDIRS"; then
|   kdedirs_first=`echo $KDEDIRS|sed -e 's/:.*//'`
|   sys_odir=$kdedirs_first/share/fonts/override
|   sys_fdir=$kdedirs_first/share/fonts
| else
|   sys_odir=$KDEDIR/share/fonts/override
|   sys_fdir=$KDEDIR/share/fonts
| fi
|    
| test -d $usr_odir && (mkfontdir $usr_odir ; xset +fp $usr_odir)
| test -d $sys_odir && xset +fp $sys_odir
| test -d $usr_fdir && (mkfontdir $usr_fdir ; xset fp+ $usr_fdir)
| test -d $sys_fdir && xset fp+ $sys_fdir
|  
| # Ask X11 to rebuild its font list.
| xset fp rehash
`----

Saludos
- -- 
"Yo uso software libre" (declaraci�n a petici�n de Richard M. Stallman)

Mario Teijeiro Otero (emeteo) mailto: mteijeiro at escomposlinux dot org
clave: correo con Asunto: "[PGPKEY]"     Usr. Reg. 122438               
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8LOdSMKsc+XeZcdwRAr3ZAJ9kbnqt5dXDVHHg7jxf7Dx1eQEPYQCeKi3X
iUyQMytxsBVlFHv90DvePs0=
=cVrd
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <n0pi0a.p6p.ln@asimovi.localdomain>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!213-99-229-114.uc.nombres.ttd.ES!not-for-mail
References: <rvhi0a.9aj.ln@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,3ab78fa791df1f1e
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-12-28 13:58:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!213-99-229-114.uc.nombres.ttd.ES!not-for-mail
From: Mario Teijeiro Otero <emeteo@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Actualizar el XF86Config desde un script
Date: Fri, 28 Dec 2001 22:42:46 +0100
Lines: 47
Message-ID: <n0pi0a.p6p.ln@asimovi.localdomain>
References: <rvhi0a.9aj.ln@127.0.0.1>
NNTP-Posting-Host: 213-99-229-114.uc.nombres.ttd.es (213.99.229.114)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1009576701 22309782 213.99.229.114 (16 [119866])
X-Orig-Path: asimovi.localdomain!nobody
User-Agent: KNode/0.7.0