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 30 Sep 2014, 08:02
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
PupClockset-2.3
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 5 [65 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Wed 18 May 2011, 12:35    Post subject:
Subject description: PupClockset-1.3.1
 

Version 1.3.1. See main post.
-Improved detection of unsupported clocks.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Wed 18 May 2011, 13:14    Post subject: gtk style change  

Dear radky,

The prog is very nice except for one little thing: you change the gtk theme on the fly - which I find pretty ugly, unnecessary and, most importantly, unacceptable for new users since the restore does not work properly if you exit via the window manager's (icewm) close button - it leaves the wrong theme and font in the gtkrc file. I noted this "feature" in the last version but just commented out the "if" lines that did that. I just did that again after installing the new version. Newbie users will not understand what happend to their theme settings after running the program and will not know the niceties of gtk widgets and their settings files. Can't you get rid of that theme-changing business?

With kind regards,
vovchik
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Wed 18 May 2011, 20:07    Post subject: Re: gtk style change  

vovchik wrote:
The prog is very nice except for one little thing: you change the gtk theme on the fly - which I find pretty ugly, unnecessary and, most importantly, unacceptable for new users since the restore does not work properly if you exit via the window manager's (icewm) close button - it leaves the wrong theme and font in the gtkrc file. I noted this "feature" in the last version but just commented out the "if" lines that did that. I just did that again after installing the new version. Newbie users will not understand what happend to their theme settings after running the program and will not know the niceties of gtk widgets and their settings files. Can't you get rid of that theme-changing business?

Dear vovchik,

I have tested PupClockset in most derivatives of Puppy 4 and 5, but not in older derivatives of Puppy 2 or 3. Concerning the code in question, PupClockset-1.3.1 checks for the existence of $HOME/.gtkrc-2.0 and, if absent, will create a standard gtkrc-2.0 file from PupClockset's "gtkrc-2.0-restore file" - which includes the basic Gradient-grey gtk theme. This code is "not" applied unless the native $HOME/.gtkrc-2.0 file is absent or if the reference to the user “font_name” has been omitted from the gtkrc-2.0 file (both scenarios are rare, but were evident in a couple of Puppy derivatives released last year).

Other than the rare first-run scenario described above, PupClockset “does not” make on-the-fly changes to the user-selected gtk theme or font family. Specifically, there is no change to the gtk theme, gtk-font name, gtk-font size or user-font name. Importantly, the user's choice of gtk theme and font family are preserved. However, the code in question does make on-the-fly changes to the user-font "size" in $HOME/.gtkrc-2.0, converting either [font_name = “Sans 10”] or [font_name = “Sans 11”] to [font_name = “Sans 12”]. The user-font size is changed to a standard "12" in PupClockset-1.3.1 to provide some consistency in the GUI display for different Puppy derivatives. For the typical user, this is the only change that PupClockset makes to $HOME/.gtkrc-2.0. Even so, I agree, this change in font size is not necessary for the function of PupClockset, and I will release version 1.4 without the user-font compatibility code.

Thank you for your thoughts.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 19 May 2011, 02:08    Post subject: gtk theme  

Dear radky,

Thanks for taking up the little problem. In my case, when exiting via window close (Lucid 520), I lost a number of gtk vars, which then had an effect on my icon theme and on all QT4 progs. Recent versions of QT4, when operating with the GTK engine, examine .gtkrc-2.0 for the theme/icon variables. If not found, Clearview or something like that is used. This is mine:

Code:
include "/usr/share/themes/MacOS-X/gtk-2.0/gtkrc"
gtk-theme-name="MacOS-X"
gtk-icon-theme-name="Mac4Lin_Icons_v1.0"
gtk-font-name="DejaVu Sans 13"
gtk-toolbar-style=2


I keep most other GTK settings in .gtkrc-2.0.mine, fortunately, but QT4 stubbornly refuses to read that file, so I need that info in .gtkrc-2.0. I remember that Zigbert once did something similar with his stopwatch script and I also, for a bit, lost my theme and other settings.

Apart from this gtk thing, the clock setting part is brilliant and saves people from examining man pages, so thanks.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Thu 19 May 2011, 13:37    Post subject:
Subject description: PupClockset-1.4
 

Version 1.4. See main post.
1 - Removed nonessential user-font compatibility code. (thank you vovchik)
2 - Enhanced launch wrapper to allow automatic recovery from aborted PupClockset sessions.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sat 11 Jun 2011, 08:32    Post subject:
Subject description: PupClockset-1.5
 

Version 1.5. See main post.
1 - Added full support for the Tint2 panel clock.
2 - Improved HTML code in Help file.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Thu 23 Jun 2011, 10:25    Post subject:
Subject description: PupClockset-1.5.3
 

Version 1.5.3 See main post.
1 - Added support for LXPanel in 64-bit derivatives (Fatdog64 and Lighthouse64). Thank you tazoc.
2 - Added support for the Yad and Zenity font-color selectors. Support continues for the limited Xdialog color selector.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sat 25 Jun 2011, 22:37    Post subject:
Subject description: PupClockset-1.5.4
 

1 - When first installed, PupClockset now autodetects current 64-bit Puppy derivatives.
This will assure the correct version of the rgb2hex utility is installed for the Xdialog font-color selector. Thank you Billtoo.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 26 Jun 2011, 04:15    Post subject:  

Downloaded latest supposedly a .pet according to link, but it downloads as a .gz?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sun 26 Jun 2011, 09:11    Post subject:  

DaveS wrote:
Downloaded latest supposedly a .pet according to link, but it downloads as a .gz?


Hi DaveS,

I've tested the download again and, for me, it was in .pet format which installed properly. Maybe your initial download was corrupt? Smile

Please let me know if the problem persists.

Thanks,
radky
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 26 Jun 2011, 10:36    Post subject:  

Downloaded as pet. I will now test your modifying script for woof build also.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 26 Jun 2011, 17:01    Post subject:  

Odd.... still get this:
clocksetgz.png
 Description   
 Filesize   24.5 KB
 Viewed   1015 Time(s)

clocksetgz.png


_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 26 Jun 2011, 17:03    Post subject:  

I made woof build using your latest PupClock. I think that your pinstall.sh script worked ok.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sun 26 Jun 2011, 18:47    Post subject:  

DaveS wrote:
Odd.... still get this:

Hi DaveS,
What happens when you download other .pet files -- from Smokey's site or from other hosts, or if you use a different download manager?

pemasu wrote:
I made woof build using your latest PupClock. I think that your pinstall.sh script worked ok.

Thanks pemasu. That's good news. Smile
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Mon 27 Jun 2011, 01:38    Post subject:  

radky wrote:
DaveS wrote:
Odd.... still get this:

Hi DaveS,
What happens when you download other .pet files -- from Smokey's site or from other hosts, or if you use a different download manager?


OK, its Opera that changes the extension. Firefox downloads it as a .pet. Seems to happen only with this site though, other .pets from other sources download unchanged. Depressing Opera should do this.
Just re-naming the file to *.pet fixes it though.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 5 [65 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0890s ][ Queries: 13 (0.0151s) ][ GZIP on ]