On Sat, Sep 20, 2014 at 06:56:31PM +0530, Mayuresh Kathe wrote: > On Sat, Sep 20, 2014 at 02:46:04PM +0200, stepharo wrote: > > > > On 20/9/14 08:48, Mayuresh Kathe wrote: > > >Hello Stepharo, > > > > > >Thanks for writing in the detailed email. > > > > > >Last night I got Pharo to work on my Ubuntu Server system with minimal X > > >and running in full-screen mode without any extra baggage like a window > > >manager, worked like a charm. > > > > super! > > I would be good to be able to publish the script and result somewhere. > > Not much of a script as such. > > Put your Pharo image, changes and sources files in your home directory. > create/edit a file called .xinitrc containing only "exec pharo-vm-x" > (without quotes) within your home directory. > > Start the X session by issuing "startx" at the command line, and the GUI > should be up with Pharo as the only application, no need for even a > window manager. > > Next, just set the Pharo session to use full-screen mode by bringing up > the "World" menu inside Pharo, go to the "Windows" sub-menu, and choose > "Toggle Full Screen mode", and voila, you have a Pharo full-screen > session, as if it's your GUI, remember to save the changes when you > quit the Pharo session (which will drop you back to your *nix shell). > > The next time you issue "startx" within your home directory, the GUI > presented would be Pharo. :) > > Still working on making Pharo the only shell running directly atop the > Linux kernel with X as the windowing system, yeah, tried Linux FB, > failed. > > Best, > > ~Mayuresh >
If you are booting directly into the image, you may find it useful to also load CommandShell/OSProcess into your image. This will let you open a Smalltalk shell window directly within your Squeak/Pharo boot image, so that you have access to the operating system with actually opening any windows or terminal sessions outside of your image. http://www.squeaksource.com/CommandShell http://www.squeaksource.com/OSProcess Dave