[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Location for user installed plugin libraries and icons



Hi Jon,

Maybe it would be preferable to use the XDG recommendation ?


App configuration, and plugins configuration too:
XDG_CONFIG_HOME:-$HOME/.config/[MyTLD]/[MyApplication]/

User installed plugins resources:
XDG_DATA_HOME:-$HOME/.local/share/[MyTLD]/[MyApplication]/


*where MyTLD is a top-level unique 'domain' that avoids name clashing between apps.

More to read here:
https://www.freedesktop.org/wiki/Specifications/

HTH,
 Benoît
Le 06/05/2021 à 01:36, Jon Gough a écrit :
Hi List,
   I am working on a user driven plugin management process for an application which is installed via a 'deb' file. The application is installed using 'root' privileges, but the plugins need to be installable by the user without root privileges. The plugins will consist of libs, icons, etc. that are used to 'run' the plugin and user updateable config files used to 'control' the plugin.

   If the plugin was installed by a 'deb' file it would put libs and supplied icons in a system area, i.e. /usr or /usr/local, and the updateable config files in a user writeable area, i.e. $HOME/.<application>/. What would be a suitable location for the libs, icons, etc. for the user installed plugin?

Many thanks
Jon



Reply to: