129 Commits (d592a5bb947ee50b74a39c2d9d979c9653d2d1c8)

Author SHA1 Message Date
Kevin Kofler e65d9c4f4d Revert "Fix autologin-routine"
This reverts commit 9c799b32e9.

This was already right before. default_desktop_environment.desktop_file is not a
variable, it's a field of a variable. This commit is not valid Python:
"SyntaxError: invalid syntax".
11 years ago
Manjaro Linux 9c799b32e9 Fix autologin-routine
default_desktop_environment.desktop_file needs to been passed actually.
11 years ago
Manjaro Linux 6a70029198 Fix commit d5d74fbdcd
We need to pass default_desktop_environment if we won't use automatic desktop detection.
11 years ago
Manjaro Linux d5d74fbdcd Add option to force desktop environment
This adds the function to force a desktop environment. We might think to add it also to global storage.
11 years ago
Manjaro Linux b4b409243f [displaymanager] make openbox session have "less priority".
Fixes settings Session= when both lxqt and openbox are installed, it will first find lxqt an use put lxqt.desktop
This fixes also #170
11 years ago
Manjaro Linux 36e8ed5f46 adjust LXDE startup scripts
- add LXQT support
- add LXDE 0.5 changes in Archlinux
11 years ago
Teo Mrnjavac 7c89613332 Merge pull request #140 from kkofler/detect-sddm-session-type
displaymanager: Detect SDDM session type
11 years ago
Kevin Kofler 8512e43405 displaymanager: Set Session= for sddm autologin.
Detect the correct value using find_desktop_environment.
11 years ago
Kevin Kofler 467d78dde6 displaymanager: Use a regex to match User= in sddm.conf.
This ensures we really only match the User= line and not the
RememberLastUser= one.
11 years ago
Kevin Kofler e365864c05 displaymanager: Detect the KDE Plasma (5 and 4) and GNOME desktop environments.
Add them to the front of the list of desktop environments because users
are more likely to expect those as the default if they have them
installed.
11 years ago
Kevin Kofler 4990b8e3f8 displaymanager: Refactor the desktop environment detection to eliminate the copy&paste.
This also fixes some issues with the previous code:

* The code for LightDM only supported Xfce.

* The case where multiple desktop environments are installed was not
  handled in a good way.

* We now also check that the xsession definition actually exists. This
  allows handling the case where upstream changed the xsession
  definition's name without renaming the invoked binary.
11 years ago
Kevin Kofler 5a4ae7f62c displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
Otherwise, the output redirection cannot work (and the argument was also
misinterpreted as part of the command name).
11 years ago
Teo Mrnjavac 1df44eddba Fix displaymanager sddm config call. 11 years ago
demmm 3828eb6d2a add the define 11 years ago
demmm a186c7e44b Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
11 years ago
demmm 49bdb25f30 remove erronous line line, wrongly left in 11 years ago
demmm 8cefd1dcb8 remove indent 11 years ago
demmm e26335d2da proper check for existing sddm.conf
second set of if/else is obsolete with this, sddm.conf always exists at this point
11 years ago
demmm 231c93a513 missed colon 11 years ago
demmm f26406daa4 actually create a sddm.conf 11 years ago
demmm 972fe23131 create sddm.conf if not present 11 years ago
Teo Mrnjavac ea32ba6a83 Compare with None 11 years ago
Philip ba1006a965 Fix autologin in displaymanager module 11 years ago
Teo Mrnjavac 52656190af Documentation. 11 years ago
Teo Mrnjavac fea3b68d61 s/AutoUser/User/ 11 years ago
Teo Mrnjavac bdc3185dbe Let's assume for now that the ISO must ship a sddm.conf. 11 years ago
Teo Mrnjavac fd4c93c485 Create sddm.conf if it doesn't exist. 11 years ago
Teo Mrnjavac d6d40d44ee PEP8 displaymanager. 11 years ago
Teo Mrnjavac d93b8b9d44 New displaymanager module, based on Thus. 11 years ago