Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

How to completely remove XFCE

Help for Current Versions of MX
User avatar
tompearce
Forum Novice
Forum  Novice
Posts: 2
Joined: Sat Oct 20, 2018 10:53 pm

How to completely remove XFCE

#1

Post by tompearce » Sat Oct 20, 2018 11:14 pm

Hi, I installed Mate form package installer, then I tried to remove the MX default Desktop Environments (xfce) using the Terminal - and nothing happened. i can't fine the default installed DE in packagers.
I typed:

sudo apt-get remove xfce4 (nothing happened)
sudo apt-get remove desktop-defaults-xfce-mx17 (still get the xfce packages)

how to completely replace xfce with mate? and how to completely remove xfce from MX with all the xfce packages like terminal and xfce power manager etc.. , and replace them with Mate DE

User avatar
Gordon Cooper
Forum Guide
Forum Guide
Posts: 2317
Joined: Mon Nov 21, 2011 5:50 pm

Re: How to completely remove XFCE

#2

Post by Gordon Cooper » Sun Oct 21, 2018 12:05 am

Hi Tom welcome to the MX group. I have not tried using Mate, Section 6.3 of the User Manual may help you, doubt if you can completely remove xfce.


PS. I used to work with a guy named Tom Pearce but that was over 50 years ago and he was about 50 then , so it can't be you.
Primary: Dell9010, MX-18, Win7, 120 SSD, WD 232GIB HD, 4GB RAM
Backup :Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
MX-17.1 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 7519
Joined: Wed Jul 12, 2006 2:10 am

Re: How to completely remove XFCE

#3

Post by Eadwine Rose » Sun Oct 21, 2018 3:35 am

OK maybe I am asking a dumb question but there is no such thing so...

why remove the XFCE? Surely you cannot be using a harddrive so small that it needs removing?
MX-18_x64 20-12-2018 * 4.19.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 390.87 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingston * Samsung S24D330 & P2250 * HP Envy5030

User avatar
baldyeti
Forum Regular
Forum Regular
Posts: 185
Joined: Sat Dec 05, 2009 4:37 pm

Re: How to completely remove XFCE

#4

Post by baldyeti » Sun Oct 21, 2018 3:47 am

xfce4 is just a bundle that makes it easy to install a typical default XFCE desktop, yet does not remove its dependencies when uninstalled.
I am sure people who have remastered MX for other DE's will have more detailed answers, but you can start by listing installed xfce4 packages:

Code: Select all

dpkg -l xfce4* | grep "^ii" 
There are packages whose names does not start with xfce which you may also want to uninstall (e.g. xfwm) but this should get you started.
I'd advise taking a backup or snapshot before uninstalling a massive amount of packages.

User avatar
sdibaja
Forum Novice
Forum  Novice
Posts: 58
Joined: Fri May 25, 2018 9:55 pm

Re: How to completely remove XFCE

#5

Post by sdibaja » Sun Oct 21, 2018 9:22 am

this is a different base, but similar situation with SolydX

maybe there will be some help needed in this post, and elsewhere in the thread:

https://forums.solydxk.com/viewtopic.ph ... 662#p65499

best of luck!

PS: I went back to Debian Mate, but I do miss the MX tools.
Peter E.
Baja California, Mexico.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24222
Joined: Wed Jul 19, 2006 6:13 am

Re: How to completely remove XFCE

#6

Post by Jerry3904 » Sun Oct 21, 2018 9:44 am

Do a web search on your subject line, lots of useful answers.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9542
Joined: Wed Jul 12, 2006 2:26 pm

Re: How to completely remove XFCE

#7

Post by kmathern » Sun Oct 21, 2018 9:54 am

This looks like it will completely remove XFCE on my MX-16 install:

Code: Select all

dpkg -l | grep .*xfce.* | awk '{print $2}' | xargs sudo apt-get purge -V --auto-remove --force-yes -y --trivial-only
And shown below is a simulated run of it.
Remove the "--trivial-only" option at the end to do it for real.

Code: Select all

