From 769827f2e72235dd08db7e0d830d12d7d0de4920 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 18 May 2015 09:31:01 -0500 Subject: [PATCH] kde: Enable folderview on kde live workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1220862 --- fedora-live-kde-base.ks | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fedora-live-kde-base.ks b/fedora-live-kde-base.ks index 0179924..5d17341 100644 --- a/fedora-live-kde-base.ks +++ b/fedora-live-kde-base.ks @@ -97,6 +97,15 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF Enabled=false KRES_EOF +# Enable folderview on live, workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1220862 +mkdir -p /usr/share/plasma/shells/org.kde.plasma.desktop/updates +cat > /usr/share/plasma/shells/org.kde.plasma.desktop/updates/live-add-folderview-1.js << ADD_FOLDER_EOF +for (var i = 0; i < screenCount; ++i) { + desktop = desktopForScreen(i, 0); + desktop.addWidget("org.kde.plasma.folder"); +} +ADD_FOLDER_EOF + # make sure to set the right permissions and selinux contexts chown -R liveuser:liveuser /home/liveuser/ restorecon -R /home/liveuser/