1723 Commits (0c840abdc5d86da3c75664694e1f3a587995b6cd)
 

Author SHA1 Message Date
Kevin Kofler 95e39e05fa displaymanager: Use libcalamares.utils.debug instead of print.
Use libcalamares.utils.debug instead of print to output a debugging
message during SDDM autologin setup.
10 years ago
Kevin Kofler 524bcc15ea displaymanager: Fix default session setup for GDM.
The default session setting in GDM is per user. Therefore, it is not of
much use to set it for the gdm user. (Nobody will log in as "gdm".)
Unfortunately, there seems to be no systemwide setting for the default
session, the AccountsService provides no such setting, and GDM just
hardcodes the fallback to use if it is not set in the AccountsService.
(GDM first tries "gnome", and if that is not available, it picks the
first session in the alphabet.)

Therefore, the best we can do right now is to set the default session
for the autoLoginUser. This is the case where it matters the most
anyway. We would also need the username of a non-autologin user in the
global storage to do any better.
10 years ago
Calamares CI 85c2c78a97 Automatic merge of Transifex translations 10 years ago
Kevin Kofler 5e14080891 displaymanager: Remove lightdm gdmflexiserver hack.
Remove the hack that symlinks /usr/lib/lightdm/lightdm/gdmflexiserver as
/usr/bin/gdmflexiserver.

Upstream LightDM removed their gdmflexiserver implementation in 1.9.4 in
2013:
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1841

In addition, LightDM was already adding the path containing its
gdmflexiserver implementation to PATH, so there was no use symlinking it
into /usr/bin, potentially overwriting the original version from GDM.
This must have been a workaround for an ancient LightDM version that
didn't even do that.

And finally, the hardcoded /usr/lib/lightdm/lightdm/gdmflexiserver path
was wrong on Fedora to begin with (we had used
/usr/libexec/lightdm/gdmflexiserver, but now the file is completely gone
because upstream removed it).
10 years ago
Kevin Kofler e78418b693 displaymanager: Don't error if a DM is not installed.
If a display manager is in the list, but not installed, do not return an
error message, but only print a debugging message and proceed.

This allows distributions that support multiple display managers to list
them all, independently of what the concrete live image will be using.
10 years ago
Kevin Kofler 2783f98615 displaymanager: Add my copyright to main.py.
I have already written a bunch of code in there.
10 years ago
Kevin Kofler a525de8f11 displaymanager: Fix typos in displaymanager.conf. 10 years ago
Calamares CI a9afc66a18 Automatic merge of Transifex translations 10 years ago
Kevin Kofler 210685a15d mount: Fix /run mount.
It turns out that I had messed this up. Issue #173 was addressed anyway
by the followup fix to unpackfs to only exclude the directories that are
actually mounted (which does work), but with this fix, /run is now
handled as intended.

PS: Should the mount job not check the return value of
libcalamares.utils.mount instead of failing silently?
10 years ago
Manjaro Linux eee54241d1 [umount] use lazy switch
in some rare cases you can't unmount your mountpoints. As it is the last step we can use lazy switch to force unmounting.
10 years ago
Manjaro Linux 0a6053dd82 Fix syntax error
This fixes e65d9c4f. Setting a variable can't end with :
This also fixes the issue with referenced before assignment
10 years ago
Manjaro Linux 99dc06bd51 Merge pull request #176 from codeworkx/master
packages: add --noconfirm arg for pacman, also remove unneeded deps
10 years ago
Daniel Hillenbrand 722e87fd00 packages: add --noconfirm arg for pacman, also remove unneeded deps 10 years ago
Manjaro Linux f0184ab340 Merge pull request #175 from codeworkx/master
localecfg: only restore locale.gen.bak if available
10 years ago
Daniel Hillenbrand 22a9fd86df localecfg: only restore locale.gen.bak if available 10 years ago
Kevin Kofler 6f78ecab3b displaymanager: Fix the default_desktop_environment option.
Do not use a YAML list when only a single entry actually works. (It was
just silently using the last one.)