$ dpkg -l | grep .*xfce.* | awk '{print $2}' | xargs sudo apt-get purge -V --auto-remove --force-yes -y --trivial-only
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
   blueman* (2.0.4-1mx150+1)
   desktop-defaults-xfce-mx16* (0.3.16.0.14)
   elementary-xfce-icon-theme* (0.13-1)
   exo-utils* (0.11.2-1mx15+1)
   gstreamer0.10-alsa* (0.10.36-2)
   gtk2-engines-xfce* (3.2.0-2mx150+1)
   gtkhash* (0.7.0-2)
   gtkhash-common* (0.7.0-2)
   libexo-1-0* (0.11.2-1mx15+1)
   libexo-2-0* (0.11.2-1mx15+1)
   libgarcon-1-0* (0.4.0-1mx150+1)
   libkeybinder-3.0-0* (0.3.0-1)
   libthunarx-2-0* (1.6.12-1mx15+1)
   libunique-1.0-0* (1.1.6-5)
   libwnck-3-0* (3.4.9-3)
   libwnck-3-common* (3.4.9-3)
   libxfce4panel-2.0-4* (4.12.1-0mx15+1)
   libxfce4ui-1-0* (4.12.1-1mx150+1)
   libxfce4ui-2-0* (4.12.1-1mx150+1)
   libxfce4ui-common* (4.12.1-1mx150+1)
   libxfce4util-common* (4.12.1-1mx150+1)
   libxfce4util7* (4.12.1-1mx150+1)
   libxfcegui4-4* (4.10.0-2mx150+1)
   libxfconf-0-2* (4.12.0-0mx150+1)
   mx-adwaita-dark-xfce-themes* (16.10mx16)
   mx-defaultlook* (17.06mx16)
   mx-welcome* (17.6mx16)
   orage* (4.12.1-1mx150+1)
   thunar* (1.6.12-1mx15+1)
   thunar-archive-plugin* (0.3.1-4mx150+2)
   thunar-gtkhash* (0.7.0-2)
   thunar-volman* (0.8.1-1mx150+1)
   xfburn* (0.5.5-1~mx15+1)
   xfce-keyboard-shortcuts* (4.12.1-1mx150+1)
   xfce4-appfinder* (4.12.0-0mx150+1)
   xfce4-battery-plugin* (1.0.5-2mx150+1)
   xfce4-cellmodem-plugin* (0.0.5-5mx150+2)
   xfce4-clipman* (1.2.6-1mx150+1)
   xfce4-clipman-plugin* (1.2.6-1mx150+1)
   xfce4-cpufreq-plugin* (1.1.2-1mx150+1)
   xfce4-cpugraph-plugin* (1.0.5-1mx150+1)
   xfce4-datetime-plugin* (0.6.2-1mx150+1)
   xfce4-dict* (0.7.1-1mx150+1)
   xfce4-diskperf-plugin* (2.5.5-1mx150+1)
   xfce4-fsguard-plugin* (1.0.2-1mx150+1)
   xfce4-genmon-plugin* (3.4.0-2mx150+1)
   xfce4-hotcorner-plugin* (0.0.2-1mx150+1)
   xfce4-mailwatch-plugin* (1.2.0-2mx150+1)
   xfce4-messenger-plugin* (0.1.0-6mx150+1)
   xfce4-mixer* (4.11.0-1mx150+1)
   xfce4-mount-plugin* (0.6.7-1mx150+1)
   xfce4-netload-plugin* (1.2.4-0mx150+1)
   xfce4-notes* (1.8.1-1mx150+2)
   xfce4-notes-plugin* (1.8.1-1mx150+2)
   xfce4-notifyd* (0.2.4-2mx150+1)
   xfce4-panel* (4.12.1-0mx15+1)
   xfce4-places-plugin* (1.7.0-1mx150+1)
   xfce4-power-manager* (1.5.2-0mx150+1)
   xfce4-power-manager-data* (1.5.2-0mx150+1)
   xfce4-power-manager-plugins* (1.5.2-0mx150+1)
   xfce4-pulseaudio-plugin* (0.2.4-1mx150+1)
   xfce4-quicklauncher-plugin* (1.9.4-11mx150+1)
   xfce4-screenshooter* (1.8.2-0mx150+1)
   xfce4-screenshooter-plugin* (1.8.2-0mx150+1)
   xfce4-sensors-plugin* (1.2.6-1mx150+2)
   xfce4-session* (4.12.1-1mx150+1)
   xfce4-settings* (4.12.3-1~mx15+1)
   xfce4-smartbookmark-plugin* (0.4.6-1mx150+1)
   xfce4-systemload-plugin* (1.1.2-0mx150+1)
   xfce4-taskmanager* (1.1.0-0mx150+1)
   xfce4-terminal* (0.8.0-1mx150+1)
   xfce4-timer-plugin* (1.6.0-1mx150+1)
   xfce4-verve-plugin* (1.1.0-1mx150+1)
   xfce4-volumed* (0.2.0-0mx150+1)
   xfce4-wavelan-plugin* (0.5.12-1mx150+1)
   xfce4-weather-plugin* (0.8.10-1~mx15+1)
   xfce4-whiskermenu-plugin* (1.7.5-0.1~mx15+1)
   xfce4-xkb-plugin* (0.7.1-2mx150+1)
   xfconf* (4.12.0-0mx150+1)
   xfdesktop4* (4.12.3-3mx15+1)
   xfdesktop4-data* (4.12.3-3mx15+1)
   xfwm4* (4.12.3-1mx150+2)
