gtk splash dialog - SOLVED!

Booting, installing, newbie
Post Reply
Message
Author
User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

gtk splash dialog - SOLVED!

#1 Post by wimpy »

I have a script which I run from the desktop which has as its last line .... echo "done". When I run it from the console the "done" appears nicely. As I am running it from a desktop icon I would like to have the "done" come up as a gtk splash screen. At present it just gets lost. Doing some research it would appear that either yad or zenity would fit the bill but I'm not sure how to invoke them from within a bash script.
Any help would be greatly appreciated.
Last edited by wimpy on Fri 11 Jan 2013, 16:45, edited 1 time in total.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi wimpy

this has an ok button to dismiss it

Code: Select all

`xmessage -center -bg blue -fg white "done"`
and this dismisses itself after an allotted time

Code: Select all

yaf-splash -bg red -fg white -placement center -timeout 2 -text done
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#3 Post by wimpy »

Hi 666philb,
Thank you. Both items of code work beautifully. I'm really most grateful for your help. I'll mark this as solved.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

Post Reply