Optimisation.. [Réglé]

Ourck20-1 Membre non connecté
-
- Voir le profil du membre Ourck20-1
- Inscrit le : 06/05/2019
- Groupes :
Reprise du message précédent
Capito !Bon, je pense que je peux faire un peu plus que copier/coller, cad m'y coller !
--->
Caché :
[xxl@OO7 ~]$ ls -lsa /usr/bin/python*
0 lrwxrwxrwx 1 root root 7 mai 4 07:43 /usr/bin/python -> python2*
0 lrwxrwxrwx 1 root root 9 mai 4 07:43 /usr/bin/python2 -> python2.7*
16 -rwxr-xr-x 1 root root 14604 mai 4 07:43 /usr/bin/python2.7*
4 -rwxr-xr-x 1 root root 402 janv. 5 2019 /usr/bin/python2-automat-visualize*
4 -rwxr-xr-x 1 root root 388 janv. 5 2019 /usr/bin/python2-chardetect*
0 lrwxrwxrwx 1 root root 9 avril 4 10:57 /usr/bin/python3 -> python3.7*
0 lrwxrwxrwx 1 root root 8 avril 4 10:57 /usr/bin/python3-2to3 -> 2to3-3.7*
0 lrwxrwxrwx 1 root root 10 avril 4 10:57 /usr/bin/python3.7 -> python3.7m*
0 lrwxrwxrwx 1 root root 17 avril 4 10:57 /usr/bin/python3.7-config -> python3.7m-config*
16 -rwxr-xr-x 1 root root 14616 avril 4 10:57 /usr/bin/python3.7m*
4 -rwxr-xr-x 1 root root 3519 avril 4 10:55 /usr/bin/python3.7m-config*
0 lrwxrwxrwx 1 root root 16 avril 4 10:57 /usr/bin/python3-config -> python3.7-config*
4 -rwxr-xr-x 1 root root 2558 avril 17 19:46 /usr/bin/python-argcomplete-check-easy-install-script*
4 -rwxr-xr-x 1 root root 318 mars 15 2017 /usr/bin/python-argcomplete-tcsh*
0 lrwxrwxrwx 1 root root 7 mai 4 07:43 /usr/bin/python -> python2*
0 lrwxrwxrwx 1 root root 9 mai 4 07:43 /usr/bin/python2 -> python2.7*
16 -rwxr-xr-x 1 root root 14604 mai 4 07:43 /usr/bin/python2.7*
4 -rwxr-xr-x 1 root root 402 janv. 5 2019 /usr/bin/python2-automat-visualize*
4 -rwxr-xr-x 1 root root 388 janv. 5 2019 /usr/bin/python2-chardetect*
0 lrwxrwxrwx 1 root root 9 avril 4 10:57 /usr/bin/python3 -> python3.7*
0 lrwxrwxrwx 1 root root 8 avril 4 10:57 /usr/bin/python3-2to3 -> 2to3-3.7*
0 lrwxrwxrwx 1 root root 10 avril 4 10:57 /usr/bin/python3.7 -> python3.7m*
0 lrwxrwxrwx 1 root root 17 avril 4 10:57 /usr/bin/python3.7-config -> python3.7m-config*
16 -rwxr-xr-x 1 root root 14616 avril 4 10:57 /usr/bin/python3.7m*
4 -rwxr-xr-x 1 root root 3519 avril 4 10:55 /usr/bin/python3.7m-config*
0 lrwxrwxrwx 1 root root 16 avril 4 10:57 /usr/bin/python3-config -> python3.7-config*
4 -rwxr-xr-x 1 root root 2558 avril 17 19:46 /usr/bin/python-argcomplete-check-easy-install-script*
4 -rwxr-xr-x 1 root root 318 mars 15 2017 /usr/bin/python-argcomplete-tcsh*
nic80 :
Pourquoi ?
Python 3 est déjà disponible sous Mageia 7 il me semble.
Python 3 est déjà disponible sous Mageia 7 il me semble.
Jibz :
Ou changer le script...

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Je ferais en root
Code BASH :
mv /usr/share/laptop-mode-tools/LMT.py /usr/share/laptop-mode-tools/lmt.py
Puis je referais un essai en console.
Édité par nic80 Le 01/09/2019 à 20h43

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
QT_X11_NO_MITSHM=1 python3 /usr/share/laptop-mode-tools/LMT.py
Yves

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Papoteur :
Tu pourrais essayer :
Je crois que nos posts se sont croisés...
Comme ça il y' a peut être les deux solutions possibles...

Édité par nic80 Le 01/09/2019 à 20h49

Ourck20-1 Membre non connecté
-
- Voir le profil du membre Ourck20-1
- Inscrit le : 06/05/2019
- Groupes :
LMT.PY/lmt.py
Name: lib64python3.7-stdlib
Version: 3.7.3
Release: 1.mga7

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
nic80 :
Bonjour,
Je crois que nos posts se sont croisés...
Comme ça il y' a peut être les deux solutions possibles...

Papoteur :
Tu pourrais essayer :
Je crois que nos posts se sont croisés...
Comme ça il y' a peut être les deux solutions possibles...

Oui, mais à ne pas combiner.
Ourck :
Ahahah...Majuscule/Minuscule
LMT.PY/lmt.py
Name: lib64python3.7-stdlib
Version: 3.7.3
Release: 1.mga7
LMT.PY/lmt.py
Name: lib64python3.7-stdlib
Version: 3.7.3
Release: 1.mga7
Mais encore ?
Yves

Ourck20-1 Membre non connecté
-
- Voir le profil du membre Ourck20-1
- Inscrit le : 06/05/2019
- Groupes :
papoteur :
..Mais encore ?
Pas si vite, c'est juste la rentrée !
F.

Ourck20-1 Membre non connecté
-
- Voir le profil du membre Ourck20-1
- Inscrit le : 06/05/2019
- Groupes :
Le programme se lance !!!
Avé le gui et tout et tout !
Bon, ça résout pas mon soucis avec l'HP840 !
Chaque chose en son temps
Merci pour vôtre patience !
F.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie