Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to uninstall lxde and change xfce4 for raspberry pie

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to uninstall LXDE and change XFCE4 for Raspberry Pi. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.

Lxde desktop is very uncomfortable to use, directly replace xfce4

First uninstall lxde

sudo apt-get autoremove --purge lxde lxde-common lxde-core lxde-icon-theme galculator leafpad lxappearance lxappearance-obconf lxrandr

Install xfce4

sudo apt-get install xfce4 xfce4-goodies

View the default window manager

sudo update-alternatives --display x-window-managerx-window-manager -automatic mode link currently points to/usr/bin/openbox/usr/bin/openbox -priority 90 minor x-window-manager.1.gz:/usr/share/man/man1/openbox.1.gz/usr/bin/xfwm4 -priority 60 minor x-window-manager.1.gz:/usr/share/man/man 1/xfwm4.1.gz The current "best" version is/usr/bin/openbox.

Change window manager to xfwm4

sudo update-alternatives --config x-window-manager There are 2 candidates for replacing x-window-manager (provide/usr/bin/x-window-manager). select path Priority Status------------------------------------------------------------ /usr/bin/openbox 90 Auto Mode 1 /usr/bin/openbox 90 Manual Mode 2 /usr/bin/xfwm4 60 Manual mode To maintain the current value [*] press Enter, or type the selected number: 2 #here select xfwm4update-alternatives for 2 xfce: Use/usr/bin/xfwm4 to provide/usr/bin/x-window-manager (x-window-manager) in manual mode

vnc remote desktop to xfce4, modify the current vnc user home directory vnc file

vim ~/.vnc/xstartup#!/ bin/shxrdb $HOME/.Xresourcesxsetroot -solid grey#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &#x-window-manager &# Fix to make GNOME work#export XKL_XMODMAP_DISABLE=1#/etc/X11/Xsession#followed by start xfce4 table unset SESSION_MANAGERstartxfce4 &

The ones configured by myself at the back, the original lxde stuff can be deleted some more.

About how to uninstall LXDE and change XFCE4 on the Raspberry Pi, I hope the above content can be of some help to everyone and learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report