KDE - changing the way you use Qubes

Could you give some glimpse, how do you do that (the script) ?
I could use this method, since I do often Clean Install.

I`m getting better in, setting things up after fresh install of Xfce. That Script could be a time saver.

Anather toppic : Kde application menu not saving

I Wrote that my version of /etc/X11/xinit/xinitrc.d/55xfce-qubes.sh, witch works on my qubes 5th time every time perfectly well.
In the comment unman pointed that my Edit is wrong.
Yet, when I was trying to use his advise, Edit application is not working.
What is the right way ?


#!/usr/bin/sh

# Use Qubes provided menu instead of default XFCE one
if [ "$XDG_SESSION_DESKTOP" = "KDE" ]; then
  XDG_MENU_PREFIX="kf5-"
else
  XDG_MENU_PREFIX="qubes-"
fi

export XDG_MENU_PREFIX