I have a laptop with Ubuntu 24.04 LTS installed and I'm trying to replace the default Rhythmbox (version 3.4.7) with the latest version (3.4.8, not available before long in the official PPA according to the information I found on the internet). I don't want to use Flatpak for now and I'm also interested in learning "how the sausage is made" for once.
I've successfully followed the install procedure from the Rhythmbox GitLab. I can now launch Rhythmbox from the install directory with the commands:
$ export GSETTINGS_SCHEMA_DIR=$PWD/_install/share/glib-2.0/schemas
$ _install/bin/rhythmbox
My question is: What would be the correct way forward to turn this into a standard-behaving app? Basically, I want it to behave like the default version of Rhythmbox, with a launcher and such.
My (uneducated) guess would be:
- Move the compilation result to the default app location (something like
usr/bin) - Make a launching script (see two lines above)
- Create a launcher with a shortcut (something like this)
What would be the correct way to do this?