Symlink Applications

From WebOS Internals

Revision as of 08:22, 13 October 2009 by Jack87 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

It is possible to place applications in alternate locations (eg /media/internal) and symlink them to the appropriate application folder (eg /usr/palm/applications or /var/usr/palm/applications).

Contents

symlink creation from the command-line

ln -s [application directory] [symbolic link to directory]

For example:

ln -s /media/internal/apps/com.pregame.app.flashlight/ /var/usr/palm/applications/com.pregame.app.flashlight

symlink deletion from the command-line

rm [link]

For example:

rm /var/usr/palm/applications/com.pregame.app.flashlight

This will only delete the link, not the symlinked files.

Notes

An app with an internal symlink will not be able to be stored in /media/internal at this time, since it is a vfat filesystem.

Alternatively

The same effect can be had by modifying /etc/palm/luna.conf by appending the **ApplicationPath** with the new location.

For example:

ApplicationPath=/usr/lib/luna/applications:/var/luna/applications:/var/usr/lib/luna/applications:/usr/palm/applications:/var/usr/palm/applications:/media/internal/apps

Credit

Sushi, Jack87

Personal tools
Google AdSense