update mk_xfce.sh

This commit is contained in:
superconvert 2022-08-18 22:49:24 +08:00
parent 6f317ff786
commit 5330c766a9

View File

@ -735,19 +735,11 @@ if [ "${with_xfce_test}" = true ]; then
apt install libstartup-notification0 -y apt install libstartup-notification0 -y
apt install libupower-glib3 -y apt install libupower-glib3 -y
apt install xfconf -y # apt install xfconf -y
# 配置文件更新
echo "exec startxfce4" >> /etc/xrdp/xrdp.ini
echo "xfce4-session" > ~/.xsession
# xfdesktop 需要库的路径, xfdesktop 不能运行,基本上桌面就是黑屏了,可能有 dock 栏和最上面的状态栏 # xfdesktop 需要库的路径, xfdesktop 不能运行,基本上桌面就是黑屏了,可能有 dock 栏和最上面的状态栏
# echo "/root/test/a/usr/lib" > /etc/ld.so.conf.d/xfce4.conf
# echo "/root/test/a/usr/local/lib" >> /etc/ld.so.conf.d/xfce4.conf
# echo "/root/test/a/usr/lib/x86_64-linux-gnu" >> /etc/ld.so.conf.d/xfce4.conf
libdir=`pwd`"/a/usr" libdir=`pwd`"/a/usr"
echo "XDG_CONFIG_HOME=\"/usr/local/etc/xdg\"" >> /etc/environment echo "LD_LIBRARY_PATH=\"${libdir}/lib:${libdir}/local/lib:${libdir}/lib/x86_64-linux-gnu\" xfce4-session" > ~/.xsession
echo "LD_LIBRARY_PATH=\"${libdir}/lib:${libdir}/local/lib:${libdir}/lib/x86_64-linux-gnu\"" >> /etc/environment
# 重启系统,然后可以利用 windows 下 remote desktop 体验最新版本的 xfce4 了, 最新版本的 xfce4 还是很漂亮的 # 重启系统,然后可以利用 windows 下 remote desktop 体验最新版本的 xfce4 了, 最新版本的 xfce4 还是很漂亮的
# reboot # reboot