Today it occurred to me that Alan Kay intended Squeak to be UI for the Dynabook. I run Squeak on Gnome on FreeBSD, so just for fun I disabled Gnome and started a plain X session using twm, and from an xterm I launched Squeak. It looked just like it does in Gnome. The only difference I detected in this simple test was that pop-up menus opened slower.
Has anyone tried running Squeak from X without a window manager per se? I could test it by writing a .xinitrc file but I don't know how badly this could turn out.
If it turns out that Squeak needs a window manager, which of the simple window managers work well?
Maybe the framebuffer option will interest you: http://wiki.squeak.org/squeak/3484
Have not tried it myself recently so cannot comment further.
Has anyone tried running Squeak from X without a window manager per se? I could test it by writing a .xinitrc file but I don't know how badly this could turn out.
Switch to a text console then type something like: xinit /usr/bin/squeak -fullscreen /path/to/my.image -- :1
This will start an Xserver running only squeak.
See 'man xinit' for several examples.
Laurent.
On Wednesday 29 Jul 2009 2:29:57 pm Gary Dunn wrote:
Has anyone tried running Squeak from X without a window manager per se?
Yes. I once launched Squeak from a single user console on a machine that had only 64MB RAM! Squeak can be run from within a desktop, directly from X (use - fullscreen), within a browser (using npsqueak.so plugin) or directly from the console (-vm-display-fbdev). Make sure you env settings and permissions are setup correctly. E.g.
$ startx /usr/local/bin/squeak -vm-display-X11 -swapbtn ~/squeak.image -- :1
$ squeak -vm-display-fbdev ~/squeak.image
I am not sure how much these modes are supported, though.
Subbu
On Tue, Jul 28, 2009 at 10:59:57PM -1000, Gary Dunn wrote:
Today it occurred to me that Alan Kay intended Squeak to be UI for the Dynabook. I run Squeak on Gnome on FreeBSD, so just for fun I disabled Gnome and started a plain X session using twm, and from an xterm I launched Squeak. It looked just like it does in Gnome. The only difference I detected in this simple test was that pop-up menus opened slower.
Has anyone tried running Squeak from X without a window manager per se? I could test it by writing a .xinitrc file but I don't know how badly this could turn out.
Yes, I've done this. I also have OSProcess and CommandShell in the image so I have access to the OS from Squeak. It works fine, although I don't usually run it this way because it's easier to just put Squeak into full screen mode. But it does work, and no window manager is required.
If you want to get even more minimal about it, you can use Squeak as a /bin/sh replacement, running a headless image with an ExternalCommandShell running in the image (part of CommandShell package). Again, not terribly useful but it does work.
Dave
Has anyone tried running Squeak from X without a window manager per se? I could test it by writing a .xinitrc file but I don't know how badly this could turn out.
A bunch of lobbying on my part coaxed Ian into finishing the framebuffer driver for Squeak so you don't even need to run x'doze at all to use Squeak. For example, on my server I run the Swiki server in framebuffer mode to conserve the 384mb of ram I have in the machine. =P
Lemme go look at the script I use.
" squeak -vm-display-fbdev -vtswitch "
issues: the mouse isn't very responsive and the video made is left in a very sub-optimal state. =\
Furthermore, since the VM is very very unreliable, you're apt to crash yourself within twenty minutes. =(
On 29.07.2009, at 10:59, Gary Dunn wrote:
Today it occurred to me that Alan Kay intended Squeak to be UI for the Dynabook. I run Squeak on Gnome on FreeBSD, so just for fun I disabled Gnome and started a plain X session using twm, and from an xterm I launched Squeak. It looked just like it does in Gnome. The only difference I detected in this simple test was that pop-up menus opened slower.
Has anyone tried running Squeak from X without a window manager per se? I could test it by writing a .xinitrc file but I don't know how badly this could turn out.
I once made a session file for GDM which would run Squeak fullscreen without any window manager. Worked fine, and was incredibly fast to launch :)
- Bert -
squeak-dev@lists.squeakfoundation.org