Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving from KDE4 to XCFE4
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 683

PostPosted: Tue Jan 10, 2012 7:57 pm    Post subject: Moving from KDE4 to XCFE4 Reply with quote

Hi,
I originally installed KDE4 on my system but it was too slow to be comfortable, so I've got XFCE4 installed now and really like it. I'd like to now remove the kde parts of my system, but keep qt, as I prefer to program using it. How would I go about doing this.

Thanks.
James
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Tue Jan 10, 2012 9:14 pm    Post subject: Reply with quote

Don't do it yet if you don't need the diskspace. I went back to KDE after a few months of XFCE.
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Jan 10, 2012 9:24 pm    Post subject: Reply with quote

Go over /var/lib/portage/world, delete everything you do not need, run emerge -a --depclean.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Thu Jan 12, 2012 7:00 pm    Post subject: Reply with quote

Spanik wrote:
Don't do it yet if you don't need the diskspace. I went back to KDE after a few months of XFCE.

I am afraid you are not right now. Maybe you are a noob!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 12, 2012 9:44 pm    Post subject: Reply with quote

Generally, everyone has the right to have an opinion. However, IMHO it is not proper to be the first to reply and make a non-support post. This disqualifies the thread as "unanswered" and reduces exposure, that's a disservice.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 683

PostPosted: Wed Feb 22, 2012 10:38 pm    Post subject: Reply with quote

Yeah, I didn't find it overly helpful. I'm really liking xfce. It works really well on my four year old laptop, which is the main thing. Still I'd like to clean everything up with something like a
emerge -C kde-base/* but could someone suggest the proper way to do this?

Thanks very much, and KDE users, don't take this the wrong way, I'll still code in QT, just don't have the hardware!
James
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Wed Feb 22, 2012 10:44 pm    Post subject: Reply with quote

What I do when I've switched my DE or WM and decide to get rid of the old one is read through /var/lib/portage/world and unmerge the packages related to my old WM/DE. Then I run emerge -p --depclean, removing the -p switch when I'm satisfied I won't lose something important. If something comes up I don't want unmerged, I just run emerge --noreplace (package) on that package.

If you want to keep qt, well, you probably have the use flags in place for it already. Just leave those use flags there and qt should stick around on its own.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Feb 22, 2012 10:47 pm    Post subject: Reply with quote

emerge -C kdebase-meta or emerge -C kde-meta followed by depclean should do it depending on which one you installed. Any apps that need qt should still pull it. It would also be a good idea to look through your world file and emerge -C any kde programs you installed followed by depclean. As Jaglover stated your world file is located at /var/lib/portage/world.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Wed Feb 22, 2012 11:32 pm    Post subject: Reply with quote

As it has been said above, manually deleting unnecessary applications from /var/lib/portage/world followed by emerge --depclean -a is probably the most sure way.
Back to top
View user's profile Send private message
jathlon
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2006
Posts: 89
Location: Canada

PostPosted: Thu Feb 23, 2012 12:59 am    Post subject: Reply with quote

I also added -kde in /etc/make.conf in the USE settings. I also had default/linux/amd64/10.0/desktop/kde set as my default profile. Changed it to default/linux/amd64/10.0/desktop when I moved over to xfce.

After you think you have all the kde cleaned out, run;

Code:
emerge -uDNpv @world


and watch for anything kde related that portage might want to pull back in. "equery" is your friend here. For any kde related files that portage wants to pull back in, I run;

Code:
equery d <package-atom>


I had a few extra programs installed that were heavily kde based that I forgot about and it took some digging to root them all out and find replacements for them.

I've changed DE a few times and I've never been lucky enough to get away with just an "emerge -C <meta-package> and emerge --depclean". Perhaps you'll get lucky.

joe
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Thu Feb 23, 2012 2:00 am    Post subject: Reply with quote

If you come across any programs that you want to keep (k3b, Rosegarden, and such) that require the +kde use flag, take the use flag out of make.conf and put it in /etc/portage/package.use.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
epsilon72
Guru
Guru


Joined: 20 Sep 2007
Posts: 568

PostPosted: Thu Feb 23, 2012 10:51 pm    Post subject: Reply with quote

When I uninstall KDE I usually first change my profile (which you've already done). I then open my world file, go through it line by line, and emerge -C any KDE packages there. Then a simple emerge -DavuN world followed by emerge --depclean should clean things out.

If you aren't going to be using any KDE applications, a good way to tell if you've completely removed KDE or not is to see if any packages are still pulling in kde-base/kdelibs as a dependency after emerge --depclean. If it's still installed, do
Code:
equery depends kdelibs

to find out what you missed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum