Package: jdDesktopEntryEdit
jdDesktopEntryEditA graphical Program to create and edit Desktop EntriesjdDesktopEntryEdit allows you to create and edit Desktop Entries according to the Freedesktop Specification.Unlike other Programs, which try to make things easy by implementing only the main parts, the Goal of jdDesktopEntryEdit is to support the full specification.InstallFlatpakYou can get jdDesktopEntryEdit fromFlathubAURArch Users can get jdDesktopEntryEdit from theAURSourceForgeYou can get Windows and AppImage Builds fromSourceForgepipYou can install jdDesktopEntryEdit fromPyPIusingpip:pipinstalljdDesktopEntryEditUsing this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdDesktopEntryEdit from the Command Line.
Use this only, when nothing else works.From sourceThis is only for experienced Users and someone, who wants to package jdDesktopEntryEdit for a Distro.
jdDesktopEntryEdit should be installed as a Python package.
You can usepipor any other tool that can handle Python packages.
YOu need to havelreleaseinstalled to build the Package.
After that, you should runinstall-unix-datafiles.pywhich wil install things like the Desktop Entry or the Icon in the correct place.
It defaults to/usr, but you can change it with the--prefixargument.
It also applies the translation to this files.
You need gettext installed to runinstall-unix-datafiles.py.Here's a example of installing jdDesktopEntryEdit into/usr/local:sudopipinstall--prefix/usr/local.
sudo./install-unix-datafiles.py--prefix/usr/localTranslateYou can help translating jdDesktopEntryEdit onCodeberg TranslateDevelopjdDesktopEntryEdit is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can runjdDesktopEntryEdit.pyto start jdDesktopEntryEdit from source and test your local changes.
It ships with a few scripts in the tools directory that you need to develop.CompileUI.pyThis is the most important script. It will take all.uifiles injdDesktopEntryEdit/uiand compiles it to a Python class
and stores it injdDesktopEntryEdit/ui_compiled. Without running this script first, you can't start jdDesktopEntryEdit.
You need to rerun it every time you changed or added a.uifile.BuildTranslations.pyThis script takes all.tsfiles and compiles it to.qmfiles.
The.tsfiles are containing the translation source and are being used during the translation process.
The.qmcontains the compiled translation and are being used by the Program.
You need to compile a.tsfile to a.qmfile to see the translations in the Program.UpdateTranslations.pyThis regenerates the.tsfiles. You need to run it, when you changed something in the source code.
The.tsfiles are contains the line in the source, where the string to translate appears,
so make sure you run it even when you don't changed a translatable string, so the location is correct.UpdateUnixDataTranslations.pyThis regenerates the translation files indeploy/translations. these files contains the translations for the Desktop Entry and the AppStream File.
It uses gettext, as it is hard to translate this using Qt.
These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file.
Make sure you run this when you edited one of these files.
You need to have gettext installed to use it.UpdateTranslators.pyThis uses git to get a list of all Translators and writes it tojdDesktopEntryEdit/data/translators.json.
This is used to display the translators in the About Dialog.
You need git to run this script.WriteChangelogHtml.pyThis read the Changelog fromdeploy/page.codeberg.JakobDev.jdDesktopEntryEdit.metainfo.xml, converts it to HTML and writes it tojdDesktopEntryEdit/data/changelog.html.
This is used to display the Changelog in the About Dialog.
You needappstream-pythonto be installed to use this script.