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 18 Dec 2018, 23:32
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Where are the shared icons located?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [65 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
TwoPuppies


Joined: 29 Dec 2010
Posts: 72
Location: Melbourne, Australia

PostPosted: Sat 15 Sep 2018, 01:59    Post subject: gtkrefresh for Xenial  

Mike Walsh wrote:
When you say 'a newer version of gtkrefresh', are you talking about a specific binary, or something similar? ...Or are we here talking about a specific script, perhaps?

Here is what I know about gtkrefresh:

The version in Lucid is a binary file, and is located at /usr/bin/gtkrefresh
No equivalent version exists in Slacko or Xenial (or presumably any other recent Puppies).
(Not to be confused with gtk-refresh, which is just a GTK stock icon.)

Its uses include the following:
If you put these three lines in a script...
Code:
sed -i '2d' /root/.gtkrc-2.0
sed -i '2i\include "/usr/share/themes/Clearlooks-Smoke/gtk-2.0/gtkrc"\' /root/.gtkrc-2.0
exec /usr/bin/gtkrefresh &

The first two lines will select the GTK Clearlooks theme "Clearlooks-Smoke", and then the third line (using gtkrefresh) will apply the theme.
In other words, line 3 has the same effect as pressing the OK or Apply buttons in Chtheme (the GTK Theme Chooser interface), but with the added advantage that it can be called from a script.

gtkrefresh is provided earlier in this thread by Mark (forum member MU). So I guess he is really the person to whom we should be talking. I have no idea if Mark is still active on the Forum. Sometimes people just seem to vanish. I am assuming that Mark created gtkrefresh, although I might be wrong about that. He provides some details about it in this post a couple of pages back. There is a download link for it here, so you can download it and have a look at it. He also provides a link to another thread where the source code for gtkrefresh can be accessed.

As I said in my first post, Mark's version of gtkrefresh does not work in Xenial, and what I am after is an up-to-date version of his binary file that is compatible with more recent Puppies (such as Xenial). If Mark did make the original we might be able to prevail on him to make us a new one.

_________________
What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.


Last edited by TwoPuppies on Sun 16 Sep 2018, 05:38; edited 2 times in total
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2855
Location: 500 seconds from Sol

PostPosted: Sat 15 Sep 2018, 14:58    Post subject:  

Unfortunately, gtkrefresh is a compiled binary. Unlike a bash-script, you can't just change it or re-write it using whatever version of bash is currently installed on your operating system. You have to compile it; and to do so you have to obtain the source file and know what compiling instructions are needed.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4471
Location: King's Lynn, UK.

PostPosted: Sat 15 Sep 2018, 16:28    Post subject:  

Mm.....

Y'know, I have a sneaking suspicion, looking at it, that that source code might have been written with Puppy 2/3/4 in mind. I wouldn't even want to hazard a guess as to whether a modern gcc, compiler, bin-utils, etc, could even do anything with it, since Puppy's code has changed quite a lot since those early days.

Added to which fact Mark Ulrich hasn't been seen on the forum in years. He's still in the Members list - but all his content and other references have been wiped, so there is no way of contacting him (unless you happened to have a current e-mail addy, and were keeping in regular contact with him).

Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
TwoPuppies


Joined: 29 Dec 2010
Posts: 72
Location: Melbourne, Australia

PostPosted: Sat 15 Sep 2018, 18:32    Post subject: gtkrefresh for Xenial  

That's a shame. Anyway, at least you have given me a definitive answer. Thanks to both of you for your replies.
_________________
What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.

Back to top
View user's profile Send private message 
TwoPuppies


Joined: 29 Dec 2010
Posts: 72
Location: Melbourne, Australia

PostPosted: Tue 09 Oct 2018, 02:37    Post subject: gtkrefresh for Xenial  

OK, well after a great deal of searching it turns out that there is a more up-to-date version of gtkrefresh that works in Xenial. It's called pGtk-theme-refresh-1.1 and is provided by forum member Trio.

Here's the forum thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=811270

Download the PET:
pGtk-theme-refresh-1.1.pet
Description  /usr/bin/pGtkthemerefresh
pet

 Download 
Filename  pGtk-theme-refresh-1.1.pet 
Filesize  3.62 KB 
Downloaded  16 Time(s) 

_________________
What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [65 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0926s ][ Queries: 13 (0.0250s) ][ GZIP on ]