Symlink Applications

From WebOS Internals
Revision as of 09:22, 13 October 2009 by Jack87 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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).

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