Bonjour,

Est-ce quelqu'un peut m'expliquer pr�cis�ment ce font ces lignes extraites d'un script
shell:

USER_WHO_OWNS_THE_X_SESSION=$(w -h | awk '/:0\.0/ {print $1;exit}')
if [ ! -z ${USER_WHO_OWNS_THE_X_SESSION} ]; then
su ${USER_WHO_OWNS_THE_X_SESSION} -c 'DISPLAY=":0" /usr/bin/gqview&'

Merci

Franck

__________________________________________________
GNU Linux Mandrake 9.1 - KDE 3.1
Optez pour le syst�me qui exploite l'ordinateur 
et non l'utilisateur
__________________________________________________
http://www.zappa.com
http://www.attac.org
http://www.acontrecourant.org/acc2/
http://www.antipub.net/cdp/
http://www.plpl.org
http://presselibre.org/


------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 



Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";.

Foire Aux Questions de la liste : http://mdk.mondelinux.org

Répondre à