Create the default_desktop_environment DesktopEnvironment tuple. Before,
the setting was silently ignored altogether.
10 years ago
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".
10 years ago
Manjaro Linux 9c799b32e9 Fix autologin-routine
default_desktop_environment.desktop_file needs to been passed actually.
10 years ago
Kevin Kofler 36488583f7 unpackfs: Add a trailing '/' to the excludes. 10 years ago
Kevin Kofler f0203a072c unpackfs: Automatically detect the exclude list from the mounts.
See issue #173.
10 years ago
Manjaro Linux 6a70029198 Fix commit d5d74fbdcd
We need to pass default_desktop_environment if we won't use automatic desktop detection.
10 years ago
Kevin Kofler 96d863b22b mount: Mount /run as a tmpfs in the rootMountPoint.
In particular, this also ensures that the directory gets created on the
target system so things can be mounted into it.

Fixes #173.
10 years ago
Teo Mrnjavac 6e98f63bf3 Merge pull request #171 from calamares/machineid-module
Add a machineid module.
10 years ago
Teo Mrnjavac e85b2d164f Hook up ClearMountsJob in PartitionCoreModule. 10 years ago
Teo Mrnjavac 1de7b55c3b ClearMountsJob: umount all partitions before making changes to a device.
Fixes #169
10 years ago
Calamares CI a90737a3e4 Automatic merge of Transifex translations 10 years ago
Manjaro Linux ddc7a6057d Update displaymanager.conf
Add an example to force Plasma5 desktop (commented out)
10 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.
10 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
10 years ago
Kevin Kofler 587e76aa56 machineid: Add modules.desc. 10 years ago
Kevin Kofler 5f99d51f80 machineid: Add missing import. 10 years ago
Kevin Kofler 0b0868822d Add a machineid module.
The module creates /etc/machine-id and/or /var/lib/dbus/machine-id. By
default, it is enabled and creates both files, making the latter a
symlink to the former.
10 years ago
Kevin Kofler 8591dcf731 unpackfs: Make rsync preserve everything, exclude special paths.
Add the following flags to rsync:
* `-H, --hard-links            preserve hard links`
* `-A, --acls                  preserve ACLs (implies --perms)`
* `-X, --xattrs                preserve extended attributes`
(i.e., the preservation options not already implied by -a).

Also exclude the special paths that do not make sense to rsync, because
reading the extended attributes from those can cause errors, at least
with SELinux enabled.

This fixes installation of Fedora systems with SELinux enabled.
10 years ago
Teo Mrnjavac 0c3f88077d More debug output in CreatePartitionTableJob 10 years ago
Rohan Garg ac5cecee19 Clean up unused packages after installation
Fixes #166.
10 years ago
Teo Mrnjavac 5b864c5dc3 Make networkmanager service example optional. 10 years ago
Teo Mrnjavac 5bb7755925 Remove unnecessary debug output. 10 years ago
Teo Mrnjavac 52a1a28696 Fix focus handling in Keyboard page. 10 years ago
Teo Mrnjavac 5fdca37db5 Focus fix in Locale page. 10 years ago
Teo Mrnjavac 472590669f Adding stuff to GlobalStorage works much better it is actually executed. 10 years ago
Teo Mrnjavac 0738af04ca Reimplement onActivate in UsersViewStep for focus handling. 10 years ago
Teo Mrnjavac e258f0b5a9 Use onActivate instead of focusInEvent for page focus control. 10 years ago
demmm 86c49fbc89 Use correct entry from global_storage 10 years ago
Teo Mrnjavac 925632800b Debug output for lcLocale 10 years ago
Kevin Kofler b79618aa15 locale: Move the string processing out of the loop. 10 years ago
Teo Mrnjavac 88dfd7fa10 Fix system locale string + allow 3 letter language codes. 10 years ago
Calamares CI 8c037db21a Automatic merge of Transifex translations 10 years ago
Kevin Kofler e7d0f205a4 locale: Support distributions without locale-gen.
If /etc/locale.gen (or the configured localeGenPath) does not exist,
assume that all the supported languages are already built into the
locale archive, and retrieve the list from "locale -a".

The list will then contain lines with only the locale rather than
locale + space + encoding, but that should not affect any of the rest of
the code. UTF-8 locales will still contain the string "UTF-8" (as part
of the ".UTF-8" suffix), we will not write a locale.gen file if we don't
have locale-gen, and everything else just strips away the encoding.
10 years ago
Kevin Kofler 440b38addf locale: Optimize guessLCLocale by moving function calls out of loops. 10 years ago
Kevin Kofler bcbe5103b9 locale: Don't assume 2-letter language codes.
Some languages have 3-letter codes. So instead of splitting the output
of QLocale::name, use QLocale::language and the static
QLocale::languageToString.
10 years ago