KDE LXDE ... The Concept of ezgo Mandriva Ubuntu Fedora Suse Debian ... Gnome KDE LXDE ... M enu Diversity is a good feature of open source world, but it also confuses newbies. So for the system/desktop layer, we choose for them.
make up a personal desktop environment. • It means to make up "system default environment", i.e., the default environment any newly created user (including live user) would have.
is to extract the iso file and squashfs, change or replace the system file directly, then recreate the iso file. • For example, we directly change the content of /usr/share/kde4/apps/plasma-desktop/init/00- defaultLayout.js to replace the desktop background and the plasmoids in the default activity.
a better (and should be correct) way to customize. • For example: /etc/X11/Xsession.d/30ezgo-artwork: KDEDIRS="/usr/share/ezgo/ezgo-kde/kde-profiles:$KDEDIRS" export KDEDIRS /etc/X11/Xsession.d/33ezgo-menu: XDG_MENU_PREFIX=ezgo- XDG_CONFIG_DIRS=/etc/xdg/ezgo:/etc/xdg:$XDG_CONFIG_DIRS XDG_DATA_DIRS=/usr/share/ezgo/ezgo-menu:$XDG_DATA_DIRS Important !!
generate different debian packages for ezgo. • ezgo-artwork includes all the artwork like desktop background, dm background, icons, …, etc. • ezgo-kde includes all the files necessary to customize system default in KDE plasma4, like /usr/share/kde4/apps/plasma-desktop/init/30-ezgo.js which would run after 00-defaultLayout.js and would override the setting.
packages so that after installing native Debian series distributions, like Debian, Kubuntu or even Mint, I just need to install ezgo-* and Plasma customization will be done. • Same apply to other desktop system like XFCE, LXDE, … etc.
customize for ezgo13 (based on Kubuntu 16.04, Plasma5). • The first thing that struck me is: ezgo-menu didn't work. – No matter how I set the XDG_MENU_PREFIX, it always used kf5-applications.menu. – I have no way but to dirty-hack again: ln -s ezgo-applications.menu kf5-applications.menu
profile path should be set at /etc/kde5rc. • The following content didn't work as it used to be in ezgo12, i.e. Plasma4: [Directories-default] prefixes=/usr/share/ezgo/ezgo-kde/kde-profile • /etc/kde4rc, /etc/kderc, or /etc/kde5rc all didn't work.
that... • I wish the next version of ezgo still uses KDE Plasma, either based on Debian + Plasma5 or KDE Neon. Nevertheless the above problems still needs to be solved.