Je veux écrire un script shell qui a une interface GUI simple pour montrer certains messages. Existe-t-il une bibliothèque GUI disponible qui peut fonctionner sur n'importe quel système d'exploitation Linux?GUI shell script
1
A
Répondre
1
Gnome a la zenity commande, que vous utilisez comme ceci:
zenity --info --text "message here"
Notez que la commande attend jusqu'à ce que l'utilisateur accuse réception du message. Aussi, assurez-vous que votre variable d'environnement $ DISPLAY est défini dans l'environnement de la coquille, ou vous obtiendrez une erreur comme ceci: (zenity: 14693): Gtk-AVERTISSEMENT *: affichage ne peut pas ouvrir: *
1
« Sur tout Linux OS "? Aucune chance ... :) Mais "dialogue" est une chose très courante. Voici un bon exemple à ce sujet:
http://unstableme.blogspot.com/2009/12/linux-dialog-utility-short-tutorial.html
Questions connexes
- 1. GUI utilisant Shell Batch File
- 2. Script shell shell (not &)
- 3. Script shell shell qsub
- 4. Script shell Shell
- 5. question script GUI simple
- 6. un script de shell shell
- 7. Comment construire un shell GUI pour DOS?
- 8. Comment construire un shell GUI pour DOS?
- 9. script shell + calculer réseau IP par script shell
- 10. C# GUI Texture Button Script
- 11. Shell erreur de script
- 12. Un script shell "try"
- 13. Linux Shell Script Coincé
- 14. Script shell Unix - mailsend
- 15. script shell tombe
- 16. Script Shell Tilde Expansion
- 17. modèles de script shell
- 18. Shell Script avec Zenity
- 19. script shell non exécuté
- 20. Script Shell avec variables
- 21. script shell de base
- 22. script shell bash boucle
- 23. pdflatex et shell script
- 24. c script shell expliquer
- 25. syntaxe script shell Esoteric
- 26. Sortie Shell Script impair
- 27. script shell multiple select
- 28. Filetage d'un script shell
- 29. Script Shell Linux
- 30. erreur de script shell
http://www.youtube.com/watch?v=lvYrhodJs0g –
notify-envoi doit être téléchargé en utilisant d'abord libnotify – Jay