Why does zenity ignore my X resources file?

Alan Coopersmith alan.coopersmith at oracle.com
Mon Nov 29 00:45:41 PST 2010

a qi wrote:
> I want to  pop up a zenity dialog by shell scripts,  and specified the
> size/position of the dialog.
> here is my   .Xresources :
> Zenity.geometry:             80x36+80+80
> Zenity.background:           black
> Zenity.foreground:           black
> But zenity seems ignore  Xresource file ,  poped up in the center,
> with full screen size .

Zenity is a gtk toolkit application.  Xresources are only used
by the older generation of toolkits based on libXt, such as Xaw
& Motif, not the newer generation such as gtk & Qt.

	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System

More information about the xorg mailing list