textroom

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

Thanks for pet 8)
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"
complete code (original only)

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 
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#17 Post by seaside »

Lobster wrote:Thanks for pet 8)
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?)
Lobster,

It could be run over the JWM tray by doing this-
create a class by placing the following entry in " /root/.jwm/jwmrc-personal"

Code: Select all

<Group>
<Name>on-top</Name>
<Class>on-top</Class>
<Option>layer:12</Option>
</Group>
Then change the gtkdialog line call to-
gtkdialog3 --class=on-top -p Proom

However, on the Proom-o.4 pet, that change will cause the dialog listing of "seeds" (snippet files) to open under the editing window and out of reach.

Regards,
s

Post Reply