Reply
Thread Tools
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#11
You can run it from the menu as a service with the name you give it as a first parameter, that's what i'm initializing it with.

I like your signature
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#12
I made a new file, /usr/share/dbus-1/services/org.maemobox.bundyo.hostwin.service:

Code:
[D-BUS Service]
Name=IceWM
Exec=/usr/bin/hostwin
Your program no longer complains about being unable to do osso-initialize; there's no errors... but that's the only difference... Should something else happen?

I think the absolute best enhancement you could give me is the ability to run a shell script from within the program. When the shell script returns, the window closes and your program quits.

The second best enhancement would be the ability to have a custom icon associated to the window.

But if you do nothing else, you have helped me immensely!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#13
It wouldn't complain about osso_initialize whenever you give at least one parameter. I'll add the other features whenever my wife gets up and stops Skyping
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#14
Redownload the archive - now takes third parameter - a path to start, waits for it to die, then closes. I'm setting an icon with the /usr/share/pixmaps/[first parameter].png, but i think maemo doesn't obey that and instead sets it from the .desktop file. Check older posts for info.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#15
Wow! That is marvellous! Icon works, script executes fast, window closes automatically...

The window text no longer displays, but everything is so fast now, I barely miss it
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#16
That's because I'm calling the script before showing the text and its synchronous, so the text shows after closing your script and before closing the program. For a very short time.

EDIT: Never wrote a GTK+ application before, if someone cares to give me a hint which signal i should bind to in order to detect that the text is shown, please be welcome
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-07-13 at 20:48.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#17
Bundyo, could you please make one more change for me?

Either have the text show as soon as the window opens, and before the script is run (that's what I really want), or remove the text parameter, since it doesn't show anyway.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#18
http://bundyo.org/maemo/hostwin_2params.bz2

If i find a way to show the label, I'll make another one.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#19
I'll have to call the next version of Easy Debian the "Bundyo Build" in your honour. ;-)
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#20
Heh, no need
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:09.