```
#删除配置文件
$ rm -rf ~/.config/lxpanel/LXDE-pi
#重启
$ sudo reboot
```
还不行的话把下面文档复制到一个文本,命名为panel
放到~/.config/lxpanel/LXDE-pi/panels/下成功了
```
# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.
Global {
edge=top
align=left
margin=0
widthtype=percent
width=100
height=36
transparent=0
tintcolor=#000000
alpha=0
autohide=0
heightwhenhidden=2
setdocktype=1
setpartialstrut=1
usefontcolor=0
fontsize=12
fontcolor=#ffffff
usefontsize=0
background=0
backgroundfile=/usr/share/lxpanel/images/background.png
iconsize=36
monitor=0
point_at_menu=0
}
Plugin {
type=menu
Config {
padding=4
image=start-here
system {
}
separator {
}
item {
image=system-run
command=run
}
separator {
}
item {
image=system-shutdown
command=logout
}
}
}
Plugin {
type=space
Config {
Size=4
}
}
Plugin {
type=launchbar
Config {
Button {
id=lxde-x-www-browser.desktop
}
Button {
id=pcmanfm.desktop
}
Button {
id=lxterminal.desktop
}
}
}
Plugin {
type=space
Config {
Size=8
}
}
Plugin {
type=taskbar
expand=1
Config {
tooltips=1
IconsOnly=0
ShowAllDesks=0
UseMouseWheel=1
UseUrgencyHint=1
FlatButton=0
MaxTaskWidth=200
spacing=1
GroupedTasks=0
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=tray
Config {
}
}
Plugin {
type=ejecter
Config {
AutoHide=1
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=bluetooth
Config {
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=dhcpcdui
Config {
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=volumealsabt
Config {
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=dclock
Config {
ClockFmt=%R
TooltipFmt=%A %x
BoldFont=0
IconOnly=0
CenterText=1
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=ptbatt
Config {
}
}
Plugin {
type=space
Config {
Size=2
}
}
Plugin {
type=magnifier
Config {
}
}
Plugin {
type=ejecter
Config {
}
}
Plugin {
type=cpufreq
Config {
}
}
Plugin {
type=cpu
Config {
}
}
Plugin {
type=cputemp
Config {
}
}
Plugin {
type=bluetooth
Config {
}
}
Plugin {
type=netstatus
Config {
}
}
```