删除ubuntu中多余的主题和背景文件

提示,这个会删除ubuntu中多余多主题,所以如果有需要请提前备份一下

 将下面的命令保存为一个文本文件

rm -rf /usr/share/themes/Metabox/
rm -rf /usr/share/themes/Esco/
rm -rf /usr/share/themes/Bright/
rm -rf /usr/share/themes/Atlanta/
rm -rf /usr/share/themes/AgingGorilla/
rm -rf /usr/share/themes/Simple/
rm -rf /usr/share/themes/ThinIce/
rm -rf /usr/share/themes/Redmond/
rm -rf /usr/share/themes/Raleigh/
rm -rf /usr/share/themes/Industrial/
rm -rf /usr/share/themes/New\ Wave\ Dark\ Menus/
rm -rf /usr/share/themes/Crux/
rm -rf /usr/share/themes/HighContrastLargePrintInverse/
rm -rf /usr/share/themes/HighContrastInverse/
rm -rf /usr/share/themes/New\ Wave
rm -rf /usr/share/themes/Dust\ Sand/
rm -rf /usr/share/themes/Dust/
rm -rf /usr/share/backgrounds/*.jpg
rm -rf /usr/share/backgrounds/contest/

rm -rf /usr/share/backgrounds/cosmos/ 

 

然后sudo chmod +x 保存的文件

然后sudo ./保存的文件

即可删除ubuntu多余多主题和背景了 

你可能感兴趣的:(ubuntu)