summaryrefslogblamecommitdiffstats
path: root/kde/post-install/kde-workspace.post-install
blob: 0bd88361b61e040cf6789a2f42491e22b33105f0 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                                       
 

                                              
 

                                                               
 



                                                                                                  
 



                                                        
 


                                                                         
 
# Stop offering KDE4 session - only Plasma5 is relevant now.
## Use ck-launch-session in runlevel 3,
## to start and attach a ConsoleKit session to the X session:
#mkdir -p $PKG/etc/X11/xinit
#cat $CWD/post-install/kde-workspace/xinit/xinitrc.kde > $PKG/etc/X11/xinit/xinitrc.kde
#chmod 0755 $PKG/etc/X11/xinit/xinitrc.kde

# This is fubar:
rm -f $PKG/usr/share/icons/hicolor/index.theme

# Remove the startkde script - we need only the Plasma5 script:
rm $PKG/usr/bin/startkde

# Remove symlinks that clash with plasma-workspace:
for SOFILE in libksgrd libksignalplotter liblsofui libprocesscore libprocessui libtaskmanager ; do
  rm $PKG/usr/lib${LIBDIRSUFFIX}/${SOFILE}.so
done

# Remove include files that clash with plasma-workspace:
for INCDIR in ksysguard taskmanager ; do
  rm -r $PKG/usr/include/${INCDIR}
done

# Remove the dbus and polkit dbus files that clash woth plasma-workspace:
rm -r $PKG/etc/kde/dbus-1 $PKG/etc/dbus-1 $PKG/usr/share/dbus-1
rm -r $PKG/usr/share/polkit-1