Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-22 Thread Michael Mol
On Mon, Aug 22, 2011 at 7:30 AM, Michael Mol  wrote:
> I found it surprisingly painless. Note, I went through most of these
> steps with X *NOT* running; I switched to a terminal and stopped kdm
> before really going past step 2.

One additional note. Except for time spent compiling, this only took
about 3-4 hours. A lot of it was learning how virtual ebuilds work
(which led me to discover I needed to emerge awesome so that depclean
would drop knotify), and much of it was scratching my head over
circular dependencies and identifying the right point in the ring to
--unmerge to break the graph cycle.

I've been working from home all day today on the system. Only glitch
I've encountered was that I forgot to reset my .asoundrc after
removing pulseaudio.

-- 
:wq



Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-22 Thread Michael Mol
2011/8/22 Space Cake :
> 2011-08-19 14:54 keltezéssel, Nikos Chantziaras írta:
>> On 08/19/2011 03:02 PM, Space Cake wrote:
>>> hi,
>>>
>>> after playing a lot with desktop environment first I've decided to move
>>> from kde to gnome because kde is too "shine" and eat too much and
>>> contains a lot of feature which I don't really need.. gnome is good but
>>> still too fat so finally I've found Xfce which is perfect for my
>>> needs... :)
>>>
>>> my question is what is the easiest way to get rid of kde/gnome stuff? is
>>> this enough to change my useflags to -kde and -gnome? Is there any list
>>> what I can safely unmerge in this case?
>>
>> You change your profile.  You can see your current profile with:
>>
>>   eselect profile list
>>
>> For KDE you would use "default/linux/amd64/10.0/desktop/kde" and for
>> Gnome "default/linux/amd64/10.0/desktop/gnome".
>>
>> For anything else, use "default/linux/amd64/10.0/desktop".  Then do a:
>>
>>   emerge -auDN --with-bdeps=y world
>>   emerge -a --depclean
>>
>> If KDE/Gnome stuff still remains after that, use:
>>
>>   emerge -pv --depclean 
>>
>> to see what's pulling-in .
>>
>>
> So, what if I have changed the flags to -kde and -gnome, and I also ran
> depclean, also used the script provided by some kind member of the list
> and I still have all the kde gnome stuff on my system? Do I need some
> list of packages should I unmerge? Should I simple unmerge packages
> kde-base/* and so on and run revdep-rebuild after this? Is this a
> working approach?

I just cleaned off KDE (and PulseAudio, as it happens) from my system
Saturday night/sunday morning. I wasn't using the KDE profile.

Here are the steps I followed:

1) Remove all 'kde' and 'qt' USE flags from make.conf. (I didn't have
to remove qt, but I preferred to switch over to package-specific
support for it, as needed, rather than global)
2) emerge --depclean (pretend first, then add anything I *knew* I
didn't want to lose to @world, then pretend again, until there wasn't
anything that would be removed I wasn't comfortable with)
3) If there were any KDE packages left, emerge -pPv on them, to find
what was pulling them in. "emerge --deselect" the packages that were
pulling the KDE packages in. (Sometimes, this would involve supplying
an alternative. For example, I had to emerge Awesome before it would
remove knotify.)
4) Jump back to step 2, unless I couldn't get a package to disappear
with --depclean.
5) revdep-rebuild (in my case, only a Jack library was busted)
6) emerge --deep --newuse --keep-going world && emerge --sync &&
emerge --update --deep --newuse --keep-going world # This part, I left
running overnight. It succeeded, to my surprise.

I did have a couple recursive-dependency-like situations. For example,
KDE has a policykit agent, which depends on polkit. The policykit
agent wouldn't go away; emerge -pPv said polkit was pulling it in, and
said that the agent was what was pulling polkit in. In those
situations, I found I had to --unmerge a piece of the dependency loop
in order for emerge to allow it to go away or get replaced. In the
polkit case, I removed the KDE agent.

I also had to remove a few packages I do occasionally use, because
they were pulling in Qt or KDE. In particular, I --deselect'd calibre.
I've still got qt libs on my system, though, because I use
Luminance-HDR a *lot*.

I found it surprisingly painless. Note, I went through most of these
steps with X *NOT* running; I switched to a terminal and stopped kdm
before really going past step 2.

-- 
:wq



Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-22 Thread Neil Bothwick
On Mon, 22 Aug 2011 11:47:02 +0200, Space Cake wrote:

> So, what if I have changed the flags to -kde and -gnome, and I also ran
> depclean, also used the script provided by some kind member of the list
> and I still have all the kde gnome stuff on my system? Do I need some
> list of packages should I unmerge? Should I simple unmerge packages
> kde-base/* and so on and run revdep-rebuild after this? Is this a
> working approach?

Look for KDE/GNOME packages in your world file

grep kde /var/lib/portage/world
grep gnome /var/lib/portage/world

Remove anything you don't use
emerge --depclean -a
rinse and repeat


-- 
Neil Bothwick

WinErr 01B: Illegal error - You are not allowed to get this error.
Next time you will get a penalty for that.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-22 Thread Space Cake
2011-08-19 14:54 keltezéssel, Nikos Chantziaras írta:
> On 08/19/2011 03:02 PM, Space Cake wrote:
>> hi,
>>
>> after playing a lot with desktop environment first I've decided to move
>> from kde to gnome because kde is too "shine" and eat too much and
>> contains a lot of feature which I don't really need.. gnome is good but
>> still too fat so finally I've found Xfce which is perfect for my
>> needs... :)
>>
>> my question is what is the easiest way to get rid of kde/gnome stuff? is
>> this enough to change my useflags to -kde and -gnome? Is there any list
>> what I can safely unmerge in this case?
>
> You change your profile.  You can see your current profile with:
>
>   eselect profile list
>
> For KDE you would use "default/linux/amd64/10.0/desktop/kde" and for
> Gnome "default/linux/amd64/10.0/desktop/gnome".
>
> For anything else, use "default/linux/amd64/10.0/desktop".  Then do a:
>
>   emerge -auDN --with-bdeps=y world
>   emerge -a --depclean
>
> If KDE/Gnome stuff still remains after that, use:
>
>   emerge -pv --depclean 
>
> to see what's pulling-in .
>
>
So, what if I have changed the flags to -kde and -gnome, and I also ran
depclean, also used the script provided by some kind member of the list
and I still have all the kde gnome stuff on my system? Do I need some
list of packages should I unmerge? Should I simple unmerge packages
kde-base/* and so on and run revdep-rebuild after this? Is this a
working approach?

Thank you
Laszlo




Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-19 Thread Peter Humphrey
On Friday 19 August 2011 13:54:40 Nikos Chantziaras wrote:

> You change your profile.  You can see your current profile with:
> 
>eselect profile list
> 
> For KDE you would use "default/linux/amd64/10.0/desktop/kde" and for
> Gnome "default/linux/amd64/10.0/desktop/gnome".

Those are recent additions to the profiles. At any rate, I only started using 
the KDE one this year.

If Laszlo has default/linux/amd64/10.0 as his profile already (that's what I 
used to do), he's going to have to do an awful lot of work with USE flags. A 
full re-installation may be easier in the end.

Any time I do a fresh installation, I back the whole thing up to external 
disk at significant stages of the operation so that I can start again (if I 
need to) from much further on.

> For anything else, use "default/linux/amd64/10.0/desktop".  Then do a:
> 
>emerge -auDN --with-bdeps=y world
>emerge -a --depclean

He may find that it doesn't make much of a change, depending on which profile 
he has set now.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23



Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-19 Thread jdm
Lazlo my use flags for keeping kde and gnome away are  -kde -gnome  -qt4

I also have 
eselect profile set 1

You may have to use /etc/portage/package.use to get guis to some packages
That may need kde or gnome


Jdm


Sent from my BlackBerry® smartphone on O2

-Original Message-
From: Space Cake 
Date: Fri, 19 Aug 2011 16:07:40 
To: 
Reply-to: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: move to xfce and forget kde and gnome

On 2011. aug. 19., péntek, 14.54.40 CEST, Nikos Chantziaras wrote:
> On 08/19/2011 03:02 PM, Space Cake wrote:
>> hi,
>>
>> after playing a lot with desktop environment first I've decided to move
>> from kde to gnome because kde is too "shine" and eat too much and
>> contains a lot of feature which I don't really need.. gnome is good but
>> still too fat so finally I've found Xfce which is perfect for my
>> needs... :)
>>
>> my question is what is the easiest way to get rid of kde/gnome stuff? is
>> this enough to change my useflags to -kde and -gnome? Is there any list
>> what I can safely unmerge in this case?
> 
> You change your profile.  You can see your current profile with:
> 
>   eselect profile list
> 
> For KDE you would use "default/linux/amd64/10.0/desktop/kde" and for
> Gnome "default/linux/amd64/10.0/desktop/gnome".
> 
> For anything else, use "default/linux/amd64/10.0/desktop".  Then do a:
> 
>   emerge -auDN --with-bdeps=y world
>   emerge -a --depclean
> 
> If KDE/Gnome stuff still remains after that, use:
> 
>   emerge -pv --depclean 
> 
> to see what's pulling-in .

Are you sure that's all? No need to change my global useflags at all? 
When I change profile and check what would be re-emerged, only a few 
minor changes exists. What I would like to achieve to get rid of all 
the fat kde/gnome stuff but of course without re install my whole 
system. Is there anyone here who already did something similar?

Thank you
Laszlo




Re: [gentoo-user] Re: move to xfce and forget kde and gnome

2011-08-19 Thread Space Cake
On 2011. aug. 19., péntek, 14.54.40 CEST, Nikos Chantziaras wrote:
> On 08/19/2011 03:02 PM, Space Cake wrote:
>> hi,
>>
>> after playing a lot with desktop environment first I've decided to move
>> from kde to gnome because kde is too "shine" and eat too much and
>> contains a lot of feature which I don't really need.. gnome is good but
>> still too fat so finally I've found Xfce which is perfect for my
>> needs... :)
>>
>> my question is what is the easiest way to get rid of kde/gnome stuff? is
>> this enough to change my useflags to -kde and -gnome? Is there any list
>> what I can safely unmerge in this case?
> 
> You change your profile.  You can see your current profile with:
> 
>   eselect profile list
> 
> For KDE you would use "default/linux/amd64/10.0/desktop/kde" and for
> Gnome "default/linux/amd64/10.0/desktop/gnome".
> 
> For anything else, use "default/linux/amd64/10.0/desktop".  Then do a:
> 
>   emerge -auDN --with-bdeps=y world
>   emerge -a --depclean
> 
> If KDE/Gnome stuff still remains after that, use:
> 
>   emerge -pv --depclean 
> 
> to see what's pulling-in .

Are you sure that's all? No need to change my global useflags at all? 
When I change profile and check what would be re-emerged, only a few 
minor changes exists. What I would like to achieve to get rid of all 
the fat kde/gnome stuff but of course without re install my whole 
system. Is there anyone here who already did something similar?

Thank you
Laszlo