Comment 1 for bug 1521292

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

As for '3':

"Stop using a "dot" directory for $XDG_DATA_HOME. Click apps can't access the usual user-visible folders, so please make the accessible folders less invisible"

Ubuntu Core is using ~/apps/apppkgname.devname/... and Ubuntu Personal will some day too. Perhaps it makes sense to change XDG_DATA_HOME as is suggested? I imagine to ease upgrades we would need to adjust the click desktop hook to create a symlink from ~/apps/apppkgname.devname to ~/.local/share/apppkgname.devname. This would not require a change to the security policy since symlinks are resolved and wouldn't require moving user data. Perhaps MTP could be adjusted to export ~/apps as well?

Perhaps the future storage framework will handle this in another way, but the above could be helpful (perhaps even in this new storage framework world).