Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[bash] export de googlearth (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Sat Feb 03, 2007 2:37 pm    Post subject: [bash] export de googlearth (resolu) Reply with quote

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
View user's profile Send private message
shakya
n00b
n00b


Joined: 04 Dec 2006
Posts: 40
Location: Somewhere

PostPosted: Sat Feb 03, 2007 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Sun Feb 04, 2007 7:45 am    Post subject: Reply with quote

Merci ca marche
le fichier est dans /opt/googleearth/googleearth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum