Pleng
Well-Known Member
- Joined
- Dec 28, 2006
- Messages
- 3,030
OK SO I've created two folders in my 'menu' directory, one called CPUSpeeds and one called MPlayer.
In CPUSpeeds there are a bunch of bash scripts and the following PXML.xml file:
And in the Mplayer directory is a single bash script and the following PXML.xml
Now, I was expecting the CPU Speeds to appear in the System menu, and also create a new menu called CPU Speeds. As it happens, the items appear in "Accessories" and "Network"!!!
I was expecting Media Player to appear in the Game menu (I previously tried it with the category Multimedia, but it didn't show up anywhere) but it also showed up in Accessories and Network!!!
Worse still, none of the links actually work. When I click them, the SD access light flickers, but the cpu speeds don't change, and media player doesn't run. If I run the scrips directly from the directory they are stored in (the card is formatted in Fat32 so can't store permissions) they run perfectly.
I have tried the PXMLs both with and without the leading ./ in the command parameter.
What am I doing wrongs?
In CPUSpeeds there are a bunch of bash scripts and the following PXML.xml file:
Code:
<PXML xmlns="http://openpandora.org/namespaces/PXML">
<application id="pleng_cpu_500">
<title lang="en_US">Set CPU: 500Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 500MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./500.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
<application id="pleng_cpu_600">
<title lang="en_US">Set CPU: 600Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 600MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./600.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
<application id="pleng_cpu_700">
<title lang="en_US">Set CPU: 700Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 700MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./700.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
<application id="pleng_cpu_750">
<title lang="en_US">Set CPU: 750Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 750MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./750.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
<application id="pleng_cpu_800">
<title lang="en_US">Set CPU: 800Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 800MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./800.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
<application id="pleng_cpu_870">
<title lang="en_US">Set CPU: 870Mhz</title>
<description lang="en_US">
Set the CPU speed of your Pandora to 870MMhz
</description>
<exec background="false" startdir="/" standalone="true" command="./870.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="System">
</category>
<category name="CPU">
</category>
</application>
</PXML>
And in the Mplayer directory is a single bash script and the following PXML.xml
Code:
<PXML xmlns="http://openpandora.org/namespaces/PXML">
<application id="pleng_mplayer">
<title lang="en_US">Media Player</title>
<description lang="en_US">
Gnome's Media Player
</description>
<exec background="false" startdir="/" standalone="true" command="./mplayer.sh"/>
<version major="1" minor="1" release="1" build="1"/>
<category name="Game">
</category>
</application>
</PXML>
Now, I was expecting the CPU Speeds to appear in the System menu, and also create a new menu called CPU Speeds. As it happens, the items appear in "Accessories" and "Network"!!!
I was expecting Media Player to appear in the Game menu (I previously tried it with the category Multimedia, but it didn't show up anywhere) but it also showed up in Accessories and Network!!!
Worse still, none of the links actually work. When I click them, the SD access light flickers, but the cpu speeds don't change, and media player doesn't run. If I run the scrips directly from the directory they are stored in (the card is formatted in Fat32 so can't store permissions) they run perfectly.
I have tried the PXMLs both with and without the leading ./ in the command parameter.
What am I doing wrongs?