diff --git a/usr/lib/archboot/kde.sh b/usr/lib/archboot/kde.sh index b24c28db9..888976b25 100644 --- a/usr/lib/archboot/kde.sh +++ b/usr/lib/archboot/kde.sh @@ -20,18 +20,57 @@ _start_kde() { } _configure_kde() { - echo "Configuring KDE panel ..." - #echo "Adding gparted to xfce top level menu ..." - #sed -i -e 's#Categories=.*#Categories=X-Xfce-Toplevel;#g' /usr/share/applications/gparted.desktop - #echo "Hiding ${_HIDE_MENU} menu entries ..." - #for i in ${_HIDE_MENU}; do - # echo 'NoDisplay=true' >> /usr/share/applications/"${i}".desktop - #done - #echo "Autostarting setup ..." + echo "Configuring KDE plasma ..." + + echo "Replacing wallpaper ..." + for i in /usr/share/wallpapers/Next/contents/images/*; do + cp /usr/share/archboot/grub/archboot-background.png $i + done + echo "Replacing menu structure ..." + cat << EOF >/etc/xdg/menus/applications.menu + + + + Applications + kde-main.directory + + + + + + + + More + + + + + Applications + + + Settingsmenu + kf5-settingsmenu.directory + + Settings + + + + + archboot.desktop + chromium.desktop + org.kde.dolphin.desktop + gparted.desktop + org.kde.konsole.desktop + + +EOF + echo "Autostarting setup ..." cat << EOF > /etc/xdg/autostart/archboot.desktop [Desktop Entry] Type=Application Name=Archboot Setup +GenericName=Installer Exec=konsole -p colors=Linux -e /usr/bin/setup Icon=system-software-install EOF diff --git a/usr/lib/archboot/xfce.sh b/usr/lib/archboot/xfce.sh index a0d4d4eff..a1f2d834e 100644 --- a/usr/lib/archboot/xfce.sh +++ b/usr/lib/archboot/xfce.sh @@ -251,6 +251,7 @@ EOF [Desktop Entry] Type=Application Name=Archboot Setup +GenericName=Installer Exec=xfce4-terminal -x /usr/bin/setup Icon=system-software-install Categories=X-Xfce-Toplevel;