Setting the pharo window title from command line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
kmo
Reply | Threaded
Open this post in threaded view
|

Setting the pharo window title from command line

kmo
I want to change the title of the pharo window to "My Example Application' but the -title command line option does not seem to allow spaces in the title string.

I have tried single quotes and double quotes but I always get an error if I try to set the title to more than a singe word. I have been reduced to using hyphens:

pharo -title My-Example-Application myimage.image

I am using Pharo 4 on Linux.

Am I missing something? How do I get spaces in the title string?

The problem is made worse by the fact that DisplayScreen>>hostWindowTitle does not work on Linux (in pharo 4 or with 5 and Spur)

I also seem to remember that there was also a very useful -geometry command line option once - but this seems to have disappeared. DisplayScreen>>hostWindowSize doesn't work on Linux either.