| Author |
Message |
NETTKNUT

Joined: 27 Oct 2011 Posts: 54 Location: Wales
|
Posted: Wed 18 Jan 2012, 07:35 Post subject:
Slacko 5.3 desktop icons lost their captios Subject description: Missing text |
|
a few weeks I posted a request for help as the text was missing from my icons when I booted up. I got one reply instructing me to run help/ desktop/ desktop item manager / Desksetup Templates for Desk Icon. I clicked on Traditional but the text did not come back. Clicking Slacko also failed to get the missing captions back. As I am a Puppy newbie I am lost as to what to do next. Any help would be most welcome.
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sun 22 Jan 2012, 18:31 Post subject:
|
|
We will both wait for some kind soul to come along and solve this .
If you run 5.3 Slacko In the meantime do not go into Menu>Desktop>JWMConfiguration>Application Launch Buttons In Tray,
there is a bug there somewhere and you loose your tray open windows altogether and everything compresses to the left of the tray , you have to restore from the old or copy the old file across yourself
_________________ Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Last edited by tytower on Wed 25 Jan 2012, 16:21; edited 1 time in total
|
|
Back to top
|
|
 |
Jasper

Joined: 25 Apr 2010 Posts: 870 Location: England
|
Posted: Sun 22 Jan 2012, 19:02 Post subject:
|
|
Hi,
Does it work if you right click on an icon, then left click on Edit - and then type the text you want in the text box?
Even if it works - it's a bit of pain to fix many icons that way - but it's all I can suggest.
My regards
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2682 Location: Kiel,Germany
|
Posted: Sun 22 Jan 2012, 23:58 Post subject:
|
|
Never had this ,
but it seems that the label for the icon is listed in /root/Choices/ROX-Filer/PuppyPin
A line there looks like this :
<icon x="32" y="64" label="Home">/root</icon>
The line contains icon placement x= y= ; caption label= ; rule= /root
If the icon gets changed by dragging one icon
into the Change Symbol box the file
/root/.config/rox.sourceforge.net/ROX-Filer/globicons
would contain a line for it <rule match="/root"><icon>/path/to/icon.ext</icon></rule>
It seems some buggy code might not have grep the label
OR sed ed it out of this configuration file .
/etc/rc.d/rc.update does this
and my old code from Puppy 4 might reveal some cut fields just for the x an y variables
like
ONEEXEC="`echo -n "$ONELINE" | cut -f 2 -d '>' | cut -f 1 -d '<'`"
ONEX=`echo -n "$ONELINE" | cut -f 1 -d '>' | cut -f 2 -d '"'` #'geany
ONEY=`echo -n "$ONELINE" | cut -f 1 -d '>' | cut -f 4 -d '"'` #'geany
ONEXY0="${ONEX}_${ONEY}"
ONEXY="${ONEX}_${ONEY}"
which would need something like
ONELABEL=`echo "$ONELINE" | cut -f 1 -d '>' | tr -s ' ' | cut -f 5 -d ' '`
probably
but for now i can see it does only change the xy vars .
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: Wed 25 Jan 2012, 04:32 Post subject:
|
|
Try this:
Find this file
/root/choices/rox-filer/PuppyPin
right click and open as text
Should be info for desktop icons.
If does not look Ok could replace with same file from Puppy live CD.
_________________ I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
|
|
Back to top
|
|
 |
NETTKNUT

Joined: 27 Oct 2011 Posts: 54 Location: Wales
|
Posted: Thu 26 Jan 2012, 07:28 Post subject:
Slacko 5.3 desktop icons lost their captios Subject description: Missing text |
|
I have had few replies, thanks, but little progress to report. In particular from Jasper; I tried your suggestion but it did not work. From Karl Godt; I looked at the files you suggested for errors but as a newbie they were too much for me to follow. To bigpup; this looks like a good line to follow but I need some help. Please let me know how I copy the file PuppyPin from my live CD to Seamonkey on my hard disc. Then we'll see how we go from there.
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Tue 21 Feb 2012, 10:11 Post subject:
|
|
I have a similar problem. Hope you don't mind if I add a post with the info from my machine...
Bigpup, here is the contents of my puppypin file you suggested to look at:
<?xml version="1.0"?>
<pinboard>
<backdrop style="Stretched">/usr/share/backgrounds/default.jpg</backdrop>
<icon x="368" y="48" label="skype">/root/my-applications/bin/skype_static-2.2.0.35/skype</icon>
<icon x="992" y="128" label="zip">/usr/local/apps/PupZip</icon>
<icon x="992" y="224" label="trash">/usr/local/apps/Trash</icon>
<icon x="992" y="32" label="lock">/usr/local/apps/Xlock</icon>
<icon x="160" y="128" label="paint">/usr/local/bin/defaultpaint</icon>
<icon x="160" y="224" label="chat">/usr/local/bin/defaultchat</icon>
<icon x="160" y="32" label="install">/usr/sbin/dotpup</icon>
<icon x="224" y="128" label="draw">/usr/local/bin/defaultdraw</icon>
<icon x="224" y="224" label="plan">/usr/local/bin/defaultcalendar</icon>
<icon x="224" y="32" label="edit">/usr/local/bin/defaulttexteditor</icon>
<icon x="288" y="128" label="play">/usr/local/bin/defaultmediaplayer</icon>
<icon x="288" y="224" label="connect">/usr/local/apps/Connect</icon>
<icon x="288" y="32" label="console">/usr/bin/urxvt</icon>
<icon x="32" y="128" label="write">/usr/local/bin/defaultwordprocessor</icon>
<icon x="48" y="224" label="browse">/usr/local/bin/defaultbrowser</icon>
<icon x="32" y="32" label="file">/usr/local/bin/rox</icon>
<icon x="32" y="320" label="slickpet">/usr/sbin/quickpet</icon>
<icon x="96" y="128" label="calc">/usr/local/bin/defaultspreadsheet</icon>
<icon x="96" y="224" label="email">/usr/local/bin/defaultemail</icon>
<icon x="96" y="32" label="help">/usr/sbin/puppyhelp</icon>
<icon x="96" y="320" label="setup">/usr/sbin/wizardwizard</icon>
<icon x="32" y="704" label="sda1" args="drive ext2">/root/.pup_event/drive_sda1</icon>
<icon x="112" y="704" label="sda2" args="drive ext2">/root/.pup_event/drive_sda2</icon>
</pinboard>
It all looks good to me, yet my icons have no captions.
(I have some idea how I got into this predicament - I loaded a .pet to install Libreoffice, and then a JRE that Libreoffice needed. However I have no idea how to back out the changes)
NETTKNUT - do you have any idea what might have triggered this problem on your machine? Any installs of other software preceeding the problem?
 |
| Description |
|

Download |
| Filename |
jre pet broke slacko icons.jpg |
| Filesize |
46.74 KB |
| Downloaded |
108 Time(s) |
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2052 Location: World_Hub
|
Posted: Fri 24 Feb 2012, 08:56 Post subject:
|
|
Your pet.. the <not ready for prime-time> jre-1.7? Does the condition persist with both sfs files unloaded? Frugal, yes?
|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 637
|
Posted: Fri 24 Feb 2012, 13:49 Post subject:
|
|
Perhaps the captions are not missing; perhaps they are just black.
What is the output of the following command?
| Code: | | grep pinboard_fg_colour /root/.config/rox.sourceforge.net/ROX-Filer/Options |
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Fri 24 Feb 2012, 17:56 Post subject:
|
|
Thanks for replying guys..
npierce -
the output of that command is
<Option name=”pinboard_fg_colour”>#000000000000</Option>
semme -
yes, the install is frugal. The jre and Libreoffice I used came from here:
http://www.revolutionvoice.com/dl.html
(This is the webpage for the creator of ISpup release.)
The jre file has the name jre-6u26-1-i386.pet
I was not 100% sure what you meant by “both sfs files unloaded”. I only have one sfs (puppy_slacko_5.3.sfs). I also have a 2fs file (slackosave.2fs) which I have now renamed as slackosave.2fs.ICONBAD so that it does not load. When I do this the icon captions are back to normal (but of course I have lost my country setup, printer setup, extra programs etc)
Does this mean I should just start from the beginning and make a new savefile and discard the old one?
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Fri 24 Feb 2012, 18:12 Post subject:
|
|
..also...anyone who stumbles across this topic may also want to keep an eye on nettknuts other similar post:
http://murga-linux.com/puppy/viewtopic.php?p=607036#607036
Hopefully we can work out what has caused this. Sounds like an issue with Libreoffice or the jre that it uses.
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2052 Location: World_Hub
|
Posted: Fri 24 Feb 2012, 18:31 Post subject:
|
|
So those two pkgs are installed? Why wouldn't you have used the ones available in Slickpet?
Running frugal means you not only keep a copy or two to test'n make adjustments, but keep your change increments small so when you've went too far'n borked the system, you haven't lost much ground should you need to revert.. Ya know, if you're new to Pup and frugals then there's sort of a learning curve for this style of operation. Once situated though.. it's hard to beat.
Last edited by Semme on Fri 24 Feb 2012, 18:51; edited 1 time in total
|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 637
|
Posted: Fri 24 Feb 2012, 18:51 Post subject:
|
|
#000000000000 is black.
1. Right-click on any desktop icon.
2. Choose ROX-Filer -> Options
3. In list in Options window click Pinboard
4. Click in the box labeled Foreground
5. Change Color Name to white
6. Click OK
[Edited to correct BBCode [/b].]
Last edited by npierce on Fri 24 Feb 2012, 19:02; edited 1 time in total
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2052 Location: World_Hub
|
Posted: Fri 24 Feb 2012, 18:57 Post subject:
|
|
Well, is it the text color?
|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 637
|
Posted: Fri 24 Feb 2012, 19:46 Post subject:
|
|
Oh, naughty, naughty .pet.
jre-6u26-1-i386.pet from http://www.revolutionvoice.com/
contains about four dozen ROX-Filer configuration files in the /root/.config/rox.sourceforge.net/ directory. So many of your own configuration files are overwritten, including /root/.config/rox.sourceforge.net/ROX-Filer/Options, which contains the offending line:
<Option name="pinboard_fg_colour">#000000000000</Option>
No doubt the person who created the .pet did not have a black desktop.
You should report this to the place were you got it. The author may not be aware of this, and would want to fix it.
| Semme wrote: | | Well, is it the text color? |
Yes, pinboard_fg_colour is the foreground colour of the icon captions, which in this case is 0 (black) and so matches the desktop background.
|
|
Back to top
|
|
 |
|