From e8afaa76ed69ec8540154c3676b01a08a76fbffc Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 8 Jan 2024 20:03:29 -0800 Subject: [PATCH] feat(kde): Use prompt for control+alt+t shortcut by default, hide Konsole (This will be restorable via ujust before reaching stable) --- Containerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index ebd43e3b2a..fec7023355 100644 --- a/Containerfile +++ b/Containerfile @@ -327,7 +327,12 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \ kpackagetool5 --type=Plasma/Wallpaper --global --install /tmp/wallpaper-engine-kde-plugin/plugin && \ rm -rf /tmp/kwin-system76-scheduler-integration && \ rm -rf /tmp/wallpaper-engine-kde-plugin && \ - sed -i '//,/<\/entry>/ s/[^<]*<\/default>/preferred:\/\/browser,applications:steam.desktop,applications:net.lutris.Lutris.desktop,applications:org.gnome.Prompt.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml \ + sed -i '//,/<\/entry>/ s/[^<]*<\/default>/preferred:\/\/browser,applications:steam.desktop,applications:net.lutris.Lutris.desktop,applications:org.gnome.Prompt.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \ + sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop && \ + sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nX-KDE-AuthorizeAction=shell_access@g' /usr/share/applications/org.gnome.Prompt.desktop && \ + sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T\nX-KDE-AuthorizeAction=shell_access@g' /usr/share/applications/org.gnome.Prompt.desktop && \ + cp /usr/share/applications/org.gnome.Prompt.desktop /usr/share/kglobalaccel/org.gnome.Prompt.desktop && \ + rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop \ ; else \ rpm-ostree override replace \ --experimental \