I experimented with example GtkDialog - tips page 1, title "How to store window size/placement"
a) script
not work for me (the window does not change to the position)#! /bin/bas
save_geometry (){
....
and and does not create the file /tmp/geometry
b) script
Code: Select all
#! /bin/sh
RIGHT=800 DOWN=36 WIDTH=200 HEIGHT=80
export GUI
GUI='
<window>
<vbox>
<button cancel></button>
</vbox>
</window>'
gtkdialog -p GUI -G ${1-${WIDTH}x${HEIGHT}+${RIGHT}+${DOWN}}
but If I run through "Open With", then not works! is positioned in any place, but not to the right above and loses the dimensions
help me to do the positioning when running with "open with"
(I use gtkdialog version 0.8.4)
Thanks you!