[Vm-dev] Re: [squeak-dev] Re: Packaging of 4.1 for Windows

Bert Freudenberg bert at freudenbergs.de
Sat Mar 27 23:56:05 UTC 2010

On 28.03.2010, at 00:30, Chris Muller wrote:
> Does the VM compiler decide what icon bitmap is represented by the
> executable?  When running in Linux I get a Xterm icon, but it would be
> nice to be able to distinguish those from other Xterm sessions on the
> desktop.

No, by default the VM does not define an icon. On modern Linux desktops, window icons are not specified by the executable anymore. Instead, the desktop comes with a "theme" of colorful icons. Typically a "desktop entry" file is used to associate applications with icons. See
and ask your favorite distro packager for how they handle icons.

There still is some window icon support in the VM, but it has been unused for years. I found this in an old file - try putting the following into platforms/unix/vm-display-X11/squeakIcon.bitmap and undefine NO_ICON in sqUnixX11.c:

#define sqXIcon_width	32
#define sqXIcon_height	32
static char sqXIcon_bits[] = {

Recompiling should add an old-fashioned black-and-white icon to the window. But it's quite possible that modern window managers ignore this.

- Bert -

More information about the Vm-dev mailing list