Skip to content

Kévin Dunglas

Founder of Les-Tilleuls.coop (worker-owned cooperative). Creator of API Platform, Mercure.rocks, Vulcain.rocks and of some Symfony components.

Menu
  • Talks
  • Resume
  • Sponsor me
  • Contact
Menu

Lire les partitions Guitar Pro sous Ubuntu avec DGuitar

Posted on August 13, 2005 by Kévin Dunglas

On trouve énormément de partitions de guitare au format Guitar Pro (.gp3 et .gp4) sur Internet. Malheureusement ce logiciel ne fonctionne que sous Windows !
Mais quelqu’un a développé un logiciel qui permet visualiser les tablatures Guitar Pro sous Linux. Ce logiciel ce nomme DGuitar. Installons le sous Ubuntu !

Logo DGuitar

DGuitar est écrit en Java, vérifier que la machine virtuelle Java est installée sur votre système, si ce n’est pas le cas installez le paquet sun-j2re1.5.

Téléchargez la dernière version de DGuitar sur sa page SourceForge.
Choisissez l’archive “nosrc” car nous n’aurons pas besoin des sources. A l’heure ou j’écris ces lignes la dernière version stable est la 0.4.2.

Capture d'écran

Décompressez cette archive dans le répertoire /opt/ (il nous faut les droits de root): $ sudo unzip DGuitar-nosrc-*.zip -d /opt/ Renommez ensuite le répertoire DGuitar-nosrc créé en DGuitar: $ mv /opt/DGuitar-nosrc /opt/DGuitar

DGuitar est installé, lançons le: $ java -jar /opt/DGuitar/dist/DGuitar.jar Si tout va bien le logiciel s’affiche après un splashscreen !

Ouvrez un des fichiers d’exemple fourni pour vérifier que tout fonctionne correctement. Cliquez sur Programme => Ouvrir *.GP4,GP3 et sélectionnez /opt/DGuitar/files/Red Hot Chili Pepers – Road Trippin’.gp3.
La tablature s’affiche, appuyez sur la grosse flèche verte jour l’entendre !

Nous allons maintenant créer un lanceur qui s’affichera dans le menu Applications => Son et vidéos pour DGuitar !

Créez un fichier /usr/share/applications/dguitar.desktop ($ sudo gedit /usr/share/applications/dguitar.desktop) qui contiendra:

[Desktop Entry] Name=DGuitar Name[fr]=DGuitar Comment=Guitar Pro tabs reader Comment[fr]=Lecteur de tablatures Guitar Pro GenericName=Tabs Reader Exec=java -jar /opt/DGuitar/dist/DGuitar.jar Type=Application Encoding=UTF-8 Icon=/opt/DGuitar/skins/dguitar.png Categories=Application;AudioVideo; MimeType=application/octet-stream;audio/midi

Icône DGuitar Téléchargez cette icône dans le dossier /opt/DGuitar/skins (ex., avec cette commande: cd /opt/DGuitar/skins/ && wget //dunglas.fr/bcm/images/Informatique/dguitar.png) Vous pouvez très bien personaliser cette icone. Créez en simplement une (au format PNG, 32px*32px), appellez la dguitar.png puis placez la dans /opt/DGuitar/skins/.

Un bug empêche DGuitar de se lancer correctement depuis le menu. Nous devons créer quelques liens symboliques pour résoudre ce problème (si quelqu’un a une autre solution je suis preneur !!):

$ ln -s /opt/DGuitar/lang/ ~/lang $ ln -s /opt/DGuitar/skins/ ~/skins $ ln -s /opt/DGuitar/files/ ~/files

Vous pouvez maintenant lire les tablatures Guitar Pro sous Ubuntu, les meilleurs solos du monde vous attendent 😉 Vous trouverez de nombreux fichiers Guitar Pro sur des sites comme http://www.mysongbook.com/ ou http://www.1001tabs.com/.

DGuitar

Related posts:

  1. Installer Flock sous Ubuntu
  2. Découvrez Appnr, une interface web d’ajout de programmes pour Ubuntu
  3. Installation d’Opera sous Ubuntu
  4. Mon comparatif Ubuntu / Windows.

Leave a Reply Cancel reply

Follow me on Twitter

My Tweets

Subscribe to this blog

Recent Posts

  • Goroutines, threads, and thread IDs
  • New in Caddy 2.5: Redact Sensitive Data from Your Logs
  • Building Decentralized Web Apps with Solid and PHP
  • JSON Columns and Doctrine DBAL 3 Upgrade
  • Preventing CORS Preflight Requests Using Content Negotiation

Top Posts & Pages

  • JSON Columns and Doctrine DBAL 3 Upgrade
  • Building Decentralized Web Apps with Solid and PHP
  • Generate a Symfony password hash from the command line
  • Goroutines, threads, and thread IDs
  • API Platform 2.6: PHP 8 support, Next.js and Nuxt.js app generator, Caddy server, ActivityPub and much more!
  • PHP 7: Introducing a domain name validator and making the URL validator stricter
  • New in Caddy 2.5: Redact Sensitive Data from Your Logs
  • Using Next.js and Material UI Together
  • Using PSR-7 in Symfony
  • The Mercure.rocks Hub is now based on Caddy Web Server

Persistence in PHP with the Doctrine ORM

Persistence in PHP with the Doctrine ORM

Tags

Apache API API Platform Buzz Caddy Docker Doctrine Go Google HTTP/2 Hydra hypermedia Hébergement Javascript JSON-LD Kubernetes La Coopérative des Tilleuls Les-Tilleuls.coop Lille Linux Mac Mercure Messagerie Instantanée MySQL Open Source PHP Punk Rock Python React REST Rock'n'Roll RSS Schema.org Security SEO SEO Symfony Symfony Live Sécurité Ubuntu Vue.js Web 2.0 Wordpress XHTML XML

Archives

Categories

  • DevOps (24)
  • Mercure (3)
  • Opinions (91)
  • Programming (179)
    • Android (5)
    • Go (12)
    • JavaScript (43)
    • PHP (137)
      • API Platform (60)
      • Symfony (89)
    • Python (14)
      • Django (5)
  • Security (15)
  • SEO (24)
  • Talks (37)
  • Ubuntu (68)
  • Wordpress (6)

Blogoliste

  • API Platform
  • Les-Tilleuls.coop
  • Mercure.rocks
  • Vulcain.rocks
© 2022 Kévin Dunglas | Powered by Minimalist Blog WordPress Theme