Adriaan de Groot
e1f7dbdbb9
[displaymanager] Simplify do_autologin initialization
2018-08-20 12:30:44 -04:00
Adriaan de Groot
7f47b2f9ca
[displaymanager] Introduce class for DM configuration
...
- Much like PackageManager, this is where the actual
implementation of configuration methods will end up,
for each supported DM.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
f188c6f71b
[displaymanager] Simplify DE class
...
- The DE isn't being configured, and isn't where the complexity
lies. Drop the ABC from it.
2018-08-20 08:14:52 -04:00
Adriaan de Groot
76a7c439c1
[displaymanager] Begin refactoring DM
...
- Introduce a base-class to "do the stuff" for one specific
display manager / desktop environment.
2018-08-20 07:37:46 -04:00
Adriaan de Groot
c3cef4d919
[displaymanager] Avoid unassigned variable
...
If displaymanagers is not set in the job config or globally,
it wasn't set at all, leading to a runtime error. Set to
None, so that the regular error message will be triggered.
FIXES #1002
2018-08-20 06:17:05 -04:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Philip
d20285d4f2
[modules] displaymanager: try to fix regression introduced with c8fd11b
2017-09-21 13:08:13 -04:00
Adriaan de Groot
13807ceabf
Licensing: add self
...
- to all the files I've touched recently
- to (very incomplete) AUTHORS list
Licensing: add license info to top-level CMakeLists.txt
2017-09-19 15:57:25 +02:00
Adriaan de Groot
c8fd11b103
Replace scandir with listdir, simplify loop
...
FIXES: ??
2017-09-16 07:01:55 -04:00
Adriaan de Groot
ce11c7ab6d
LightDM: fix type (thanks Kevin Kofler)
2017-07-10 14:43:13 -04:00
Adriaan de Groot
9561bac1c8
SUSE DM: add special case configuring autologin in sysconfig (openSUSE)
...
FIXES #582
2017-07-10 10:14:28 -04:00
Adriaan de Groot
984a83deb9
LightDM: if lightdm.conf doesn't exist (for autologin), create it
...
FIXES #568
2017-07-10 09:27:56 -04:00
Philip Müller
f64266a294
Merge pull request #758 from manjaro/lightdm-greeters
...
[displaymanager] check for installed lightdm greeter and configure accordingly
2017-06-28 17:04:40 +02:00
Bernhard Landauer
a1173bccc2
[displaymanager] check for installed lightdm greeter and configure accordingly
...
- no matter if for example slick-greeter is installed as "lightdm-slick-greeter" or whatever.
tested with lightdm-deepin-greeter and slick-greeter.
- plus some little simplifications
- added Copyright
https://github.com/calamares/calamares/issues/756
2017-06-28 16:43:07 +02:00
Adriaan de Groot
2905a9969d
SDDM-config: allow poorly formatted SDDM config
...
SDDM itself doesn't trip over duplicate sections or keys, but
the Python config-parser does (in strict mode). Relax a bit.
FIXES #579
2017-06-28 03:57:01 -04:00
Bernhard Landauer
72cfb83873
fix https://github.com/calamares/calamares/issues/756
2017-06-27 14:50:53 +02:00
Adriaan de Groot
4405790253
Displaymanager: simplify gdm configuration.
...
Replace calling out to shell to run echo redirected to a file by
opening the file and writing to it.
2017-06-19 18:20:24 -04:00
Adriaan de Groot
70af29672d
Displaymanager: check alternative locations for kdmrc.
...
FIXES #578
2017-06-19 18:05:34 -04:00
Adriaan de Groot
582e4354a7
Displaymanager: refactor a little, don't bail out at the first DM that doesn't configure
2017-06-19 18:00:10 -04:00
Alf Gaida
f9695cabac
Fixed pep8 whining in module displaymanager
...
Added myself to copyright
2017-06-06 20:35:07 +02:00
Teo Mrnjavac
68e2c4f901
Unbreak autologin setting.
2017-01-24 18:55:32 +01:00
Teo Mrnjavac
8d5e4cdb16
Don't assume 'User' exists in autologin section.
2017-01-17 17:02:53 +01:00
Kevin Kofler
bc8dd4225a
[displaymanager] set_autologin: Unset autologin for sddm when needed
...
CAL-423 #close
2016-12-03 19:18:41 +01:00
Rohan Garg
d67fdccd4c
Make sure we also set a preferred Xsession
2016-11-02 09:51:27 +01:00
Rohan Garg
662656a762
Better handling for when the Autologin section already has things
2016-10-31 17:55:59 +01:00
Rohan Garg
f7ac1a3ede
Use configparser to parse sddm.conf
...
Since sddm.conf follows the INI format we can use configparser
with a few added options to properly parse the config and write
it out instead of manually parsing each line which is slow and
prone to error.
For eg. The old code would fail to parse a conf which had no
commented out User key but where the user had configured autologin
in Calamares.
2016-10-31 17:10:46 +01:00
Philip
22cf2c16a2
[displaymanager] use same pattern for all str.format calls
2016-10-26 21:40:14 +02:00
Bernhard Landauer
c99cdc0fa7
[displaymanager] add Deepin
2016-10-26 03:56:03 +02:00
udeved
c2d7890f3e
displaymanager: write process DM list to globalstorage so other modules can use it
2016-08-19 09:42:28 +02:00
Philip
262fdec3f3
[bootloader] revert 8cbefa1
2016-01-03 10:13:28 +01:00
Philip
8cbefa12e0
[displaymanager] if gnome is present, budgie should be detected first
2016-01-02 10:25:17 +01:00
Philip
196ae4aaaf
[displaymanager] add budgie v10.1 support
2016-01-02 07:37:19 +01:00
Teo Mrnjavac
10ce42f35c
Use target_env calls in Python modules.
2015-09-15 16:48:41 +02:00
Philip
3b38aee1dd
[displaymanager] adopt to Cinnamon 2.6.8
2015-06-18 07:02:16 +02:00
Gormogon
99c4b59f64
Fixed GDM auto-login bug due to typo
2015-06-13 23:12:35 -04:00
Gormogon
a4a22e3ad0
PEP Cleanup
2015-06-13 23:08:52 -04:00
Ramon Buldó
049f711f7d
[displaymanager] Add i3, move openbox to the end of the list.
2015-05-15 12:50:29 +02:00
Ramon Buldó
9b7c1ff3da
[displaymanager] Add budgie and pantheon support
2015-05-15 07:07:54 +02:00
Philip Müller
9fcd8113e5
[displaymanager] add pekwm
2015-03-12 21:08:23 +01:00
Teo Mrnjavac
67ed53caeb
Do not try to set the username if it's None.
2015-02-25 18:01:15 +01:00
Teo Mrnjavac
b319cc1da0
[displaymanager] Explicitly unset autologin if not checked.
2015-02-25 18:00:01 +01:00
Philip
3d8ba2b088
[fstab] add python doc strings
2015-02-25 14:49:23 +01:00
Philip
e7a67b9c52
[dummypython] add python doc strings
2015-02-25 14:49:23 +01:00
Philip
60927b9363
[displaymanager] add more python doc strings
2015-02-25 14:49:23 +01:00
Gormogon
b4db9fe64b
Fixing PEP – 257 Violations
2015-02-25 14:49:23 +01:00
Gormogon
113d9db7cb
Python Better Docstrings
2015-02-25 14:49:23 +01:00
Gormogon
7989267e81
Unused Imports
2015-02-20 09:24:05 -05:00
Gormogon
5c1ee7bbcb
[PEP 8] General Style Part 3
2015-02-18 10:03:57 -05:00
Gormogon
ebf037f247
[PEP 8] Comparison to 'None'
2015-02-18 09:21:49 -05:00
Gormogon
8e1480431a
[PEP 263] Corrected Encoding Headers
2015-02-18 09:06:10 -05:00