Lost icons

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
johnw158
Posts: 4
Joined: Fri Sep 23, 2011 10:29 pm

Lost icons

Post by johnw158 »

I am fairly new at this and have tried to set the BBCiplayer on my Joggler, however I must of done something wrong and have now lost all my icons. Can anyone suggest a route to get them back?
spoyser
Posts: 134
Joined: Mon Mar 07, 2011 6:45 pm

Re: Lost icons

Post by spoyser »

Can you post the output of

cat /media/appshop/applications.xml

And I'll see what is wrong in it.

To get you icons back assuming you followed the installation steps and created a backup you can just do this:

cd media/appshop
applications.original mv applications.xml

Hope that helps.
johnw158
Posts: 4
Joined: Fri Sep 23, 2011 10:29 pm

Re: Lost icons

Post by johnw158 »

Hi

The output file is


<?xml version="1.0" encoding="utf-8"?>
<applications>
<app id="267" title="Google Calendar" loc="/media/appshop/267/" icon="icon.swf"
app="main.swf"/>
<app id="271" title="YouTube" loc="/media/appshop/271/" icon="icon.swf" app="ma
in.swf"/>
<app id="268" title="Google Maps" loc="/media/appshop/268/" icon="icon.swf" app
="main.swf"/>
<app id="250" title="Weather" loc="/media/appshop/250/" icon="icon.swf" app="ma
in.swf"/>
<<<d="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.s
wf"/>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="mai
n.swf"/>


<<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="ma
in.swf"//applications/>
User avatar
offbeatdave
Posts: 1045
Joined: Wed Mar 09, 2011 10:43 pm

Re: Lost icons

Post by offbeatdave »

Change...

<<<d="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>


<<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="ma
in.swf"//applications/>

...to...

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
johnw158
Posts: 4
Joined: Fri Sep 23, 2011 10:29 pm

Re: Lost icons

Post by johnw158 »

hi

can you just explain how I edit the script to make that change or do I just telnet in and type

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>

thanks
spoyser
Posts: 134
Joined: Mon Mar 07, 2011 6:45 pm

Re: Lost icons

Post by spoyser »

1) telnet in
2) cd media/appshop
3) vi applications.xml
4) hit i to go into insert mode
5) scroll all the way to the last line using arrow down, and then to the end of line using "End" key
6) delete line using backspace
7) arrow up and "End" and delete that line
8) continue deleting lines but stop before this line:

<app id="250" title="Weather" loc="/media/appshop/250/" icon="icon.swf" app="ma
in.swf"/>

9) enter these 2 lines

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>

10) Hit ESC followed by :x return (save and exit)

11) killall tango

12) Voila! (hopefully!)
johnw158
Posts: 4
Joined: Fri Sep 23, 2011 10:29 pm

Re: Lost icons

Post by johnw158 »

worked great - fantatsic - thank you - just watched the football
Post Reply