casper: fix disable services on kde live (triskel).

This commit is contained in:
Luis Guzmán 2025-08-30 17:37:37 -06:00
parent 93338254a6
commit 434c42cf91
3 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1,13 @@
diff --git a/scripts/casper-bottom/34disable_kde_services b/scripts/casper-bottom/34disable_kde_services
index f368ec2e..caa76986 100755
--- a/scripts/casper-bottom/34disable_kde_services
+++ b/scripts/casper-bottom/34disable_kde_services
@@ -20,7 +20,7 @@ esac
log_begin_msg "$DESCRIPTION"
-for pkg in kubuntu-default-settings ubuntustudio; do
+for pkg in triskel-default-settings kubuntu-default-settings ubuntustudio; do
settingsdir="/root/usr/share/$pkg/kf5-settings"
[ -d "$settingsdir" ] || continue
printf "[Daemon]\nTimeout=0\nAutolock=false\nLockOnResume=false\n" >> "$settingsdir"/kscreenlockerrc

View file

@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=24 VERSION=25
. ./config . ./config
@ -40,8 +40,8 @@ rm scripts/casper-bottom/33enable_apport_crashes
sed "s/cut/cut -d: -f2- | cut/" -i scripts/casper-functions sed "s/cut/cut -d: -f2- | cut/" -i scripts/casper-functions
sed "s/head -n1/sed -n 1p/" -i scripts/casper-functions sed "s/head -n1/sed -n 1p/" -i scripts/casper-functions
# Set trisquel isos as default suggestion. # Apply custom trisquel patches
patch_p1 $DATA/set_trisquel_iso_suggestion.patch apply_patch_changes
# Enable abrowser apparmor profile # Enable abrowser apparmor profile
cp $DATA/35apparmor_browsers scripts/casper-bottom cp $DATA/35apparmor_browsers scripts/casper-bottom