E: Trivial Only specified but this is not a trivial operation.
0 upgraded, 0 newly installed, 82 to remove and 0 not upgraded.
After this operation, 93 MB disk space will be freed.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24222
Joined: Wed Jul 19, 2006 6:13 am

Re: How to completely remove XFCE

#8

Post by Jerry3904 » Sun Oct 21, 2018 10:10 am

Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

rasat
Forum Regular
Forum Regular
Posts: 222
Joined: Tue Dec 19, 2017 1:19 pm

Re: How to completely remove XFCE

#9

Post by rasat » Sat Jan 05, 2019 9:01 am

Jerry3904 wrote:
Sun Oct 21, 2018 10:10 am
Good one--put that in the Wiki
https://mxlinux.org/wiki/xfce/how-compl ... emove-xfce
Did anyone try this string, posted in wiki? This is used when replacing Xfce with another desktop but still using lightdm as login. Didn't work for me after installing Gnome and removing Xfce. The boot hang up before login screen (not sure if its due to my "apt-get dist-upgrade" buster which works otherwise well). The string removed these packages:

Code: Select all

dpkg -l | grep .*xfce.* | awk '{print $2}' | xargs sudo apt-get purge -V --auto-remove --force-yes -y 

The following packages will be REMOVED:
   desktop-defaults-mx-applications* (18.11.02)
   desktop-defaults-mx-common* (18.12.04)
   desktop-defaults-xfce-mx17* (18.12.06)
   exo-utils* (0.12.3-1)
   gtkhash* (1.2-1)
   libb2-1* (0.98-1)
   libexo-1-0* (0.12.3-1)
   libexo-2-0* (0.12.3-1)
   libexo-common* (0.12.3-1)
   libexo-helpers* (0.12.3-1)
   libthunarx-3-0* (1.8.2-1)
   libxfce4ui-1-0* (4.12.1-3)
   libxfce4ui-2-0* (4.12.1-3)
   libxfce4ui-common* (4.12.1-3)
   libxfce4util-common* (4.12.1-3)
   libxfce4util7* (4.12.1-3)
   libxfconf-0-2* (4.12.1-1)
   thunar* (1.8.2-1)
   thunar-archive-plugin* (0.4.0-2)
   thunar-gtkhash* (1.2-1)
   thunar-volman* (0.9.1-1)
   xfburn* (0.5.5-2)
   xfce4-session* (4.12.1-6)
   xfconf* (4.12.1-1)
   xfdesktop4* (4.12.4-2)
Last edited by rasat on Sat Jan 05, 2019 9:07 am, edited 1 time in total.

User avatar
richb
Administrator
Posts: 18514
Joined: Wed Jul 12, 2006 2:17 pm

Re: How to completely remove XFCE

#10

Post by richb » Sat Jan 05, 2019 9:05 am

Please paste code text beween code-tags ( [code] text goes here [/code] ) rather than quote tags. It is the </> at the top of the post block.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

Post Reply

Return to “MX Help”