calamares/src/libcalamares
Jakob Petsovits 37179801eb [libcalamares] Block sleep with systemd/CK login manager if present
Calamares running as root is not always conducive to successfully
communicating with the fd.o PowerManagement interface on the user
session bus.

The login manager interface has long provided a similarly capable
sleep inhibition functionality, which at this point would be present
on the vast majority of distributions. Use it if systemd-logind
or ConsoleKit2 have registered this service on the system bus.
Regardless of running as root or user, Calamares shouldn't have
an issue contacting this interface.

Fixes #2384
2024-12-07 12:39:24 -05:00
..
compat [libcalamares] Deal with deprecations in QComboBox 2024-12-02 22:58:04 +01:00
geoip [libcalamares] Deal with deprecations in XML QDomDocument 2024-12-02 22:57:49 +01:00
locale [libcalamares] Repair tests that use deprecated QLocale functions 2024-12-02 22:57:49 +01:00
modulesystem [libcalamares] Massage size types to avoid conversion warning 2024-04-28 17:01:07 +02:00
network [libcalamares] Make symbols visible as needed 2024-02-20 00:44:48 +01:00
packages C++: prefer std::as_const over Qt solution 2024-12-02 13:15:42 +01:00
partition [libcalamares] Don't write out pragmas by hand, use Qt helpers 2024-10-22 21:24:23 +02:00
python [libcalamares] repair boost / pybind split 2024-02-24 13:27:44 +01:00
testdata [libcalamares] Add nested (dotted) key lookup for GS 2024-11-05 14:50:20 +01:00
utils [libcalamares] re-add Runner to the public API 2024-11-05 15:53:24 +01:00
CalamaresAbout.cpp [libcalamares] Simplify collecting the maintainers info 2024-04-28 17:38:35 +02:00
CalamaresAbout.h [welcome] Use generated about string 2022-05-23 16:57:51 +02:00
CalamaresConfig.h.in [calamares] Add python integration type and build type to log 2024-03-02 14:52:16 -06:00
CalamaresVersion.h.in [libcalamares] Remove translation-languages define 2022-07-02 17:42:02 +02:00
CalamaresVersionX.h.in Changes: pre-release housekeeping 2022-06-26 23:49:14 +02:00
CMakeLists.txt [libcalamares] Split out file-mode parsing to a separate function 2024-09-11 18:01:26 +02:00
CppJob.cpp REUSE: Giant boilerplate cleanup 2020-08-26 02:28:38 +02:00
CppJob.h Warnings-- (~T() override) 2020-09-22 22:40:52 +02:00
DllMacro.h [libcalamares] Apply newer clang-formatting 2024-04-17 10:50:38 +02:00
GlobalStorage.cpp [libcalamares] Add nested (dotted) key lookup for GS 2024-11-05 14:50:20 +01:00
GlobalStorage.h [libcalamares] Add nested (dotted) key lookup for GS 2024-11-05 14:50:20 +01:00
Job.cpp REUSE: Giant boilerplate cleanup 2020-08-26 02:28:38 +02:00
Job.h [libcalamares] Repair apidox for Job 2024-04-16 15:41:12 +02:00
JobExample.cpp REUSE: Giant boilerplate cleanup 2020-08-26 02:28:38 +02:00
JobExample.h Add Q_OBJECT macro where it's missing 2021-09-08 13:23:20 +02:00
JobQueue.cpp [libcalamares] Block sleep with systemd/CK login manager if present 2024-12-07 12:39:24 -05:00
JobQueue.h [libcalamares] Suppress sleep / suspend during installation 2024-04-16 15:07:58 +02:00
ProcessJob.cpp [libcalamares] Run ProcessJobs with CommandLine 2024-02-25 23:22:19 +01:00
ProcessJob.h [libcalamares] Make symbols visible as needed 2024-02-20 00:44:48 +01:00
PythonHelper.cpp [libcalamares*] Prefer < comparisons in Qt version 2024-02-04 22:06:55 +01:00
PythonHelper.h [libcalamares] repair visibility also for Boost::Python modules 2024-02-24 12:45:20 +01:00
PythonJob.cpp [libcalamares] repair boost / pybind split 2024-02-24 13:27:44 +01:00
PythonJob.h [libcalamares] repair boost / pybind split 2024-02-24 13:27:44 +01:00
PythonJobApi.cpp CI: apply style tool across the entire codebase 2023-10-17 22:24:46 +02:00
PythonJobApi.h CI: apply coding style (clang-format 13) 2022-06-27 00:37:15 +02:00
Settings.cpp C++: prefer std::as_const over Qt solution 2024-12-02 13:15:42 +01:00
Settings.h libcalamares: add accessor for settings path 2023-11-07 00:53:10 +01:00
Tests.cpp [libcalamares] Make other tests more resilient 2024-11-05 15:53:00 +01:00