I would like to collect all the pictures from the various Ubuntu wallpapers together with their appropriate credits/license. I found how to get the packages thanks to this question and I found where to find the copyright info thanks to this one. Apparently the files are installed in /usr/share/backgrounds/
and the filenames seem to always include the author's name.
However I struggle to with the copyright file /usr/share/doc/<package id>/copyright
:
it's a very long file with many filenames and authors sorted by license type, but it contains a lot more than the files I can see in the directory (why?), and at first sight it doesn't contain all the files in the dir (at least when I test with grep
).
Basically I just want to make sure that the proper author and license are matched with the corresponding picture. Any advice how to interpret this file, or another more convenient source where I could find this info?
The copyright file
/usr/share/doc/ubuntu-wallpapers-jammy/copyright
--as you have discovered-- has multiple sections.Each section is a different license or version of a license.
Let's do the wallpapers on a 22.04 (Jammy) system as an example:
Let's focus on the
ubuntu-wallpapers-jammy
package.That's 10 images to track down in the Copyright file.
You probably got this far on your own. Now for the secret sauce: Check the appropriate license section first
All submissions for the 20.04 wallpaper contest are under a CC-BY-SA-4.0 license, and --sure enough-- all contest submissions are in that section.
The section begins on line 160 of the file. The first line of that section is `Files: 80s_Disco_Dingo_Simulation_by_Abubakar_NK.jpg