Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 08 Dec 2019, 06:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
textroom
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15550
Location: Paradox Realm

PostPosted: Wed 26 Oct 2011, 01:22    Post subject:  

Thanks for pet Cool
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:
width-request="1300" height-request="1300"


complete code (original only)
Code:
#!/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 on Raspberry Pi Release Candidate Cool
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html Very Happy
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 935

PostPosted: Wed 26 Oct 2011, 17:59    Post subject:  

Lobster wrote:
Thanks for pet Cool
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:
<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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 11 (0.0149s) ][ GZIP on ]