Commit Graph

897 Commits

Author SHA1 Message Date
Kevin Kofler
bfdcf0dbc0 keyboard: Coding style fixes. 2014-11-11 13:57:08 +01:00
Teo Mrnjavac
6f3898a73d Use Retranslator in LocalePage. 2014-11-11 12:44:32 +01:00
Teo Mrnjavac
08b90e975b Add retranslator class to CalamaresUtils. 2014-11-11 12:44:32 +01:00
Calamares CI
30f029c184 Automatic merge of Transifex translations 2014-11-11 08:45:20 +00:00
demmm
53da965bb1 make gummiboot kernel/distro agnostic
add hibernate option to .conf
create a fallback entry in gummiboot menu
re-add firmware to globalstorage, simplifies this module, will be needed to add more OS to gummi
2014-11-11 00:13:15 -05:00
Kevin Kofler
4f9f7d7858 keyboard: Write the keyboard model and layout settings to the root mount point.
This is implemented as a new SetKeyboardLayout job that does the work.

Portions of the code are adapted from systemd-localed's source code,
which is under a compatible license (LGPLv2.1+, can be converted to our
GPLv3+ license). I ported it from C to to C++/Qt and made some minor
tweaks to the mapping logic (from X11 to vconsole layouts) though.

Fixes #31.

Tested on a Fedora Remix (Kannolo 21) with the default module settings
(finds the converted X11 keymaps for the virtual console) and with
convertedKeymapPath: "" (does the legacy keymap conversion as expected).
2014-11-11 04:48:03 +01:00
Teo Mrnjavac
54feddb330 Merge pull request #145 from shadeslayer/master
Add a initramfs module that updates the initramfs post install
2014-11-10 15:53:50 +01:00
Rohan Garg
2b26be4162 Fix copyright holder 2014-11-10 15:45:40 +01:00
Rohan Garg
ce96b13c0d Add a initramfs module that updates the initramfs post install 2014-11-10 15:42:31 +01:00
Teo Mrnjavac
dec452f9b5 Make LocalePage retranslatable. 2014-11-10 14:56:29 +01:00
Teo Mrnjavac
2617ef369e Use retranslate pattern in GreetingPage. 2014-11-10 14:36:18 +01:00
Teo Mrnjavac
9e9a922498 Language selector + focus fix in GreetingPage. 2014-11-10 12:40:00 +01:00
Teo Mrnjavac
78075d7412 Use the new CalamaresUtils::installTranslator. 2014-11-10 12:26:39 +01:00
Teo Mrnjavac
058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
2014-11-10 12:26:03 +01:00
Teo Mrnjavac
8b343ace4a QTranslator switching in CalamaresUtils. 2014-11-10 12:26:03 +01:00
Teo Mrnjavac
fc4ce3d23b Make progress view unfocusable. 2014-11-10 12:26:03 +01:00
Calamares CI
e0b1f91054 Automatic merge of Transifex translations 2014-11-10 08:45:21 +00:00
Calamares CI
1081cdf6af Automatic merge of Transifex translations 2014-11-09 08:45:19 +00:00
Calamares CI
2a75a8dbfd Automatic merge of Transifex translations 2014-11-08 08:45:22 +00:00
Teo Mrnjavac
fd5d193529 Fix colors test again. 2014-11-07 17:58:47 +01:00
Teo Mrnjavac
0849a5983c Actually build translations qrc. 2014-11-07 17:58:47 +01:00
Teo Mrnjavac
4c968be60a Newline. 2014-11-07 17:58:47 +01:00
Teo Mrnjavac
22c2d96650 Fix rcc call for translation resources. 2014-11-07 17:58:47 +01:00
Rohan Garg
d3d9ea130c Fix build, last merge was a bit broken 2014-11-07 16:06:14 +01:00
Teo Mrnjavac
294d6a34ca Merge pull request #142 from shadeslayer/github_master
Make sure we also write to the /etc/hosts file
2014-11-07 15:23:52 +01:00
Rohan Garg
7a2fe5e647 Make sure we also write to the /etc/hosts file 2014-11-07 15:19:55 +01:00
Teo Mrnjavac
efdf4cb490 Fix check in CMakeColors. 2014-11-07 14:20:59 +01:00
Manjaro Linux
36e8ed5f46 adjust LXDE startup scripts
- add LXQT support
- add LXDE 0.5 changes in Archlinux
2014-11-07 14:04:15 +01:00
Teo Mrnjavac
7c89613332 Merge pull request #140 from kkofler/detect-sddm-session-type
displaymanager: Detect SDDM session type
2014-11-07 11:50:28 +01:00
Teo Mrnjavac
0dfc536dee Merge pull request #139 from kkofler/fix-sddm-chroot-call
displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
2014-11-07 11:45:49 +01:00
Calamares CI
74384dc5d4 Automatic merge of Transifex translations 2014-11-07 08:45:37 +00:00
Kevin Kofler
8512e43405 displaymanager: Set Session= for sddm autologin.
Detect the correct value using find_desktop_environment.
2014-11-07 04:09:54 +01:00
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.
2014-11-07 04:09:54 +01:00
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.
2014-11-07 04:09:54 +01:00
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.
2014-11-07 04:09:54 +01:00
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).
2014-11-07 01:09:33 +01:00
Teo Mrnjavac
1df44eddba Fix displaymanager sddm config call. 2014-11-06 10:44:53 +01:00
Calamares CI
90cd09b759 Automatic merge of Transifex translations 2014-11-06 08:45:17 +00:00
Manjaro Linux
76421e300d Merge pull request #137 from kkofler/fix-issue-124
CMakeColors.cmake: Use colors only if stderr is an interactive terminal.
2014-11-06 09:16:21 +01:00
Manjaro Linux
822d75d1ce Merge pull request #136 from kkofler/pkexec-policy-file-name
Rename pkexec policy file to .policy extension.
2014-11-06 09:15:19 +01:00
demmm
3828eb6d2a add the define 2014-11-05 22:42:58 -05:00
demmm
a186c7e44b Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
2014-11-05 22:26:10 -05:00
Kevin Kofler
3fdd06b013 CMakeColors.cmake: Use colors only if stderr is an interactive terminal.
In particular, do not write ugly escape sequences to log files.

Fixes #124.
2014-11-05 23:49:41 +01:00
Kevin Kofler
bc9b9d2ce4 Rename pkexec policy file to .policy extension.
Rename com.github.calamares.calamares.bin to
com.github.calamares.calamares.policy. This matches how other policy
files in the same directory are named.
2014-11-05 23:34:03 +01:00
Calamares CI
4c226fdaf3 Automatic merge of Transifex translations 2014-11-05 08:45:23 +00:00
Rohan Garg
b9af5b7d54 XDG_APPS_INSTALL_DIR comes from ECM, use a different var 2014-11-04 18:31:01 +01:00
Rohan Garg
36bd745e65 Install the desktop file 2014-11-04 18:09:30 +01:00
Rohan Garg
fe9a768f29 Use pkexec to execute calamares with the right permissions 2014-11-04 17:59:31 +01:00
Teo Mrnjavac
486f160ca9 Merge pull request #134 from calamares/sddm
Generate sddm.conf if not present.
2014-11-04 09:51:36 +01:00
Calamares CI
e3ab6037d6 Automatic merge of Transifex translations 2014-11-04 08:45:21 +00:00