User Tools

Site Tools


tutorials:bash_scripting:part2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:bash_scripting:part2 [2012/02/26 16:24] rmilestutorials:bash_scripting:part2 [2017/10/12 21:58] (current) – external edit 127.0.0.1
Line 1: Line 1:
-//**3. Adding a GUI interface to a bash script**//+//**3. Adding a GUI interface to a bash script**//\\
  
 +----
 GUI interfaces can be used with bash scripts. The script below uses //Zenity// to provide a GUI dialog for selecting an image to convert to .pdf, a second GUI dialog for naming and saving the newly created .pdf file and a third offering the option to delete the image file used to create the .pdf file.  GUI interfaces can be used with bash scripts. The script below uses //Zenity// to provide a GUI dialog for selecting an image to convert to .pdf, a second GUI dialog for naming and saving the newly created .pdf file and a third offering the option to delete the image file used to create the .pdf file. 
  
Line 105: Line 106:
  
 ---- ----
-There are other GUI dialog programs. KDE has //kdialog// which is based on the Qt toolkit, there is also //dialog//, //xdialog//, //yad/ and others (I'm sure). Their features and syntax vary but if you understand the basics of how //zenity// was used in this script you shouldn't have any trouble sorting out how to use one of the others. +//There are other GUI dialog programs. KDE has //kdialog// which is based on the Qt toolkit, there is also //dialog//, //xdialog//, //yad/ and others (I'm sure). Their features and syntax vary but if you understand the basics of how //zenity// was used in this script you shouldn't have any trouble sorting out how to use one of the others//.
- +
-In the next section I''ll discuss a script I use on our print server to shut it down if there is nobody using the lan. +
  
 +In the next section I''ll discuss a script I use on our print server to shut it down if there is nobody using the lan.//
 +----
 +**Cheers!**
  
tutorials/bash_scripting/part2.1330233869.txt.gz · Last modified: 2017/10/12 21:58 (external edit)