X display visual
Fred L. Drake, Jr.
fdrake at acm.org
Mon Dec 6 17:46:11 EST 1999
Ivan Van Laningham writes:
> What say the Tkinter experts?
Tk (properly) used the visual configured to be the default visual.
This is (I think) a poor standard configuration from Sun, but it is
the "stock" configuration. The proper solution is to start the X
server with flags to specify that the default visual should be 24
bits.
(Streeeetcch..... digging up arcane Sun X lore....)
The way I do this is to change a line in the file
/usr/dt/config/Xservers; change the line:
:0 Local local_uid at console root /usr/openwin/bin/Xsun :0 -nobanner
to something like:
:0 Local local_uid at console root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fbs/ffb0 defdepth 24
Make sure he checks the -dev parameter with the installed hardware;
this is for a Creator framebuffer.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list