mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-22 18:20:30 +08:00
update mk_xfce.sh
This commit is contained in:
parent
6f317ff786
commit
5330c766a9
12
mk_xfce.sh
12
mk_xfce.sh
@ -735,19 +735,11 @@ if [ "${with_xfce_test}" = true ]; then
|
||||
|
||||
apt install libstartup-notification0 -y
|
||||
apt install libupower-glib3 -y
|
||||
apt install xfconf -y
|
||||
|
||||
# 配置文件更新
|
||||
echo "exec startxfce4" >> /etc/xrdp/xrdp.ini
|
||||
echo "xfce4-session" > ~/.xsession
|
||||
# apt install xfconf -y
|
||||
|
||||
# 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"
|
||||
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\"" >> /etc/environment
|
||||
echo "LD_LIBRARY_PATH=\"${libdir}/lib:${libdir}/local/lib:${libdir}/lib/x86_64-linux-gnu\" xfce4-session" > ~/.xsession
|
||||
|
||||
# 重启系统,然后可以利用 windows 下 remote desktop 体验最新版本的 xfce4 了, 最新版本的 xfce4 还是很漂亮的
|
||||
# reboot
|
||||
|
Loading…
Reference in New Issue
Block a user