OpenPandora Main OS

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Application
  • Operating System Release 1 (Zaxxon)
  • Severity Low
  • Reported Version Hotfix 5
Attached to Project: OpenPandora Main OS
Opened by mindlord - 10.03.2011

FS#217 - Add Mounting and unmounting context options for PND's

It'll have to be in the SKEL.
/etc/skel/Applications/Settings/Thunar/uca.xml

People can replace the contents of their current uca.xml file with the following to gain this functionality now.
/home/[USERNAME]/Applications/Settings/Thunar/uca.xml

<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
<icon>Terminal</icon>
<name>Open Terminal Here</name>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Example for a custom action</description>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>emblem-symbolic-link</icon>
<name>Mount PND</name>
<command>/usr/pandora/scripts/pnd_run.sh -p %f -m &amp;&amp; thunar /mnt/utmp/</command>
<description></description>
<patterns>*.pnd;*.PND</patterns>
<other-files/>
<text-files/>
</action>
<action>
<icon>gtk-jump-to-rtl</icon>
<name>Unmount PND</name>
<command>/usr/pandora/scripts/pnd_run.sh -p %f -u</command>
<description></description>
<patterns>*.pnd;*.PND</patterns>
<other-files/>
<text-files/>
</action>
</actions>

set3 commented on 10.03.2011 20:20

If you add this, then add :
<action>
<icon>gnome-system</icon>
<name>run</name>
<command>/usr/bin/pnd_run %f</command>
<description>Start the first application in a PND file</description>
<patterns>*.pnd;*.PND</patterns>
<other-files/>
<text-files/>
</action>

I don't understand why this would be needed since the default action is to run the PND.

set3 commented on 10.03.2011 21:18

I've discovered that it's indeed the default action, but does it work for you ? It doesnt for me and I clearly remember some posts on the forum where user complained that starting PND this way didnt worked...

I have HF5 final and and it works without a problem.

i know this is rather old, but i just came across this and i was wondering why it was not included as a "standard feature" with any recent superzaxxon release in the end.
or was it?

"To do"; limited hands :)

Now that we have file-associations more or less working, the plan is to associate .pnd to pnd_run if its not already, which would let you double-click a pnd in xfce/etc to run it; it can get tricky though since there can be multiple executables in a pnd-file; adding other right-click type options (mount, unmount, etc) .. *shrug*

If you have the skilset or want to learn, feel free; we'll take patches :)

jeff

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing