summaryrefslogtreecommitdiff
path: root/community/lxdm/default-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxdm/default-config.patch')
-rw-r--r--community/lxdm/default-config.patch63
1 files changed, 6 insertions, 57 deletions
diff --git a/community/lxdm/default-config.patch b/community/lxdm/default-config.patch
index 78c9bc00b..67435f94b 100644
--- a/community/lxdm/default-config.patch
+++ b/community/lxdm/default-config.patch
@@ -10,7 +10,7 @@ diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
-@@ -34,7 +34,7 @@
+@@ -34,13 +34,13 @@
gtk_theme=Clearlooks
## background of the greeter
@@ -19,61 +19,10 @@ diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
## if show bottom pane
bottom_pane=1
-diff -Naur lxdm.orig/data/lxdm.in lxdm/data/lxdm.in
---- lxdm.orig/data/lxdm.in 2013-08-30 17:56:16.097006000 +0200
-+++ lxdm/data/lxdm.in 2013-09-04 01:57:56.950799946 +0200
-@@ -1,21 +1,13 @@
- #!/bin/sh
--[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
--
--if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
-- . /etc/sysconfig/language
-- if [ -n "$RC_LANG"]; then
-- LANG=$RC_LANG
-- fi
-+if [ -r /etc/profile.d/locale.sh ]; then
-+ . /etc/profile.d/locale.sh
- fi
+ ## if show language select control
+-lang=1
++lang=0
- if [ -n "$LANG" ]; then
- export LANG
- fi
-
--[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
--[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
--
- if [ -n "$DEFAULT_WM" ]; then
- PREFERRED=$DEFAULT_WM
- fi
-diff -Naur lxdm.orig/data/Xsession lxdm/data/Xsession
---- lxdm.orig/data/Xsession 2013-08-30 17:56:16.097006000 +0200
-+++ lxdm/data/Xsession 2013-09-04 01:58:19.941348762 +0200
-@@ -9,6 +9,8 @@
- LXSESSION=/usr/bin/startlxde
- fi
-
-+[ -f /etc/profile ] && . /etc/profile
-+[ -f ~/.profile ] && . ~/.profile
- [ -f /etc/xprofile ] && . /etc/xprofile
- [ -f ~/.xprofile ] && . ~/.xprofile
-
-diff -Naur lxdm.orig/pam/lxdm lxdm/pam/lxdm
---- lxdm.orig/pam/lxdm 2013-08-30 17:56:16.100339000 +0200
-+++ lxdm/pam/lxdm 2013-08-30 17:58:35.543771605 +0200
-@@ -1,9 +1,7 @@
- #%PAM-1.0
--auth substack system-auth
--auth optional pam_gnome_keyring.so
--account include system-auth
--session optional pam_keyinit.so force revoke
--session include system-auth
--session optional pam_console.so
--session optional pam_gnome_keyring.so auto_start
--session optional pam_selinux.so
-+auth include system-login
-+-auth optional pam_gnome_keyring.so
-+account include system-login
-+password include system-login
-+session include system-login
-+-session optional pam_gnome_keyring.so auto_start
+ ## if show keyboard layout select control
+ keyboard=0