1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 15:33:07 +00:00

kde: Enable folderview on kde live

workaround for
https://bugzilla.redhat.com/show_bug.cgi?id=1220862
This commit is contained in:
Rex Dieter 2015-05-18 09:31:01 -05:00
parent 4dc7946ad4
commit 769827f2e7

View File

@ -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/