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 Tue 21 Oct 2014, 16:33
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Suggested codelines
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: 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. Very Happy

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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Mon 14 May 2012, 16:16    Post_subject:  

SRF
Thank you.
I uploaded a new version. See here

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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 ...) Very Happy

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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 23 Jun 2013, 09:06    Post_subject:  

Charlie
Now fixed and re-uploaded
See here


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: 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
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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 Smile
Charlie
yaf text.png
 Description   
 Filesize   8.9 KB
 Viewed   416 Time(s)

yaf text.png


Edited_times_total
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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
text.png
 Description   
 Filesize   11.22 KB
 Viewed   377 Time(s)

text.png

Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7831
Location: qld

PostPosted: 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).

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0812s ][ Queries: 13 (0.0055s) ][ GZIP on ]