-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathuninstall_x11.sh
More file actions
19 lines (18 loc) · 872 Bytes
/
uninstall_x11.sh
File metadata and controls
19 lines (18 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
sudo apt-get update 2>&1 | dialog --title "Updating package database..." --infobox "\nPlease wait...\n" 11 70
dialog --title "Uninstalling X11, LXDE-core and Chromium" --infobox "\nThise will take some time so please wait...\n" 11 70
sudo apt-get -y --purge remove lxde-core xserver-xorg xinit fbi openbox gconf-service libgconf-2-4 xdg-utils xwit xdotool x11-utills xvkbd zenity xterm
sudo dpkg -r chromium-browser
sudo dpkg -r chromium-codecs-ffmpeg-extra
sudo apt-get -y --purge autoremove
rm -rf x11-start
rm -rf Desktop
rm -rf .config/lx*
rm -rf .config/chromium
rm -rf .config/openbox
rm -rf .config/pcmanfm
rm -rf .kodi/addons/plugin.program.x11-launcher
sudo rm -f /etc/alternatives/desktop-background
xbmc-send -a "UpdateLocalAddons" >/dev/null
dialog --title "Uninstallation finnished!" --msgbox "\nThank you for using my uninstaller\n" 11 70
exit