Author |
Message |
SFR

Joined: 26 Oct 2011 Posts: 1655
|
Posted: Sun 13 May 2012, 17:31 Post subject:
|
|
Hey zigbert.
I like your refreshed and classy pmount & gtkdialog-splash.
Minor issue with gtkdialog-splash:
I don't know if it's only me (Lupuplus-528.005), but -fg parameter doesn't work.
Anyway, the addition of color='"'${fg}'"' makes it running fine.
Line 336:
Code: | <label>"<b><span color='"'${fg}'"' size='"'${fontsize}'"'>'${text}'</span></b>"</label> |
Keep it up, I'm waiting for more mods.
Thanks & Greetings!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 14 May 2012, 16:16 Post subject:
|
|
SRF
Thank you.
I uploaded a new version. See here
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 06 Feb 2013, 07:26 Post subject:
|
|
My alternative pmount is updated
- to reflect the latest changes in woof-pmount.
- Fix correct size of used-space-bar
http://murga-linux.com/puppy/viewtopic.php?p=619166#619166
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 13 Feb 2013, 03:49 Post subject:
|
|
My alternative gtkdialog-splash is uploaded.
See here
It includes fixes for placement and some new attributes.
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 13 Feb 2013, 11:30 Post subject:
|
|
SFR found a debug-line in my alternative gtkdialog-splash.
Now fixed and re-uploaded
See here
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Sun 23 Jun 2013, 04:20 Post subject:
how to get foreground color working ? |
|
Hi Sigmund,
thanks for this usefull apps !!
Here running whezzy-3.5.2.5 having gtkdialog-splash version 130212 in it (might be the latest).
... I use it now to display reminder messages for action items launched from Osmo (Menu/Task/Advanced etc ...)
I can only get black color for the displayed text, whatever the -fg setting.
I dug into gtkdialog-splash script to look for SFR's workaround, and how to insert it ...but nothing found nor working.
Launching the following command lines results in black text on grey background:
Quote: | sh-3.00# gtkdialog-splash -fg black -text "TEXT"
EXIT="Exit on mouse-over"
sh-3.00# gtkdialog-splash -fg white -text "TEXT"
EXIT="Exit on mouse-over"
sh-3.00# gtkdialog-splash -fg red -text "TEXT"
EXIT="Exit on mouse-over"
sh-3.00# |
Maybe i missed something
Thanks for any advice.
Charlie
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Sun 23 Jun 2013, 09:06 Post subject:
|
|
Charlie
Now fixed and re-uploaded
See here
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Mon 24 Jun 2013, 04:41 Post subject:
gtkdialog-splash icon_width setting |
|
Hi Sigmund,
The -fg update works nice ! thanks a lot.
I have also tried to set the -icon_width parameter to various sizes ranging from 10 to 500 pixels on a /usr/share/pixmap/ icon ... but the displayed size might keep being circa the default 32 pixel size.
Quote: | sh-3.00# gtkdialog-splash -icon /usr/share/pixmaps/gnumeric/gnumeric-about.png -icon_width 100 -fontsize 72 -fg white -text "TEXT" |
Have i missed some syntax?
Thanks again for replying
Charlie
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1655
|
Posted: Mon 24 Jun 2013, 15:11 Post subject:
|
|
Hey Charlie6 & Zigbert
It seems that -icon_width must be used before -icon, because -icon option (which actually sets the width) is parsed earlier in the code, so if -icon_width is supplied later, the width of the icon remains as the default 32px.
Code: | gtkdialog-splash -icon_width 100 -icon /usr/share/pixmaps/gnumeric/gnumeric-about.png -fontsize 72 -fg white -text "TEXT" |
Greetings!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Tue 25 Jun 2013, 10:44 Post subject:
|
|
Hi SFR, SFR wrote: | It seems that -icon_width must be used before -icon ,... | ooops...! tons of thanks ...tested OK.
Charlie
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Wed 26 Jun 2013, 00:02 Post subject:
|
|
Hi,
last edited: Oooops !.... i forgot to mention that the hereunder mentionned «/usr/bin/yaf-splash» command is, of course, a symlink to /usr/bin/gtkdialog-splash script.
...just for information: the following settings work:
Quote: | # yaf-splash -bg "#EE9F1F" | for extra color settings, not just only red, yellow, green, etc...
Quote: | # yaf-splash -bg red -bg_gradient false -border false -placement top-right -fontsize 16 -text "Here you might place whatever text you would like, that's to say «Here you might place whatever text you would like»" | long text is placed within double-quotes for display of long text
hope this might help
Charlie
Description |
|
Filesize |
8.9 KB |
Viewed |
526 Time(s) |

|
Last edited by charlie6 on Wed 26 Jun 2013, 10:37; edited 2 times in total
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 26 Jun 2013, 09:33 Post subject:
|
|
It is great that gtksplash works, but in fact it is a bit outdated already. A svg-splash would give a much better control over the cosmetics...
Anyone?
_________________ Stardust resources
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Wed 03 Jul 2013, 07:30 Post subject:
gtkdialog-splash rounded corners + margin |
|
Hi,
yet seeking for some more fine tuning ...
how could one get rounded corners (as ist in raring-5.6.94 ...);
and also set the margin (setting -margin 5 or whatever returns the same result...?)
thanks for answering!
charlie
Description |
|
Filesize |
11.22 KB |
Viewed |
502 Time(s) |

|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 05 Jul 2013, 20:01 Post subject:
|
|
zigbert wrote: | It is great that gtksplash works, but in fact it is a bit outdated already. A svg-splash would give a much better control over the cosmetics...
Anyone? |
I actually toyed with that quite awhile ago. The problem I came across was rendering CJK fonts as the char widths vary. It did look good though but I'm afraid I abandoned and deleted the work!
It would surely be more flexible and faster than passing a wrapper script through an already slowish program (gtkdialog).
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Tue 09 Jul 2013, 02:32 Post subject:
rounded corners: gtksplash-dialog running in icewm wm |
|
Hi,
here currently using icewm-1.3.7 as window manager on wheezy-3.5.2.5.
Rounded corners (see "nice to have" in my above post) on window boxes come as default with recent jwm versions (i.e. version 819) - (thanks to Barry and Pemasu answering my question).
Icewm windows produced by gtkdialog-splash come with sharp corners.
As far as i could dig into icewm manual pages, i did'nt yet find references to rounded corners settings.
Moreover, it seems that the window-edge/text margins are bigger in icewm than in jwm.
Thanks for any advice or additional information.
Cheers, charlie
|
Back to top
|
|
 |
|