Lubuntu Installer Prompt
This project is in alpha. It may change drastically, or not. It presents a "Try or Install Lubuntu" screen. Eventually we want to extend this to support multiple flavors.
Releases are signed with Simon Quigley's GPG key: 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4
- Everything is GPL-3 by 2022 Lubuntu Developers email@example.com unless stated otherwise.
- img/background.png is licensed CC-BY-4.0, authored by Aaron Rainbolt firstname.lastname@example.org, copyright ownership the same as source
This section serves to explain how lubuntu-installer-prompt's various components work together to provide the Lubuntu ISO boot experience.
- SDDM loads.
- /etc/sddm.conf is read. This file has been generated (or modified?) by Casper to point to a lubuntu-live-environment.desktop X session.
- lubuntu-live-environment.desktop executes /bin/start-lubuntu-live-env.
- start-lubuntu-live-env starts Openbox and backgrounds it.
- start-lubuntu-live-env starts /bin/lubuntu-installer-prompt but does not background it.
- The installer prompt appears.
- The user clicks "Install Lubuntu" or "Try Lubuntu".
- If "Install Lubuntu" is clicked, the installer prompt executes /usr/libexec/lubuntu-installer.sh, which then executes Calamares. The installer prompt then removes the buttons from the screen.
- The installer window appears on the user's screen.
- If Calamares closes, the installer prompt detects this and exits.
- When the installer prompt exits, start-lubuntu-live-env kills Openbox, then runs startlxqt.
- If "Try Lubuntu" is clicked, steps 10 and 11 are executed immediately.
gen_ts.sh script after making any code modifications to ensure that the translations files are up-to-date for translators to work on.
To add a new language to be translated:
- Open the
gen_ts.shscript and add the locale code for the new language to the
- Run the script after doing this - a new template .ts file will be generated under
- Next, add the new template file to the
CMakeLists.txt- it will be named
locale_CODEis the locale code of the added language.
- Finally, add a line in the src/translations.qrc resource file to include the new translation file. The line should look like
<file alias="locale_CODE">lubuntu-installer-prompt_locale_CODE.qm</file>, where
locale_CODEis the locale code of the added language. This line should go inside the
For instance, if I were to add Chinese to the list of languages that could be translated into, I would do this:
vim gen_ts.sh # add this code to the langList array: # 'zh_CN' ./gen_ts.sh vim CMakeLists.txt # add this line to the TS_FILES list: # src/translations/lubuntu-installer-prompt_zh_CN.ts vim src/translations.qrc # add this line to the list of file resources: # <file alias="zh_CN">lubuntu-installer-prompt_zh_CN.qm</file>
The program will now pick up the added language at build time. Any translations added to the newly created .ts file will be shown to program users who select the new language.