I believe we're encouraged to use the Snap application manager method of installing the latest VLC with Ubuntu 20.04. Unfortunately, there's not a great amount of documentation as to how the read-only (RO) Snap mount location works versus the local customization within the user directories.
I'm new to Ubuntu but fairly savvy with Linux, so I've figured it out to a point. For example, I can now make a direct correlation between themes, extensions, and plug-ins to find equivalencies between the user directories and the RO filesystem. For example:
Code: Select all
~/snap/vlc/current/.local/share/vlc/lua/ == /snap/vlc/current/usr/lib/vlc/lua ## Extensions, Interfaces, Playlists, etc.
The above would seem to provide the equivalent path to customizing extensions, etc. I am hoping there is a similar mechanism in place regarding custom libraries.
The read-only (ro) filesystem containing libraries relevant to VLC appears to be in the following locations:
Code: Select all
/snap/vlc/current/usr/lib/ ## Some Libraries (ro)
/snap/vlc/current/usr/lib/vlc/ ## Some Libraries (ro)
/snap/vlc/current/usr/lib/x86_64-linux-gnu/ ## Main Libraries (ro)
Are there equivalent locations in the ~/snap/vlc/current/.local/share/vlc/ directory where one could place an additional or alternate library to supplement the functionality of the application?
To provide a use-case example: I am focusing on Blu-ray disc playback as part of my workflow. As a library critical to Blu-ray playback, a copy of libaacs.so.0.6.0 (with a corresponding symlink of libaacs.so.0 pointing to it) is found in the /snap/vlc/current/usr/lib/x86_64-linux-gnu/ directory. If I want to put a different version of libaacs into service (whether newer, older, or alternate), can I do so and where would I put it?
Again, I imagine that I'd want to put it somewhere within the ~/snap/vlc/current/.local/ directory. Obviously, this user library location would need to have higher priority (i.e. scan first) over the libraries stored in the read-only file system. Assuming I have a valid custom library and it loaded, I would hope it would prevent the copy in the RO filesystem from loading. Again, this is just my speculation on how something like this would work.
Any feedback or direction would be appreciated. Thank you!
- Dave