Outils pour utilisateurs

Outils du site


python:pendu-peda-gtk

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
python:pendu-peda-gtk [2020/03/10 16:19] – [Ajouter de nouveaux thèmes] crustpython:pendu-peda-gtk [2020/04/07 13:40] – [Fichiers installés] crust
Ligne 25: Ligne 25:
  
 (les dépendances sont normalement gérées : il faut simplement le paquet **python3** et **python3-gi**) (les dépendances sont normalement gérées : il faut simplement le paquet **python3** et **python3-gi**)
 +
 +==== Lancer depuis le GIT ====
 +Tester son paquet, sans rien installer depuis le repo du git :
 +<code bash>$ git clone https://github.com/CyrilleBiot/pendu-peda-gtk.git
 +Clonage dans 'pendu-peda-gtk'...
 +remote: Enumerating objects: 155, done.
 +remote: Counting objects: 100% (155/155), done.
 +remote: Compressing objects: 100% (119/119), done.
 +remote: Total 155 (delta 45), reused 136 (delta 29), pack-reused 0
 +Réception d'objets: 100% (155/155), 1.68 Mio | 397.00 Kio/s, fait.
 +Résolution des deltas: 100% (45/45), fait.</code>
 +
 +<code bash>$ cd pendu-peda-gtk/</code>
 +
 +<code bash>$ ./source/pendu-peda-gtk.py</code> 
 +
  
 ==== Pour compiler son propre paquet DEBIAN ==== ==== Pour compiler son propre paquet DEBIAN ====
Ligne 38: Ligne 54:
  
 {{ :python:2020-03-10_11-49.png?direct&800 |}} {{ :python:2020-03-10_11-49.png?direct&800 |}}
 +
 +**Nouvel version de l'onglet 2** (version 0.3)
 +{{ :python:2020-03-12_16-10.png?direct&800 |}}
  
 ===== Ajouter de nouveaux thèmes ===== ===== Ajouter de nouveaux thèmes =====
Ligne 45: Ligne 64:
 Au premier lancement, ces thèmes sont copiés dans votre **/home/$USER** afin de faciliter l'ajout de nouveaux thèmes. Au premier lancement, ces thèmes sont copiés dans votre **/home/$USER** afin de faciliter l'ajout de nouveaux thèmes.
  
-Le dossier de stockage est **~/.primtux/pendu-peda-gtk/data-files/**+Le dossier de stockage est **~/.config/primtux/pendu-peda-gtk/data-files/**
  
 <code bash> <code bash>
-$ ls .primtux/pendu-peda-gtk/data-files/+$ ls .config/primtux/pendu-peda-gtk/data-files/
 autre-anglais.txt                      cm-geo-mieux-habiter.txt autre-anglais.txt                      cm-geo-mieux-habiter.txt
 autre-informatique-kturtle.txt         cm_geo_pays-UE.txt autre-informatique-kturtle.txt         cm_geo_pays-UE.txt
Ligne 85: Ligne 104:
 {{ :python:2020-03-10_11-55.png?direct&800 |}} {{ :python:2020-03-10_11-55.png?direct&800 |}}
  
-==== 2 modes d'ajout =====+===== 2 modes d'ajout ======
    
  
-=== Soit en USER ===+==== Soit en USER ====
  
 C'est ce que nous avons vu au point précédent. Très simple. Les nouveaux thèmes ne touchent que le courant de l'utilisateur. C'est ce que nous avons vu au point précédent. Très simple. Les nouveaux thèmes ne touchent que le courant de l'utilisateur.
  
-=== Soit via l'administrateur ===+==== Soit via l'administrateur ====
  
 Les thèmes sont directement installés dans le dossier **/usr/share/pendu-peda-gtk/data-files**. Les thèmes sont directement installés dans le dossier **/usr/share/pendu-peda-gtk/data-files**.
-Ce répertoire est automatiquement copié dans le dossier de l'$USER au premier lancement du logiciel et uniquement si un dossier éponyme n'existe pas. Sinon, il vous faudra penser à le supprimer. +Ce répertoire est automatiquement copié dans le dossier de l'**$USER** au premier lancement du logiciel et //uniquement si un dossier éponyme n'existe pas//. Sinon, il vous faudra penser à le supprimer. 
-<code bash>rm -rf /home/$USER/.primtux/pendu-peda-gtk/</code>+<code bash>rm -rf /home/$USER/.config/primtux/pendu-peda-gtk/</code> 
 + 
 +===== Fichiers installés ===== 
 +<code bash> 
 +usr/ 
 +├── bin 
 +│   └── pendu-peda-gtk 
 +└── share 
 +    ├── applications 
 +    │   └── pendu-peda-gtk.desktop 
 +    ├── doc 
 +    │   └── pendu-peda-gtk 
 +    │       ├── changelog.gz 
 +    │       └── copyright 
 +    ├── man 
 +    │   └── man6 
 +    │       └── pendu-peda-gtk.6.gz 
 +    └── pendu-peda-gtk 
 +        ├── data-files 
 +        │   ├── autre-anglais.txt 
 +        │   ├── autre-informatique-kturtle.txt 
 +        │   ├── autre-informatique-materiel.txt 
 +        │   ├── autre-informatique-prog.txt 
 +        │   ├── autre-liste-francais.txt 
 +        │   ├── CE-francais-verbe1erG.txt 
 +        │   ├── CE-francais-verbe3eG.txt 
 +        │   ├── CE-francais-verbe-ir.txt 
 +        │   ├── cm-geo-communiquer.txt 
 +        │   ├── cm-geo-espaces-touristiques.txt 
 +        │   ├── cm-geo-espaces-urbains.txt 
 +        │   ├── cm-geographie-consommer-en-france.txt 
 +        │   ├── cm-geo-lieux.txt 
 +        │   ├── cm-geo-mieux-habiter.txt 
 +        │   ├── cm_geo_pays-UE.txt 
 +        │   ├── cm-geo-se-deplacer.txt 
 +        │   ├── cm-hist-age-industriel.txt 
 +        │   ├── cm-hist-construction-euro.txt 
 +        │   ├── cm-hist-deux-guerres-mondiales.txt 
 +        │   ├── cm-hist-la-republique.txt 
 +        │   ├── cm_histoirela-revolution-l-empire.txt 
 +        │   ├── cm_histoire-moyen-age.txt 
 +        │   ├── cm-hist-prehistoire-antiquite.txt 
 +        │   ├── cm-maths-nombres.txt 
 +        │   └── cm-maths-polygone.txt 
 +        ├── images 
 +        │   ├── preview 
 +        │   │   ├── 01.png 
 +        │   │   ├── 02.png 
 +        │   │   ├── 03.png 
 +        │   │   ├── 04.png 
 +        │   │   └── 05.png 
 +        │   ├── set0 
 +        │   │   ├── 001 
 +        │   │   │   ├── pendu_0.gif 
 +        │   │   │   ├── pendu_1.gif 
 +        │   │   │   ├── pendu_2.gif 
 +        │   │   │   ├── pendu_3.gif 
 +        │   │   │   ├── pendu_4.gif 
 +        │   │   │   ├── pendu_5.gif 
 +        │   │   │   ├── pendu_6.gif 
 +        │   │   │   ├── pendu_7.gif 
 +        │   │   │   └── pendu_gagne.gif 
 +        │   │   └── 002 
 +        │   │       ├── pendu_0.gif 
 +        │   │       ├── pendu_10.gif 
 +        │   │       ├── pendu_1.gif 
 +        │   │       ├── pendu_2.gif 
 +        │   │       ├── pendu_3.gif 
 +        │   │       ├── pendu_4.gif 
 +        │   │       ├── pendu_5.gif 
 +        │   │       ├── pendu_6.gif 
 +        │   │       ├── pendu_7.gif 
 +        │   │       ├── pendu_8.gif 
 +        │   │       ├── pendu_9.gif 
 +        │   │       └── pendu_gagne.gif 
 +        │   ├── set1 
 +        │   │   ├── 001 
 +        │   │   │   ├── pendu_0.gif 
 +        │   │   │   ├── pendu_1.gif 
 +        │   │   │   ├── pendu_2.gif 
 +        │   │   │   ├── pendu_3.gif 
 +        │   │   │   ├── pendu_4.gif 
 +        │   │   │   ├── pendu_5.gif 
 +        │   │   │   ├── pendu_6.gif 
 +        │   │   │   ├── pendu_7.gif 
 +        │   │   │   └── pendu_gagne.gif 
 +        │   │   └── 002 
 +        │   │       ├── pendu_0.gif 
 +        │   │       ├── pendu_10.gif 
 +        │   │       ├── pendu_1.gif 
 +        │   │       ├── pendu_2.gif 
 +        │   │       ├── pendu_3.gif 
 +        │   │       ├── pendu_4.gif 
 +        │   │       ├── pendu_5.gif 
 +        │   │       ├── pendu_6.gif 
 +        │   │       ├── pendu_7.gif 
 +        │   │       ├── pendu_8.gif 
 +        │   │       ├── pendu_9.gif 
 +        │   │       └── pendu_gagne.gif 
 +        │   ├── set2 
 +        │   │   ├── 001 
 +        │   │   │   ├── pendu_0.gif 
 +        │   │   │   ├── pendu_1.gif 
 +        │   │   │   ├── pendu_2.gif 
 +        │   │   │   ├── pendu_3.gif 
 +        │   │   │   ├── pendu_4.gif 
 +        │   │   │   ├── pendu_5.gif 
 +        │   │   │   ├── pendu_6.gif 
 +        │   │   │   ├── pendu_7.gif 
 +        │   │   │   └── pendu_gagne.gif 
 +        │   │   └── 002 
 +        │   │       ├── pendu_0.gif 
 +        │   │       ├── pendu_10.gif 
 +        │   │       ├── pendu_1.gif 
 +        │   │       ├── pendu_2.gif 
 +        │   │       ├── pendu_3.gif 
 +        │   │       ├── pendu_4.gif 
 +        │   │       ├── pendu_5.gif 
 +        │   │       ├── pendu_6.gif 
 +        │   │       ├── pendu_7.gif 
 +        │   │       ├── pendu_8.gif 
 +        │   │       ├── pendu_9.gif 
 +        │   │       └── pendu_gagne.gif 
 +        │   ├── set3 
 +        │   │   ├── 001 
 +        │   │   │   ├── pendu_0.gif 
 +        │   │   │   ├── pendu_1.gif 
 +        │   │   │   ├── pendu_2.gif 
 +        │   │   │   ├── pendu_3.gif 
 +        │   │   │   ├── pendu_4.gif 
 +        │   │   │   ├── pendu_5.gif 
 +        │   │   │   ├── pendu_6.gif 
 +        │   │   │   ├── pendu_7.gif 
 +        │   │   │   └── pendu_gagne.gif 
 +        │   │   └── 002 
 +        │   │       ├── pendu_0.gif 
 +        │   │       ├── pendu_10.gif 
 +        │   │       ├── pendu_1.gif 
 +        │   │       ├── pendu_2.gif 
 +        │   │       ├── pendu_3.gif 
 +        │   │       ├── pendu_4.gif 
 +        │   │       ├── pendu_5.gif 
 +        │   │       ├── pendu_6.gif 
 +        │   │       ├── pendu_7.gif 
 +        │   │       ├── pendu_8.gif 
 +        │   │       ├── pendu_9.gif 
 +        │   │       └── pendu_gagne.gif 
 +        │   └── set4 
 +        │       ├── 001 
 +        │       │   ├── pendu_0.gif 
 +        │       │   ├── pendu_1.gif 
 +        │       │   ├── pendu_2.gif 
 +        │       │   ├── pendu_3.gif 
 +        │       │   ├── pendu_4.gif 
 +        │       │   ├── pendu_5.gif 
 +        │       │   ├── pendu_6.gif 
 +        │       │   ├── pendu_7.gif 
 +        │       │   └── pendu_gagne.gif 
 +        │       └── 002 
 +        │           ├── pendu_0.gif 
 +        │           ├── pendu_10.gif 
 +        │           ├── pendu_1.gif 
 +        │           ├── pendu_2.gif 
 +        │           ├── pendu_3.gif 
 +        │           ├── pendu_4.gif 
 +        │           ├── pendu_5.gif 
 +        │           ├── pendu_6.gif 
 +        │           ├── pendu_7.gif 
 +        │           ├── pendu_8.gif 
 +        │           ├── pendu_9.gif 
 +        │           └── pendu_gagne.gif 
 +        ├── pendu-peda-gtk.css 
 +        ├── pendu-peda-gtk.py 
 +        └── pendu-peda.png 
 + 
 +26 directories, 143 files 
 + 
 +</code>
  
 ===== Bugs ===== ===== Bugs =====
python/pendu-peda-gtk.txt · Dernière modification : 2020/04/07 13:42 de crust