View previous topic :: View next topic |
Author |
Message |
mcsky2 Guru


Joined: 25 Aug 2005 Posts: 312
|
Posted: Sat Feb 03, 2007 2:37 pm Post subject: [bash] export de googlearth (resolu) |
|
|
Bonjour,
Sur mon portable, je suis oblige de lancé googleearth de cette facon dans un terminal :
Code: | export LIBGL_ALWAYS_INDIRECT=true googleearth |
Il est des lors tout a fait fluide.
Comment pourrais je éviter de mettre a chaque fois cet export.
J'ai essaye de le mettre dans le .basrc de mon home sans succes et aussi dans /etc/bash/bashrc
Merci d'avance pour vos solution
Last edited by mcsky2 on Sun Feb 04, 2007 7:45 am; edited 1 time in total |
|
Back to top |
|
 |
shakya n00b


Joined: 04 Dec 2006 Posts: 40 Location: Somewhere
|
Posted: Sat Feb 03, 2007 3:30 pm Post subject: |
|
|
bonjour
essaie de l'ajouter en éditant le script de lancement googleearth
Code: |
if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
then
cd "${GOOGLEEARTH_DATA_PATH}/"
export LIBGL_ALWAYS_INDIRECT=true
exec "./googleearth-bin" $*
fi
|
|
|
Back to top |
|
 |
mcsky2 Guru


Joined: 25 Aug 2005 Posts: 312
|
Posted: Sun Feb 04, 2007 7:45 am Post subject: |
|
|
Merci ca marche
le fichier est dans /opt/googleearth/googleearth |
|
Back to top |
|
 |
|