3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/x11
Michael Weiss 1273f414a7 display-managers: Fix the xsession parameters
The xsession script was called with inconsistent (depending on the
display managers) and wrong parameters. The main reason for this where
the spaces the parameter syntax. In order to fix this the old syntax:
$1 = '<desktop-manager> + <window-manager>'
Will be replaced with a new syntax:
$1 = "<desktop-manager>+<window-manager>"

This assumes that neither "<desktop-manager>" nor "<window-manager>"
contain the "+" character but this shouldn't be a problem.

This patch also fixes the quoting by using double quotes (") instead of
single quotes (') [0].

Last but not least this'll add some comments for the better
understanding of the script.

[0]: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
2017-04-28 22:00:14 +02:00
..
desktop-managers Merge pull request #24026 from benley/use-xkbDir 2017-03-23 18:02:26 +01:00
display-managers display-managers: Fix the xsession parameters 2017-04-28 22:00:14 +02:00
hardware treewide: use boolToString function 2017-04-11 18:18:53 +02:00
window-managers Merge pull request #24651 from edanaher/add-fvwm-window-manager 2017-04-06 16:29:28 +03:00
colord.nix colord service: init 2016-03-11 01:58:40 +03:00
compton.nix nixos/compton: fixup option descriptions (#24724) 2017-04-08 05:04:55 +01:00
redshift.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
terminal-server.nix nixos: update default cases from KDM/KDE4 to SDDM/KDE5 2017-02-09 21:52:00 -05:00
unclutter-xfixes.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
unclutter.nix unclutter: Fix default value of $DISPLAY 2017-04-03 18:41:11 +01:00
urxvtd.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
xbanish.nix xbanish service: init at 1.4 2016-06-07 23:58:06 -07:00
xfs.conf
xfs.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00
xserver.nix Merge pull request #20904 from offlinehacker/nixos/xserver/xpra 2017-03-05 01:32:23 +01:00