In April 2015 I was playing around with different desktops. Normally I have KDE but tried others and recently I see that there are gnome folders, Xfcr, etc. left behind. How can I cleanup this situation? Maybe I can't?
Announcement
Collapse
No announcement yet.
How to clear all gnome out of KDE that I once tried
Collapse
This topic is closed.
X
X
-
Perhaps, perhaps not. It depends on what you are willing to do without. There may be some apps built with GTK+ that you feel you cannot do without, or that does not have an equal of better Qt replacement.
I don't like the gtk+ toolkit for a variety of reasons, the primary one being that because, as weberc2 puts it:
Programming in GTK is a huge pain because it's built off of GObject, which is a miserable attempt to shoehorn OO concepts into C. Qt just uses C++, which supports OO (and other paradigms) out of the box. C++ may not be perfect, but GObject just sets the bar soooo very low.
I've never bothered to see what GTK+ apps and libraries are installed on a pristine Kubuntu (or Neon) ISO, but you can use the following command to see what gtk libraries you already have installed on your system:
sudo dpkg --get-selections | grep gtk > /home/youraccoutnamehere/gtkpackages
On my installation of Kubuntu 16.04 fully updated it gave:
Code::~$ cat gtkpackages alsaplayer-gtk install gir1.2-gtk-3.0:amd64 install gir1.2-javascriptcoregtk-3.0:amd64 install gtk2-engines-oxygen:amd64 install gtk2-engines-pixbuf:amd64 install gtk3-engines-breeze install kde-config-gtk-style install kde-config-gtk-style-preview install libdbusmenu-gtk4:amd64 install libgtk-3-0:amd64 install libgtk-3-bin install libgtk-3-common install libgtk2-perl install libgtk2.0-0:amd64 install libgtk2.0-bin install libgtk2.0-common install libgtkglext1:amd64 install libjavascriptcoregtk-3.0-0:amd64 install libjavascriptcoregtk-4.0-18:amd64 install libwebkit2gtk-4.0-37:amd64 install libwebkit2gtk-4.0-37-gtk2:amd64 install libwebkitgtk-3.0-0:amd64 install libwebkitgtk-3.0-common install libwxgtk3.0-0v5:amd64 install python-gtk2 install python-wxgtk3.0 install winff-gtk2 install
If you have any gtk libraries of packages on your system and you want to remove them it would be best to checks their reverse dependencies and see what other apps or libraries depend upon them. For example, if I wanted to remove winff-gtk2:
Code::~$ apt-cache rdepends winff-gtk2 winff-gtk2 Reverse Depends: |winff-dbg |winff
But,
Code::~$ apt-cache rdepends winff winff Reverse Depends: winff-gtk2 winff-qt winff-qt winff-qt winff-gtk2 winff-doc winff-gtk2
You can use the "apt-cache rdepends 'somepackagename'" to see what it depends on, and decide if you want to remove it. Be aware, thought, that some seemingly unrelated packages can "depend" on the entire kubuntu-desktop. To remove them would remove it. If that happens you can use sudo apt install kubuntu-desktop to restore it. All other apps you had previously installed that were not part of the desktop will have to be reinstalled.
Notice, for example that one of the gtk libraries installed on my Kubuntu is libdbusmenu-gtk4:
Code::~$ apt-cache rdepends libdbusmenu-gtk4 libdbusmenu-gtk4 Reverse Depends: gir1.2-dbusmenu-gtk-0.4 thunderbird libdbusmenu-gtk-dev gir1.2-dbusmenu-gtk-0.4 firefox indicator-sound-gtk2 indicator-application-gtk2 thunderbird libdbusmenu-gtk-dev libappindicator1 firefox
Have fun! (but be careful!)Last edited by GreyGeek; Oct 22, 2016, 12:51 PM."A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
-
Thanks.
I can't remember how I did it but one time I did accidentally remove kubuntu-desktop. I had to use a terminal command to re-install.
Originally posted by GreyGeek View PostPerhaps, perhaps not. It depends on what you are willing to do without. There may be some apps built with GTK+ that you feel you cannot do without, or that does not have an equal of better Qt replacement.
I don't like the gtk+ toolkit for a variety of reasons, the primary one being that because, as weberc2 puts it:
I spent nearly the last decade of my professional programming career writing inhouse Qt apps. Besides OOP, Qt's "signals & slots" blows GTK+'s callback functions out of the water in power and ease of use. Qt: logically designed, powerful, beautiful. IMO.
I've never bothered to see what GTK+ apps and libraries are installed on a pristine Kubuntu (or Neon) ISO, but you can use the following command to see what gtk libraries you already have installed on your system:
sudo dpkg --get-selections | grep gtk > /home/youraccoutnamehere/gtkpackages
On my installation of Kubuntu 16.04 fully updated it gave:
Code::~$ cat gtkpackages alsaplayer-gtk install gir1.2-gtk-3.0:amd64 install gir1.2-javascriptcoregtk-3.0:amd64 install gtk2-engines-oxygen:amd64 install gtk2-engines-pixbuf:amd64 install gtk3-engines-breeze install kde-config-gtk-style install kde-config-gtk-style-preview install libdbusmenu-gtk4:amd64 install libgtk-3-0:amd64 install libgtk-3-bin install libgtk-3-common install libgtk2-perl install libgtk2.0-0:amd64 install libgtk2.0-bin install libgtk2.0-common install libgtkglext1:amd64 install libjavascriptcoregtk-3.0-0:amd64 install libjavascriptcoregtk-4.0-18:amd64 install libwebkit2gtk-4.0-37:amd64 install libwebkit2gtk-4.0-37-gtk2:amd64 install libwebkitgtk-3.0-0:amd64 install libwebkitgtk-3.0-common install libwxgtk3.0-0v5:amd64 install python-gtk2 install python-wxgtk3.0 install winff-gtk2 install
If you have any gtk libraries of packages on your system and you want to remove them it would be best to checks their reverse dependencies and see what other apps or libraries depend upon them. For example, if I wanted to remove winff-gtk2:
Code::~$ apt-cache rdepends winff-gtk2 winff-gtk2 Reverse Depends: |winff-dbg |winff
But,
Code::~$ apt-cache rdepends winff winff Reverse Depends: winff-gtk2 winff-qt winff-qt winff-qt winff-gtk2 winff-doc winff-gtk2
You can use the "apt-cache rdepends 'somepackagename'" to see what it depends on, and decide if you want to remove it. Be aware, thought, that some seemingly unrelated packages can "depend" on the entire kubuntu-desktop. To remove them would remove it. If that happens you can use sudo apt install kubuntu-desktop to restore it. All other apps you had previously installed that were not part of the desktop will have to be reinstalled.
Notice, for example that one of the gtk libraries installed on my Kubuntu is libdbusmenu-gtk4:
Code::~$ apt-cache rdepends libdbusmenu-gtk4 libdbusmenu-gtk4 Reverse Depends: gir1.2-dbusmenu-gtk-0.4 thunderbird libdbusmenu-gtk-dev gir1.2-dbusmenu-gtk-0.4 firefox indicator-sound-gtk2 indicator-application-gtk2 thunderbird libdbusmenu-gtk-dev libappindicator1 firefox
Have fun! (but be careful!)
- Top
- Bottom
Comment
-
I ran the command but I had to change a few things, I guess my folder hierarchy is different from yours. Apparently there isn't enough to spend time worrying about.
This is what I got --
Code:myname@urdrwho:~$ sudo dpkg --get-selections | grep gtk apport-gtk install gir1.2-dbusmenu-gtk-0.4 install gir1.2-gtk-3.0 install gir1.2-gtksource-3.0 install gir1.2-javascriptcoregtk-3.0 install gtk2-engines:amd64 install gtk2-engines-murrine:amd64 install gtk2-engines-oxygen:amd64 install gtk2-engines-pixbuf:amd64 install gtk3-engines-oxygen:amd64 install gtk3-engines-unico:amd64 install gtkorphan install kde-config-gtk-style install libcanberra-gtk3-0:amd64 install libcanberra-gtk3-module:amd64 install libcheese-gtk23:amd64 install libclutter-gtk-1.0-0:amd64 install libdbusmenu-gtk3-4:amd64 install libdbusmenu-gtk4:amd64 install libgtk-3-0:amd64 install libgtk-3-bin install libgtk-3-common install libgtk2-gladexml-perl install libgtk2-perl install libgtk2.0-0:amd64 install libgtk2.0-bin install libgtk2.0-common install libgtkglext1 install libgtksourceview-3.0-1:amd64 install libgtksourceview-3.0-common install libjavascriptcoregtk-3.0-0:amd64 install libnm-gtk-common install libnm-gtk0 install libwebkitgtk-3.0-0:amd64 install libwebkitgtk-3.0-common install lightdm-gtk-greeter install python-aptdaemon.gtk3widgets install python-gtk2 install
- Top
- Bottom
Comment
Comment