Commit ee289b17 authored by Mikhail Efremov's avatar Mikhail Efremov

system-settings Add workaround for 'lightdm cursor' bug.

parent 77773bb8
......@@ -228,9 +228,10 @@ Menu for Simply Linux
Summary: Some system settings for Simply Linux
License: GPLv2+
Group: System/Base
Requires: lightdm-gtk-greeter
%description system-settings
Some system settings for Simply Linux
Some system settings for Simply Linux.
%prep
%setup -q
......@@ -330,6 +331,7 @@ cp menu/altlinux-wine.directory %buildroot/usr/share/desktop-directories/
# system-settings
mkdir -p %buildroot/%_sysconfdir/polkit-1/rules.d/
cp -a system-settings/polkit-rules/*.rules %buildroot/%_sysconfdir/polkit-1/rules.d/
install -Dm644 system-settings/ldm_pam_environment %buildroot%_localstatedir/ldm/.pam_environment
#bootloader
%pre bootloader
......@@ -357,6 +359,13 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%post indexhtml
%_sbindir/indexhtml-update
%post system-settings
chown _ldm:_ldm %_localstatedir/ldm/.pam_environment
sed -i '/pam_env\.so/ {
/user_readenv/ b
s/pam_env\.so/pam_env.so user_readenv=1/ }
' %_sysconfdir/pam.d/lightdm-greeter
%files bootloader
%_datadir/gfxboot/%theme
/boot/splash/%theme
......@@ -425,7 +434,8 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
/usr/share/desktop-directories/altlinux-wine.directory
%files system-settings
%_sysconfdir/polkit-1/rules.d/*.rules
%config %_sysconfdir/polkit-1/rules.d/*.rules
%config %_localstatedir/ldm/.pam_environment
%changelog
* Thu Jul 04 2013 Mikhail Efremov <sem@altlinux.org> 7.0.0-alt6
......
# Workaround for ALT bug #29167.
# Based on suggestion by Daniel Gnoutcheff (gnoutchd)
# https://bugs.launchpad.net/lightdm/+bug/1024482/comments/18.
GDK_CORE_DEVICE_EVENTS=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment