summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-22 04:02:55 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-22 04:02:55 +0800
commitaf80eb4f27c63cb94b561ece37c7013d588fd57b (patch)
tree1a4e61d213143e5b456e7160095bdba6cff0916b
parent8d7cac0980e74990558c589e49d398297c5a195b (diff)
downloadmarcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar.gz
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar.bz2
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar.lz
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar.xz
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.tar.zst
marcuscom-ports-af80eb4f27c63cb94b561ece37c7013d588fd57b.zip
Fix two issues with gdm and gnome-session:
- Until now the user was only able to shutdown (if in the wheel group) but was unable to reboot (doing thaed to simply logout). - Also in the login window gdm did not show the logout/reboot options. The patch fixes $localbase/etc/gdm/custom.conf. It sets the correct commands for reboot/shutdow. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18908 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/gdm/files/patch-data_gdm.conf-custom.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-data_gdm.conf-custom.in b/x11/gdm/files/patch-data_gdm.conf-custom.in
new file mode 100644
index 000000000..7bf827126
--- /dev/null
+++ b/x11/gdm/files/patch-data_gdm.conf-custom.in
@@ -0,0 +1,12 @@
+--- data/gdm.conf-custom.in.orig 2013-11-20 10:35:05.845253412 +0000
++++ data/gdm.conf-custom.in 2013-11-20 10:35:11.644252821 +0000
+@@ -2,6 +2,9 @@
+
+ [daemon]
+
++HaltCommand=/sbin/shutdown -p now
++RebootCommand=/sbin/shutdown -r now
++
+ [security]
+
+ [xdmcp]