Skip to content

Instantly share code, notes, and snippets.

@ravimisra
Last active May 28, 2019 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravimisra/4bf015072a70e288674337f6be884950 to your computer and use it in GitHub Desktop.
Save ravimisra/4bf015072a70e288674337f6be884950 to your computer and use it in GitHub Desktop.
Removing lubuntu-desktop completely from Ubuntu 18.10
#!/bin/bash
# extracted list form /var/log/dpkg.log.*
# https://packages.ubuntu.com/bionic/amd64/lubuntu-desktop
sudo apt-get purge --remove -y \
gnumeric-common \
libgsf-1-common \
libgsf-1-114 \
libgoffice-0.10-10-common \
libgoffice-0.10-10 \
pxlib1 \
gnumeric \
libindicator7 \
libappindicator1 \
libbonobo2-common \
liborbit-2-0 \
libbonobo2-0 \
libglade2-0 \
libgnome-keyring-common \
libgnome-keyring0 \
libido-0.1-0 \
lightdm \
sgml-base \
libvo-aacenc0 \
libvo-amrwbenc0 \
abiword-common \
libchamplain-0.12-0 \
libchamplain-gtk-0.12-0 \
libwv-1.2-4 \
libabiword-3.0 \
libloudmouth1-0 \
libots0 \
libtelepathy-glib0 \
libtidy5 \
abiword \
link-grammar-dictionaries-en \
minisat \
liblink-grammar5 \
abiword-plugin-grammar \
audacious-plugins-data \
libaudcore5 \
libaudgui5 \
libaudtag3 \
libcue1 \
libfluidsynth1 \
libmms0 \
libmodplug1 \
libsidplayfp4 \
audacious-plugins \
audacious \
libxfce4util-common \
libxfce4util7 \
libxfce4panel-2.0-4 \
libxfce4ui-common \
xfconf \
libxfconf-0-2 \
libxfce4ui-2-0 \
xfce4-notifyd \
lubuntu-icon-theme \
gir1.2-appindicator3-0.1 \
blueman \
xml-core \
sgml-data \
docbook-xml \
libfcitx-utils0 \
libfcitx-config4 \
libfcitx-core0 \
libgettextpo0 \
fcitx-bin \
fcitx-data \
libpresage-data \
libpresage1v5 \
fcitx-modules \
fcitx \
fcitx-config-common \
libfcitx-gclient1 \
fcitx-config-gtk \
fcitx-config-gtk2 \
fcitx-frontend-all \
fcitx-module-dbus \
fcitx-frontend-gtk2 \
fcitx-frontend-gtk3 \
fcitx-frontend-qt4 \
libfcitx-qt5-1 \
fcitx-frontend-qt5 \
fcitx-module-kimpanel \
fcitx-module-lua \
fcitx-module-x11 \
fcitx-ui-classic \
libffmpegthumbnailer4v5 \
ffmpegthumbnailer \
freepats \
galculator \
gconf2-common \
libgconf-2-4 \
gconf-service-backend \
gconf-service \
gconf2 \
gdebi-core \
gdebi \
libgeoclue0 \
libnm-util2 \
libnm-glib4 \
geoclue \
geoclue-ubuntu-geoip \
libimlib2 \
giblib1 \
libuchardet0 \
libmpv1 \
gnome-mpv \
gnome-screensaver \
gnome-themes-standard \
gnumeric-doc \
gpicview \
libgssdp-1.0-3 \
libgupnp-1.0-4 \
libgupnp-igd-1.0-4 \
libnice10 \
gstreamer1.0-nice \
gtk2-engines \
gtklp \
libgucharmap-2-90-7 \
gucharmap \
libpanel-applet3 \
indicator-applet \
indicator-common \
indicator-application \
indicator-application-gtk2 \
libaccounts-glib0 \
liburl-dispatcher1 \
indicator-datetime \
liblightdm-gobject-1-0 \
indicator-keyboard \
indicator-messages \
indicator-power \
indicator-session \
leafpad \
libgnomevfs2-common \
libgnomevfs2-0 \
libgnome2-common \
libgnome-2-0 \
libgnomecanvas2-common \
libgnomecanvas2-0 \
libbonoboui2-common \
libbonoboui2-0 \
libburn4 \
libcompfaceg1 \
libde265-0 \
libept1.5.0 \
libexo-common \
libexo-helpers \
libexo-2-0 \
libexo-1-0 \
libserd-0-0 \
libsord-0-0 \
libsratom-0-0 \
liblilv-0-0 \
libmjpegutils-2.1-0 \
libmpeg2encpp-2.1-0 \
libmplex2-2.1-0 \
libofa0 \
libsoundtouch1 \
libsrtp2-1 \
libwildmidi-config \
libwildmidi2 \
libzbar0 \
gstreamer1.0-plugins-bad \
libfarstream-0.2-5 \
libfm-extra4 \
libmenu-cache-bin \
libmenu-cache3 \
libfm-data \
lxmenu-data \
libfm4 \
libfm-gtk-data \
libfm-gtk4 \
libfm-modules \
libprotobuf-c1 \
libgadu3 \
libgnomeui-common \
libgnomeui-0 \
libpango-perl \
libgtk2-perl \
libgtkmm-3.0-1v5 \
libjte1 \
libisofs6 \
libjpeg-turbo-progs \
libkeybinder0 \
libmeanwhile1 \
libobt2v5 \
libobrender32v5 \
system-tools-backends \
liboobs-1-5 \
libusb-0.1-4 \
libpisock9 \
libportaudio2 \
pidgin-data \
libzephyr4 \
libpurple0 \
libpurple-bin \
libwvstreams4.6-base \
libwvstreams4.6-extras \
libuniconf4.6 \
libunique-1.0-0 \
libunity-settings-daemon1 \
libwnck-common \
libwnck22 \
libxfce4ui-1-0 \
libxfce4util-bin \
light-locker \
light-locker-settings \
lightdm-gtk-greeter \
lightdm-gtk-greeter-settings \
lubuntu-artwork-18-04 \
lubuntu-lxpanel-icons \
lubuntu-artwork \
ttf-ubuntu-font-family \
lubuntu-default-settings \
lubuntu-default-session \
policykit-1-gnome \
gnome-system-tools \
libguvcview-2.0-2 \
guvcview \
indicator-sound \
indicator-sound-gtk2 \
lxpanel-data \
lxpanel \
lxsession-data \
lxpolkit \
xscreensaver-data \
xscreensaver \
lxlock \
lxsession-logout \
lxsession \
lxterminal \
openbox \
pcmanfm \
plymouth-theme-lubuntu-logo \
plymouth-theme-lubuntu-text \
xserver-xorg-input-synaptics \
lubuntu-gtk-core \
lxappearance \
lxappearance-obconf \
lxhotkey-core \
lxhotkey-gtk \
lxhotkey-plugin-openbox \
lxinput \
lxlauncher \
lxpanel-indicator-applet-plugin \
lxrandr \
lxsession-default-apps \
lxshortcut \
lxtask \
mtpaint \
obconf \
pavucontrol \
pidgin \
pinentry-gtk2 \
scrot \
sylpheed \
sylpheed-doc \
sylpheed-i18n \
sylpheed-plugins \
synaptic \
wvdial \
xfburn \
xfce4-power-manager-data \
xfce4-power-manager \
xfce4-power-manager-plugins \
xpad \
lubuntu-gtk-desktop \
lubuntu-desktop \
lxde-common \
openbox-lxde-session \
lxde-core \
lxhotkey-data \
mpv \
neofetch \
openbox-menu \
pastebinit \
pidgin-libnotify \
python3-pyxattr \
librarian0 \
rarian-compat \
ubuntu-touch-sounds \
unity-settings-daemon \
unity-greeter \
xfonts-100dpi \
libwebcam0 \
obsession \
phantomjs \
presage \
rtmpdump \
uvcdynctrl-data \
uvcdynctrl \
youtube-dl
sudo apt install --reinstall -y gdm3
sudo reboot
@hugronaphor
Copy link

Awesome, Thanks

@jeroig
Copy link

jeroig commented May 6, 2019

Thanks, work like a charm! :bowtie:

@johanespeter9
Copy link

thanks so much it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment