On 02/23/2015 02:23 PM, Israel wrote: > About OBI Ok.. so if we use gxmessage it wont be too hard... install gxmessage in ToriOS to use this
-- Regards -Israel ToriOS Team
#!/bin/bash #BGCOLOR=$(xmllint --xpath 'string(//TrayStyle/Background)' "${HOME}"/.jwmrc) #FGCOLOR=$(xmllint --xpath 'string(//TrayStyle/Foreground)' "${HOME}"/.jwmrc) #COLOURS="-bg $BGCOLOR -fg $FGCOLOR" # maybe don't use colors? gxmessage -title "OBI HELP" -nearmouse -buttons "Quick Start Guide:1,Detailed Help:2,About OBI:3,Exit:4" "Learn more about the One Button Installer" RESULT=$? if [ "$RESULT" == 1 ] then xdg-open /usr/share/docs/OBI/OBI-quick-start-manual.pdf elif [ "$RESULT" == 2 ] then xdg-open /usr/share/docs/OBI/README.pdf elif [ "$RESULT" == 3 ] then xdg-open /usr/share/docs/OBI/DescriptionoftheOneButtonInstaller.pdf else exit fi
-- Mailing list: https://launchpad.net/~torios-dev Post to : torios-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~torios-dev More help : https://help.launchpad.net/ListHelp