>> 1. Xinit 1.4.1 >> >> Can anyone expain why we have to use the parameter >> "--with-xinitdir=/etc/X11/app-defaults" for Xinit? >Hmm, I can answer this one (because I did it). Back in 2006, XFree86 and >Xorg were each installed as a single package. When 6.9 and 7.0 were >release simultaneously, Xorg-7.0 was suddenly 280+ packages. I tried to >mimic the original monolithic install locations as closely as possible. >> That's because I find that the folder "/etc/X11/app-defaults/xinitrc.d" is >> not created while some applications will install thier "sh" >files to >> "/etc/X11/xinit/xinitrc.d". As a result, those "sh" files will not be read >> by Xinit program. >I'm not sure that a .d directory for app-defaults has ever been >mentioned previously. How does it work, and what would be installed >there by default from BLFS? >> 2. Qt >> >> The instruction "cat >> /etc/ld.so.conf << EOF" can be changed to "cat > >> /etc/ld.so.conf.d/qt5.conf". >ld.so.conf.d is not installed by default. It is optional, therefor we >cannot depend on that directory existing. I think I'd agree that this >should be default at this point. Let's see what others think.
I always create the folder "/etc/ld.so.conf.d/" because of the content of the LFS section "6.9.2.3. Configuring the Dynamic Loader " >> >> 3. KDE Frameworks 5 Pre-installation Configuration >> >> In the section "Installing in /opt", I think the follow lines are missing >> for the file "/etc/profile.d/qt5.sh": >> >> pathappend /usr/lib/qt5/plugins QT_PLUGIN_PATH >> pathappend /usr/lib/qt5/qml QML2_IMPORT_PATH >I'm unfamiliar with this, but there might be some changes coming to >unify the instructions between /usr and /opt installs...which reminds me >that I never bugged that. >--DJ I found this setting error because the package "Phonon" installed thier so files to "/usr/lib/qt5/plugins" ..... On the other hand, when I was troubleshooting my KDE Plasma environment, 1. "AccountsService" is recommended because you cannot get user account information from Plasma if it is missing. 2. If you want to use "kdesu" (or "su") while PAM is installed, you can adjust the setting of the file "/etc/pam.d/su" to allow all administrator accouts to do it: #auth sufficient pam_wheel.so trust use_uid --> #auth sufficient pam_wheel.so group=adm trust use_uid auth required pam_wheel.so use_uid --> auth required pam_wheel.so group=adm use_uid That is because "AccountsService" will add all "administrator" account to the group "adm" (refer to the build instruction of AccountsService). 3. If you want to use iBus with Plasma, you can create the following files so that iBus will start automatically: cat > /etc/xdg/autostart/ibus-daemon.desktop << EOF [Desktop Entry] Type=Application Encoding=UTF-8 Version=1.5.20 Name=ibus-daemon Comment=iBus Daemon Exec=/usr/bin/ibus-daemon --xim -d X-GNOME-Autostart-enabled=true X-KDE-autostart-after=panel EOF cat > /etc/X11/xinit/xinitrc.d/ibus.sh << EOF export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus EOF -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
