wizardwizard 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #!/bin/sh
  2. #Barry Kauler www.puppylinux.com
  3. #2007 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
  4. #v411 modified network-connect button.
  5. #100215 fix exit button.
  6. #101019 added video upgrade wizard.
  7. #120202 BK: internationalized.
  8. #130216 BK: change text for mouse.
  9. #131210 zigbert: gui (gtkdialog) improvements.
  10. export TEXTDOMAIN=wizardwizard
  11. export OUTPUT_CHARSET=UTF-8
  12. export WizardWizard='
  13. <window title="'$(gettext 'Puppy Setup')'" icon-name="gtk-preferences">
  14. <vbox space-expand="true" space-fill="true">
  15. '"`/usr/lib/gtkdialog/xml_info fixed puppy_config.svg 60 "$(gettext "This is the basic setup guide for Puppy. More configuration is found in the <b>Desktop</b> and <b>Setup</b> menu.")"`"'
  16. <vbox spacing="10" space-expand="true" space-fill="true">
  17. <frame '$(gettext 'Wizards')'>
  18. <hbox spacing="10" homogeneous="true" space-expand="true" space-fill="true">
  19. <button image-position="2">
  20. <label>'$(gettext 'Language / Country')'</label>
  21. '"`/usr/lib/gtkdialog/xml_button-icon country.svg huge`"'
  22. <action>/usr/sbin/countrywizard &</action>
  23. </button>
  24. <button image-position="2">
  25. <label>'$(gettext 'Startup')'</label>
  26. '"`/usr/lib/gtkdialog/xml_button-icon startup_services.svg huge`"'
  27. <action>/usr/sbin/bootmanager &</action>
  28. </button>
  29. <button image-position="2">
  30. <label>'$(gettext 'Mouse / Keyboard')'</label>
  31. '"`/usr/lib/gtkdialog/xml_button-icon mouse_keyboard.svg huge`"'
  32. <action>/usr/sbin/input-wizard &</action>
  33. </button>
  34. </hbox>
  35. <hbox spacing="10" homogeneous="true" space-expand="true" space-fill="true">
  36. <button image-position="2">
  37. <label>'$(gettext 'Sound')'</label>
  38. '"`/usr/lib/gtkdialog/xml_button-icon sound.svg huge`"'
  39. <action>/usr/sbin/alsawizard &</action>
  40. </button>
  41. <button image-position="2">
  42. <label>'$(gettext 'Graphics / Screen')'</label>
  43. '"`/usr/lib/gtkdialog/xml_button-icon graphics.svg huge`"'
  44. <action>/usr/sbin/xserverwizard &</action>
  45. </button>
  46. <button image-position="2">
  47. <label>'$(gettext 'Accelerated graphics')'</label>
  48. '"`/usr/lib/gtkdialog/xml_button-icon graphics_3D.svg huge`"'
  49. <action>/usr/sbin/video_upgrade_wizard & </action>
  50. </button>
  51. </hbox>
  52. <hbox spacing="10" homogeneous="true" space-expand="true" space-fill="true">
  53. <button image-position="2">
  54. <label>'$(gettext 'Internet')'</label>
  55. '"`/usr/lib/gtkdialog/xml_button-icon internet_connect.svg huge`"'
  56. <action>/usr/sbin/connectwizard &</action>
  57. </button>
  58. <button image-position="2">
  59. <label>'$(gettext 'Printer')'</label>
  60. '"`/usr/lib/gtkdialog/xml_button-icon print.svg huge`"'
  61. <action>/usr/sbin/cups_shell &</action>
  62. </button>
  63. <text><label>""</label></text>
  64. </hbox>
  65. </frame>
  66. </vbox>
  67. <hbox space-expand="false" space-fill="false">
  68. <button>'"`/usr/lib/gtkdialog/xml_button-icon quit`"'<label>'$(gettext 'Quit')'</label></button>
  69. </hbox>
  70. </vbox>
  71. </window>'
  72. . /usr/lib/gtkdialog/xml_info gtk #build bg_pixmap for gtk-theme
  73. gtkdialog -p WizardWizard
  74. unset WizardWizard