Sunderland93
4bf1b0fa7e
Add River and Hyprland to desktop list
2023-05-17 16:25:57 +04:00
dalto8
9a75b68ed8
Merge pull request #2109 from Sunderland93/greetd_environment_fix
...
greetd: Change environments entry from desktopFile to desktopExecutable
2023-03-10 23:26:26 +00:00
dalto
da295e00f9
[displaymanager] Fix bug in lightdm preferred greeter implementation
2023-03-05 19:37:33 -06:00
dalto
079f608700
[displaymanager] Fix bug with find_preferred_greeters()
2023-03-05 13:58:13 -06:00
Sunderland93
3a0cb8d1fd
change environments entry from desktopFile to desktopExecutable
2023-03-05 10:40:17 +04:00
Adriaan de Groot
92a208104b
[displaymanager] lightdm: default to no-preferred-greeter
...
While here, drop nonsensical alternatives: if it's not a
.desktop file, it's not going to work anyway.
2023-02-24 21:10:20 +01:00
Adriaan de Groot
59fd4ee082
[displaymanager] lightdm: logging errors
...
Don't just use *any* file found in the xgreeters directory,
and log when no greeter was found (outside of the translated
error message).
2023-02-24 21:09:48 +01:00
Adriaan de Groot
bbc9d90888
[displaymanager] Allow configuring the preferred-greeter-list
2023-02-24 21:09:48 +01:00
Adriaan de Groot
d448be1077
[displaymanager] Handle preferred / deterministic greeter
2023-02-24 21:09:48 +01:00
Adriaan de Groot
48f61be73a
[displaymanager] Factor out the find-a-greeter part
2023-02-24 21:09:48 +01:00
Paolo Dongilli
8ca6b56f56
Add detection of default lightdm-greeter
2023-02-24 21:09:48 +01:00
Aleksey Samoilov
cc2a458bce
Merge pull request #1 from calamares/calamares
...
Sync
2023-02-13 19:16:48 +04:00
Sunderland93
81c316efd1
gtkgreet: disable window decoration in Cage
2023-02-06 17:12:21 +04:00
Adriaan de Groot
46a28543b9
[displaymanager] Add configuration items + schema for greetd user
2023-02-06 11:03:28 +01:00
Adriaan de Groot
f142710fee
[displaymanager] Overwrite DM-instance settings with config-settings
...
If there are settings in the config-file, they can overwrite
settings in the DM-instance in code.
2023-02-06 10:52:25 +01:00
Adriaan de Groot
065647154e
[displaymanager] Skip greetd test if there's no toml
...
toml is needed for greetd, but that shouldn't stop the tests
from running.
2022-08-23 16:04:24 +02:00
Sunderland93
464a9ac503
greetd: fix typo in gtkgreet path
2022-06-22 11:52:14 +04:00
Sunderland93
136ec3df58
greetd: remove autologin copied from the Live ISO ( fixes #1995 )
2022-06-22 11:49:21 +04:00
Adriaan de Groot
bbeba5c9ab
Merge branch 'calamares' into work-3.3
2022-05-09 15:03:41 +02:00
Adriaan de Groot
3bc3b352d8
[displaymanager] Add LF after last line of greetd configuration
...
FIXES #1937
2022-05-06 11:47:44 +02:00
Adriaan de Groot
992d2d3be0
[displaymanager] kdm is no longer relevant
2022-05-04 00:24:43 +02:00
Adriaan de Groot
1ef2fff03e
[displaymanager] For greetd, write the desktop file name
...
See #1937
2022-05-03 11:41:53 +02:00
Adriaan de Groot
8ca6a7caef
[displaymanager] Fix tests (don't overwrite developer host configuration)
2021-11-16 17:30:28 +01:00
Adriaan de Groot
bcd8ebd614
[displaymanager] SPDX tags for tests
2021-11-19 12:53:42 +01:00
Adriaan de Groot
5f7b221e11
[displaymanager] Fix greetd commands
...
- since default_desktop_environment isn't a string, need
to pick the string -- the command -- out of the object first.
2021-11-15 13:38:46 +01:00
Adriaan de Groot
16a029abd2
[displaymanager] Adjust tests to match real runtime
...
- the default_desktop_environment isn't a string, but an
object; it is unusual for it to be used in set_autologin
2021-11-15 13:37:23 +01:00
Adriaan de Groot
f3e85efd41
[displaymanager] Add tests that run parts of the DM code
...
- load and set autologin for greetd (this was used to shake out
code bugs in load/save)
- load and set autologin for sddm
2021-11-15 13:00:40 +01:00
Adriaan de Groot
ce6aec158a
[displaymanager] Fix config loading-and-saving
...
- toml.dump() takes a file-like object
- toml.loads() takes a whole string to parse, (e.g. the TOML data),
not a pathname, so change to toml.load() which takes a file-like
object.
2021-11-15 12:23:17 +01:00
Adriaan de Groot
54fd81a87e
[displaymanager] Handle case where config file doesn't exist or has no key
...
- If the config file doesn't exist, the dictionary is empty
- If it **does** exist, it might not have key 'default_session' in it
Either case should avoid a KeyError by using get() (or setdefault,
in this context). Subsequent use of os.path.exists() is strange,
since the value is a **group** (e.g. a dictionary) in the config
file. Just check if it exists, and then fill something in.
2021-11-15 12:21:27 +01:00
Adriaan de Groot
11424195ef
[displaymanager] Missing method call
...
- Add `()` to call the config_path() method, because we need a path
to pass to os.path.exists().
2021-11-15 12:20:54 +01:00
Adriaan de Groot
fad2f6ea88
[displaymanager] Add simple test
2021-11-15 11:52:24 +01:00
Adriaan de Groot
58cf9ffeeb
[displaymanager] Import toml only for the DMs that actually need it
2021-11-15 11:43:47 +01:00
Adriaan de Groot
85f36c77b1
[displaymanager] Import configparser only for the DMs that actually need it
2021-11-15 11:42:25 +01:00
Jonas Strassel
5701937883
fix(greetd): deal with no existing config
2021-10-29 00:02:16 +02:00
Jonas Strassel
fbdb9e6779
feat(greetd): add more greeter fallbacks
2021-10-28 08:14:04 +02:00
Jonas Strassel
e5f5ef0d17
feat(greetd): add greetd to displaymanagers
2021-10-28 08:12:45 +02:00
Adriaan de Groot
96c89fc080
[displaymanager] Fix Python errors
...
Apparently nobody ever hit the else-branch here (because
each DM has exactly one implementation -- that's what the
check is there for!) because the logging of the error
itself would raise IndexError or ValueError.
2021-09-27 21:04:26 +02:00
Philip Müller
2c99a8c6f8
[displaymanager] add cutefish
...
- more info at https://cutefishos.com/
2021-05-26 09:36:02 +02:00
Philip Müller
4543feccca
[displaymanager] add ukui
2021-05-07 15:44:25 +02:00
Adriaan de Groot
af12583122
Merge branch 'calamares' into calamares
2021-04-14 13:17:34 +02:00
Erik Dubois
9651cc0cd7
Update main.py
2021-04-13 17:47:02 +02:00
Johannes Kamprad
44ec9d14a6
Update main.py
...
adding sway to desktop_environments
2021-04-13 17:27:23 +02:00
Adriaan de Groot
42d00ffe38
[displaymanager] Fix mismatch in spelling of "autologinUser"
...
In 4ffa79d4cf
, the spelling
was changed to consistently be "autoLoginUser" in the *users*
module, but that changed the Global Storage key as well,
and the *displaymanager* module wasn't changed to follow.
2021-03-29 10:30:56 +02:00
Erik Dubois
51d414d6ef
Update main.py
...
Typo
2021-03-28 17:07:09 +02:00
Erik Dubois
0379fa9b7d
displaymanager from arcolinux
2021-03-17 14:58:50 +01:00
Adriaan de Groot
1d696253c3
[displaymanager] Missing space in user-visible string due to line-breaks
2020-10-14 15:18:51 +02:00
Adriaan de Groot
1cd9b93a22
REUSE: Giant boilerplate cleanup
...
- point to main Calamares site in the 'part of' headers instead
of to github (this is the "this file is part of Calamares"
opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
this is the 3-paragraph summary of the GPL-3.0-or-later, which has
a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00
Adriaan de Groot
863a4cc2a4
REUSE: (GPL-3.0-or-later) Python modules
2020-08-26 02:22:49 +02:00
Adriaan de Groot
1b23520f20
REUSE: (CC0-1.0) module descriptors and configuration files
...
In spite of there being considerable documentation sometimes in the
config file, we go with CC0 because we don't want the notion of
'derived work' of a config file.
The example `settings.conf` is also CC0. Add some docs to
it while we're at it.
2020-08-26 02:22:49 +02:00
Adriaan de Groot
86f66e8f16
REUSE: (GPL-3.0-or-later) all the schema files
...
- these are vaguely derived from the schema's written by
artoo@manjaro.org , but totally re-done for JSON-Schema
2020-08-26 02:01:58 +02:00