In slacko (Puppy 5.3) the original and new pet version appear in a screen box (not full screen)
I modified the original code
but the menu bar still appears (is it there in other versions - seem to remember it was not?)
modified line
Code: Select all
width-request="1300" height-request="1300"
Code: Select all
#!/bin/sh
echo 'style "proom" {
font_name = "DejaVu Sans 12"
bg[NORMAL] = "black"
base[NORMAL] = "black"
text[NORMAL] = "green"
}
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0
export Proom='
<window title="Proom" width-request="1300" height-request="1300" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="key-press-event">echo "$EDIT" >/root/mystuff</action>
</window>'
gtkdialog3 -p Proom