diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-05-20 22:04:44 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-05-20 22:04:44 +0100 |
commit | f341bf6cf77d888240cce91d283c97db48671027 (patch) | |
tree | 574ced0a2acd6e3068ac88cc1c284b7033782cec | |
parent | 5982adfc75ef73a58fe345f58f09b8e92d12fd72 (diff) | |
download | draklive-config-f341bf6cf77d888240cce91d283c97db48671027.tar draklive-config-f341bf6cf77d888240cce91d283c97db48671027.tar.gz draklive-config-f341bf6cf77d888240cce91d283c97db48671027.tar.bz2 draklive-config-f341bf6cf77d888240cce91d283c97db48671027.tar.xz draklive-config-f341bf6cf77d888240cce91d283c97db48671027.zip |
Improved fix for Xfce auto-login (requires drakiso >= 1.12).
-rw-r--r-- | config/build.cfg | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/build.cfg b/config/build.cfg index 7138384..a2b586f 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -10,10 +10,7 @@ my $has_lxde = member('LXDE', @desktops); my $has_plasma = member('Plasma', @desktops); my $has_xfce = member('Xfce', @desktops); -# This is the desktop name we use in the ISO name. -$build->{settings}{primary_desktop} = $desktops[0]; -# This is the desktop name used for autologin. -$build->{settings}{desktop} = $desktops[0] eq 'Xfce' ? 'XfceSession' : $desktops[0]; +$build->{settings}{default_session} = $desktops[0] eq 'Xfce' ? 'XfceSession' : $desktops[0]; my @user_config_dirs = ('/etc/skel', '/home/' . $default_user); @@ -389,5 +386,4 @@ my $config = { ], checksums => [ qw(md5 sha2 sha3) ], }, - iso_name_fields => [ qw(distro release product primary_desktop arch) ] }; |