Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]How to change gnome 2 to xfce 4.10.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
caaarlos
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2012
Posts: 108

PostPosted: Sat Jul 27, 2013 10:52 pm    Post subject: [SOLVED]How to change gnome 2 to xfce 4.10. Reply with quote

Hello, how can I change my system to xfce 4.10? I'm using gnome 2, and I want to remove all gnome 2 packages and only use xfce 4.

Last edited by caaarlos on Wed Jul 31, 2013 4:40 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1266

PostPosted: Sat Jul 27, 2013 11:48 pm    Post subject: Reply with quote

Be aware that a certain number of libraries will come along for the ride.

First you will want to adjust your profile and use flags. use eselect profile to set the desktop one instead of gnome. You may also want to set -gnome in your make.conf USE variable. Next, you probably want to have X while you work, so install xfce. There are documents with advice both official and here. There are unofficial ones as well if you feel the need to find them.

Once you have xfce installed and are logged in, its time to start removing the old gnome packages. To do this, it is helpful to know what is installed. I would recommend you consult but do not edit /var/lib/portage/world. less is an excellent application for this purpose. Alternatively, you can go by your memory of what you have installed.

List all gnome related applications you want to remove, including the gnome meta package. You should also note all dependencies that may have polluted your
world file, such as perl-hearers or something. Then there are two ways to go. The first way is to force portage to remove the packages with emerge -C. I would advise against this as it can have unexpected results, ie break things. Instead, I would use the --deselect and deselect all the gnome packages and any wayward dependencies you found. This removes them from the world file. Next, use run emerge -ac to depclean them. Check the list to make sure nothing important is being removed.

A round of emerge -auvND world followed by emerge -ac and revdep-rebuild is called for to clean up. You can use equery from the gentoolkit to identify what packages depend on something if you think it should be removed but isn't. Its well documented.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
caaarlos
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2012
Posts: 108

PostPosted: Wed Jul 31, 2013 4:39 am    Post subject: Reply with quote

Thanks The Doctor, its really worked!
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