summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 64aeba2b5..7e782dc18 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -269,6 +269,18 @@ sub afterInstallPackages($) {
substInFile { s/^(UserView)=false/$1=true/ } "$o->{prefix}/usr/share/config/kdmrc" if $o->{security} < 3;
run_program::rooted($o->{prefix}, "kdeDesktopCleanup");
+ foreach ("/etc/skel", "/root", install_any::list_home()) {
+ my $found;
+ substInFile {
+ $found ||= /KFM Misc Defaults/;
+ $_ .=
+"[KFM Misc Defaults]
+GridWidth=85
+GridHeight=70
+" if eof && !$found;
+ } "$o->{prefix}$_/.kde/share/config/kfmrc"
+ }
+
#- move some file after an upgrade that may be seriously annoying.
if ($o->{isUpgrade}) {
log::l("moving previous desktop files that have been updated to \$HOME/tmp of each user");