Pierre Labastie wrote:
On 20/02/2018 12:47, Pierre Labastie wrote:
On 31/01/2018 10:24, [email protected] wrote:
Version: systemd edition - Version 2018-01-30
[...]
- EXO is required if Xfwm is present. (Please note that we can build Xfwm
without EXO package while we can use Xfwm with lxqt)
Actually, there is an advice at the beginning of the Xfce Desktop chapter:
"Build Xfce core packages in the order presented in the book for the easiest
resolution of dependencies."
And EXO is presented before xfwm in this chapter.
Actually, it is lightdm-gtk-greeter, which requires EXO (exactly, "configure"
tests for exo-csource and errors out if not found). But actually, exo-csource
is only needed in maintainer mode, which is disabled by default. So configure
can be fooled with "HAVE_EXO_CSOURCE=yes ./configure ...". NB: CFLAGS should
include -Wno-error=deprecated-declarations.
Same for itstool in lightdm. It is not used during a normal build, only tested
by configure. configure can be fooled with "ITSTOOL=/bin/true ./configure ..."
To finish with lightdm, there is a PATH problem: if the DE is installed in
/opt, (with .desktop file in /usr), it seems the PATH is not set correctly,
and login fails. I guess "source /etc/profile" should be added somewhere...
Not found yet
In /etc/lightdm/Xsession, I have:
echo "Running X session wrapper"
# Load profile
for file in "/etc/profile" "$HOME/.bash_profile"; do
if [ -f "$file" ]; then
echo "Loading profile from $file";
. "$file"
fi
done
I am not sure where I figured out the Xsession. It is not installed by
default. I am attaching what I have.
-- Bruce
#!/bin/sh
#
# LightDM wrapper to run around X sessions.
echo "Running X session wrapper"
# Load profile
for file in "/etc/profile" "$HOME/.bash_profile" "/etc/xprofile"
"$HOME/.xprofile"; do
if [ -f "$file" ]; then
echo "Loading profile from $file";
. "$file"
fi
done
# Load resources
for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
if [ -f "$file" ]; then
echo "Loading resource: $file"
xrdb -merge "$file"
fi
done
# Load keymaps
for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
if [ -f "$file" ]; then
echo "Loading keymap: $file"
setxkbmap `cat "$file"`
XKB_IN_USE=yes
fi
done
# Load xmodmap if not using XKB
if [ -z "$XKB_IN_USE" ]; then
for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
if [ -f "$file" ]; then
echo "Loading modmap: $file"
xmodmap "$file"
fi
done
fi
unset XKB_IN_USE
# Run all system xinitrc shell scripts
xinitdir="/etc/X11/xinit/xinitrc.d"
if [ -d "$xinitdir" ]; then
for script in $xinitdir/*; do
echo "Loading xinit script $script"
if [ -x "$script" -a ! -d "$script" ]; then
. "$script"
fi
done
fi
# Run user xsession shell script
script="$HOME/.xsession"
if [ -x "$script" -a ! -d "$script" ]; then
echo "Loading xsession script $script"
. "$script"
fi
echo "X session wrapper complete, running session $@"
exec $@
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page