Page 2 of 3

Posted: Fri 02 May 2008, 03:12
by richard.a
jonyo wrote:
richard.a wrote:That thread is here
Can't access the link?
Must be a portion of their forums that requires a subscription, though I can't think why except for creating an elitist feeling :)

I didn't say anything more of interest though, posted the same graphic and there were a couple of other graphics posted by others, showing similar stuff.


Richard

Posted: Sat 03 May 2008, 14:59
by jonyo
Thx. Is that subscription something you have to pay for?

gtk buttonbars

Posted: Tue 03 Jun 2008, 15:39
by jayz
Is there a way to refresh gtk button bars? In some cases they stop working once I have click on one button.
Also, is there a way to launch a jwm tray form a jwm tray, or a menu entry?
I have puppy 3.01 and changed richard.a's scripts from 'gtkdialog' to 'gtkdialog3'.

Re: gtk buttonbars

Posted: Tue 03 Jun 2008, 16:34
by HairyWill
jayz wrote:Also, is there a way to launch a jwm tray form a jwm tray, or a menu entry?
I know a fair bit about jwm configuration and don't think this is possible. I think the trays must be created when jwm starts and can either be visible or hidden. As far as I know the only event that can be used to toggle that status is the mouse moving over the 1 pixel wide exposed strip

Re: gtk buttonbars

Posted: Wed 04 Jun 2008, 00:52
by richard.a
jonyo wrote:Thx. Is that subscription something you have to pay for?
Sorry to not have seen this before.

No cost to the subscription. I think I may have saved it online somewhere... let me know if you'd like me to post the saved url.

jayz wrote:Is there a way to refresh gtk button bars? In some cases they stop working once I have click on one button.
I've noticed this also. Investigating, I've found what I think causes it, but not how to fix it.

It doesn't seem to happen if you click on a link that doesn't work - like starting a non-existent application. Or one that that is working properly.

It seems to happen when you click on a link that fails because the appllication did not start properly, or is broken in other ways. Most times the solution is to close the application if you can.

Often using the kill facility will still leave the bar gasping for breath, so you will need to kill the bar (using the menu from the left-hand button common to all windows) and reopen it :(

jayz wrote:I have puppy 3.01 and changed richard.a's scripts from 'gtkdialog' to 'gtkdialog3'.
Thanks, that's good to know :)

Richard

buttonbars

Posted: Sun 08 Jun 2008, 20:07
by jayz
OK. thanks to Richard.a and HairyWill. I like the idea of making buttonbars from things that are already in Puppy.

buttonbars

Posted: Mon 09 Jun 2008, 15:37
by jayz
Keep gtk buttonbar active.
End each action command with an ampersand.
Example:
<action>exec beep-media-player &</action>
From gtkdialog2.txt:
Commands usually can be run in the background by
writing a `&' as last character, so the subshell will not wait
the program to complete.

This works on the three examples I have tried so far.

Re: buttonbars

Posted: Mon 09 Jun 2008, 22:40
by richard.a
jayz wrote:Keep gtk buttonbar active.
End each action command with an ampersand.
Example:
<action>exec beep-media-player &</action>
From gtkdialog2.txt:
Commands usually can be run in the background by
writing a `&' as last character, so the subshell will not wait
the program to complete.

This works on the three examples I have tried so far.
Thankyou, I completely overlooked that :(


Completely off topic, re your signature
parenthesis sinister laugh parenthesis
I was reminded of the unofficial definition of the LISP language...
Lost In Stupid Parentheses :) :D

Re: buttonbars

Posted: Sat 30 Aug 2008, 08:57
by nic2109
richard.a wrote: Completely off topic, re your signature
parenthesis sinister laugh parenthesis
I was reminded of the unofficial definition of the LISP language...
Lost In Stupid Parentheses :) :D
..... and I was reminded of the equally unofficial definition of PERL : Pathologocally Eclectic Rubbish Lister.

Posted: Tue 16 Sep 2008, 16:37
by yangmusa
Dougal wrote:Note that JWM allows multiple "trays" (panels), so you can just add at the bottom of jwmrc an include for jwmrc-tray2, then create it with only buttons -- it can be positioned anywhere along the edges of the screen, vertical or horizontal.
I tried this last night, but with no luck. This is what I did:
  • 1) added include for jwmrc-tray2 in jwmrc
    2) created jwmrc-tray2 based on jwmrc-tray. Added buttons with the same syntax as used in jwmrc-tray.
    3) restart jwm.
    4) I don't see my extra tray...
However, there are some uncertainties here. I'd like to have tray 2 at the top center of the screen, with autohide on. Using halign=center and valign=top seems fairly obvious, but then there's the x and y coordinates? I've looked at JWM's homepage, but it doesn't go into detail. Does anyone know what I need to add?

thanks, Magnus

UPDATE: I meant to add - searching for all the "obvious" terms didn't bring up anything useful in the forum or the wiki. However, I was browsing the now huge JWM theme repository, and just happened to come across something that looks like it's what I need:
  • Tray autohide="true" insert="right" x="0" y="-1" valign="top" halign="center" height="48"
So, unless anyone knows differently, I'll try that! It looks like I don't need to change the x,y coordinates between the top & bottom trays.

Re: gtk buttonbars

Posted: Sat 14 Feb 2009, 10:37
by richard.a
jayz wrote:I have puppy 3.01 and changed richard.a's scripts from 'gtkdialog' to 'gtkdialog3'.
Ummmm I finally got around to trying it with 4.12 and while it allows bars to launch, it replaces the name of every bar with "gtkdialog".

Anyone got any ideas how to fix this?

Richard

Posted: Wed 03 Nov 2010, 02:58
by harii4
very useful thread.
:)

Posted: Wed 03 Nov 2010, 06:00
by DaveS
harii4 wrote:very useful thread.
:)
You might find this useful too http://www.murga-linux.com/puppy/viewtopic.php?t=46829