From 38712b0672438d250b344a96542c349ebd00d8ff Mon Sep 17 00:00:00 2001 From: hayao Date: Sat, 20 Jun 2020 11:57:39 +0900 Subject: [PATCH] [fix] : Fixed not run in lxde. --- .../airootfs.any/etc/skel/.config/autostart/gensidebar.desktop | 8 +++++--- channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) mode change 100644 => 100755 channels/lxde/airootfs.any/etc/skel/.config/autostart/gensidebar.desktop diff --git a/channels/lxde/airootfs.any/etc/skel/.config/autostart/gensidebar.desktop b/channels/lxde/airootfs.any/etc/skel/.config/autostart/gensidebar.desktop old mode 100644 new mode 100755 index e2045208..08587f07 --- a/channels/lxde/airootfs.any/etc/skel/.config/autostart/gensidebar.desktop +++ b/channels/lxde/airootfs.any/etc/skel/.config/autostart/gensidebar.desktop @@ -4,8 +4,10 @@ Name=AlterLinux Sidebar Comment=Generates sidebar items. Icon=utilities-terminal Exec=/usr/local/bin/alterlinux-user-directory -Terminal=false -Type=Application -Hidden=true X-GNOME-Autostart-enabled=true +Type=Application +RunHook=0 +StartupNotify=false +Terminal=false +Hidden=false diff --git a/channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh b/channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh index acd455cf..86e50b56 100755 --- a/channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh +++ b/channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh @@ -131,3 +131,6 @@ chmod 644 "/usr/share/lxde/images/logout-banner.png" # Replace auto login user sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf + +# Set script permission +chmod 755 /usr/local/bin/alterlinux-user-directory -- 2.11.0