Beyond AndroWish
Not logged in

Some subdirectories of AndroWish have a ready-to-build-then-use Debian infrastructure built in. That allows to build Debian packages easily e.g. on a Raspbian distribution running on your Raspberry Pi:

    cd .../jni/SDL2 ; dpkg-buildpackage -tc -uc ; dpkg -i ../libsdl2*.deb
    cd .../jni/tcl ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdltcl*.deb
    cd .../jni/sdl2tk ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdl2tk*.deb
    /opt/sdltk86/bin/sdl2wish8.6

Thanks to SDL's video driver architecture it is possible on the Raspberry Pi to execute the resulting binary both in an X11 session and on the framebuffer (using DirectFB).

Building some components of AndroWish for the Windows OS family is possible, too, by using cross compilation on a Linux system. More information can be found in undroidwish.

The resulting sdl2wish8.6, sdl2wish86.exe, or undroidwish binaries support additional command line options to control certain SDL features:

-sdlfullscreen

Make the SDL window (the root window for Tk) into a fullscreen window.

-sdlresizable

Allow resizing of the SDL window.

-sdlnoborder

Make the SDL window borderless, i.e. without window manager decorations.

-sdlheight pixels

Set the height of the SDL window to pixels.

-sdlwidth pixels

Set the width of the SDL window to pixels.

-sdlrootheight pixels

Set the height of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.

-sdlrootwidth pixels

Set the width of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.

-sdlxdpi dpi

Set the dots per inch ratio for the X dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.

-sdlydpi dpi

Set the dots per inch ratio for the Y dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.

-sdlnogl

Force using the software renderer. This turns OpenGL usage off.

-sdllog level

Set the minimum log level to be shown in SDL log message. level must be a positive integer.

-sdlicon filename

Set the SDL root window icon to the BMP image from filename.

-sdlnosysfonts

Don't search for and register system fonts. This can reduce startup time significantly.

-sdlopacity value

Set the initial opacity of the SDL root window. value must be given as positive integer percentage.