* [gentoo-user] move to xfce and forget kde and gnome @ 2011-08-19 12:02 Space Cake 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras 2011-08-19 14:50 ` [gentoo-user] " András Csányi 0 siblings, 2 replies; 21+ messages in thread From: Space Cake @ 2011-08-19 12:02 UTC (permalink / raw To: gentoo-user 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? Thank you Laszlo ^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 12:02 [gentoo-user] move to xfce and forget kde and gnome Space Cake @ 2011-08-19 12:54 ` Nikos Chantziaras 2011-08-19 14:07 ` Space Cake ` (2 more replies) 2011-08-19 14:50 ` [gentoo-user] " András Csányi 1 sibling, 3 replies; 21+ messages in thread From: Nikos Chantziaras @ 2011-08-19 12:54 UTC (permalink / raw To: gentoo-user 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 <package> to see what's pulling-in <package>. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras @ 2011-08-19 14:07 ` Space Cake 2011-08-19 14:27 ` jdm 2011-08-19 14:39 ` Nikos Chantziaras 2011-08-19 16:03 ` Peter Humphrey 2011-08-22 9:47 ` Space Cake 2 siblings, 2 replies; 21+ messages in thread From: Space Cake @ 2011-08-19 14:07 UTC (permalink / raw To: gentoo-user 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 <package> > > to see what's pulling-in <package>. 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 14:07 ` Space Cake @ 2011-08-19 14:27 ` jdm 2011-08-19 14:41 ` Nikos Chantziaras 2011-08-19 14:39 ` Nikos Chantziaras 1 sibling, 1 reply; 21+ messages in thread From: jdm @ 2011-08-19 14:27 UTC (permalink / raw To: Gentoo 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 <spacecakex@gmail.com> Date: Fri, 19 Aug 2011 16:07:40 To: <gentoo-user@lists.gentoo.org> 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 <package> > > to see what's pulling-in <package>. 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 14:27 ` jdm @ 2011-08-19 14:41 ` Nikos Chantziaras 0 siblings, 0 replies; 21+ messages in thread From: Nikos Chantziaras @ 2011-08-19 14:41 UTC (permalink / raw To: gentoo-user On 08/19/2011 05:27 PM, jdm@jdm.myzen.co.uk wrote: > Lazlo my use flags for keeping kde and gnome away are -kde -gnome -qt4 -qt4 has nothing to do with KDE. If any package has a qt4 USE flag that results in KDE dependencies, then it should be reported as a bug. I'm not aware of any such packages though. ^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 14:07 ` Space Cake 2011-08-19 14:27 ` jdm @ 2011-08-19 14:39 ` Nikos Chantziaras 1 sibling, 0 replies; 21+ messages in thread From: Nikos Chantziaras @ 2011-08-19 14:39 UTC (permalink / raw To: gentoo-user On 08/19/2011 05:07 PM, Space Cake wrote: >> [...] >> If KDE/Gnome stuff still remains after that, use: >> >> emerge -pv --depclean<package> >> >> to see what's pulling-in<package>. > > Are you sure that's all? No need to change my global useflags at all? Well, I just said above to use emerge -pv to see what's pulling packages in. That means you have to use your brain and see if USE flags are pulling-in Gnome/KDE deps. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras 2011-08-19 14:07 ` Space Cake @ 2011-08-19 16:03 ` Peter Humphrey 2011-08-22 9:47 ` Space Cake 2 siblings, 0 replies; 21+ messages in thread From: Peter Humphrey @ 2011-08-19 16:03 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras 2011-08-19 14:07 ` Space Cake 2011-08-19 16:03 ` Peter Humphrey @ 2011-08-22 9:47 ` Space Cake 2011-08-22 10:32 ` Neil Bothwick 2011-08-22 11:30 ` Michael Mol 2 siblings, 2 replies; 21+ messages in thread From: Space Cake @ 2011-08-22 9:47 UTC (permalink / raw To: gentoo-user 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 <package> > > to see what's pulling-in <package>. > > 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-22 9:47 ` Space Cake @ 2011-08-22 10:32 ` Neil Bothwick 2011-08-22 11:30 ` Michael Mol 1 sibling, 0 replies; 21+ messages in thread From: Neil Bothwick @ 2011-08-22 10:32 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 784 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-22 9:47 ` Space Cake 2011-08-22 10:32 ` Neil Bothwick @ 2011-08-22 11:30 ` Michael Mol 2011-08-22 17:08 ` Michael Mol 1 sibling, 1 reply; 21+ messages in thread From: Michael Mol @ 2011-08-22 11:30 UTC (permalink / raw To: gentoo-user 2011/8/22 Space Cake <spacecakex@gmail.com>: > 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 <package> >> >> to see what's pulling-in <package>. >> >> > 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: move to xfce and forget kde and gnome 2011-08-22 11:30 ` Michael Mol @ 2011-08-22 17:08 ` Michael Mol 0 siblings, 0 replies; 21+ messages in thread From: Michael Mol @ 2011-08-22 17:08 UTC (permalink / raw To: gentoo-user On Mon, Aug 22, 2011 at 7:30 AM, Michael Mol <mikemol@gmail.com> 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 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 12:02 [gentoo-user] move to xfce and forget kde and gnome Space Cake 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras @ 2011-08-19 14:50 ` András Csányi 2011-08-19 15:19 ` Space Cake 2011-08-19 19:54 ` Daniel da Veiga 1 sibling, 2 replies; 21+ messages in thread From: András Csányi @ 2011-08-19 14:50 UTC (permalink / raw To: gentoo-user 2011/8/19 Space Cake <spacecakex@gmail.com>: > 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? I think we agree. Nowadays I use xfce because KDE is hungry and makes my system slower. But there is a few application (amarok - big bloatware but I like the amarok services, umbrello, krusader, kile, etc) which is needed and I always have a full KDE install beside xfce. What is your strategy? You will not use any KDE related application or if something is needed you will install it separately? -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- ""Trust in God and keep your gunpowder dry!" - Cromwell ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 14:50 ` [gentoo-user] " András Csányi @ 2011-08-19 15:19 ` Space Cake 2011-08-19 23:14 ` Walter Dnes 2011-08-19 19:54 ` Daniel da Veiga 1 sibling, 1 reply; 21+ messages in thread From: Space Cake @ 2011-08-19 15:19 UTC (permalink / raw To: gentoo-user On 2011. aug. 19., péntek, 16.50.09 CEST, András Csányi wrote: > 2011/8/19 Space Cake <spacecakex@gmail.com>: >> 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? > > I think we agree. Nowadays I use xfce because KDE is hungry and makes > my system slower. But there is a few application (amarok - big > bloatware but I like the amarok services, umbrello, krusader, kile, > etc) which is needed and I always have a full KDE install beside xfce. > What is your strategy? You will not use any KDE related application or > if something is needed you will install it separately? I'll try to avoid as many kde/gnome application as I can :) I don't really like them because I want to have my window in front of me right when click on the icon :). I just started to clean-up my useflags, changed to desktop profile and I'll leave my machine here for the weekend to re-emerge everything is needed for this change. I'm sure some revdep-rebuild and depclean still waiting for me and also I think lot of kde / gnome libs will remain because of the dependencies... Laszlo ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 15:19 ` Space Cake @ 2011-08-19 23:14 ` Walter Dnes 2011-08-20 0:34 ` Peter Humphrey 2011-08-20 1:17 ` Pandu Poluan 0 siblings, 2 replies; 21+ messages in thread From: Walter Dnes @ 2011-08-19 23:14 UTC (permalink / raw To: gentoo-user On Fri, Aug 19, 2011 at 05:19:29PM +0200, Space Cake wrote > I'll try to avoid as many kde/gnome application as I can :) I don't > really like them because I want to have my window in front of me right > when click on the icon :). I just started to clean-up my useflags, > changed to desktop profile and I'll leave my machine here for the > weekend to re-emerge everything is needed for this change. I'm sure > some revdep-rebuild and depclean still waiting for me and also I think > lot of kde / gnome libs will remain because of the dependencies... Here's my "autodepclean" script. It parses the output of a pretend depclean and generates, but does not execute, a script called "cleanscript", which has to be run as root. Note the warning to check "cleanscript" before running it. Remove the commands to unmerge the stuff you want to keep. In addition to some gentoo-sources kernels, it now wants to remove nano, ever since "virtual/editor" showed up in Gentoo. I get the warning... !!! 'app-editors/nano' (virtual/editor) is part of your system profile. !!! Unmerging it may be damaging to your system. Here's the script... #!/bin/bash # autodepclean script v 0.01 released under GPL v3 by Walter Dnes 2010/08/18 # Generates a file "cleanscript" to remove unused ebuilds, including # buildtime-only dependancies. # # Warning; this script is still beta. I recommend that you check the output # in cleanscript before running it. It is agressive about removing unused # gentoo-sources versions. This includes those that are higher than your # current kernel. This is technically correct for removing unused ebuilds, # but it may not be what you want. # echo "#!/bin/bash" > cleanscript echo "#" > cleanscript.000 emerge --pretend --depclean |\ grep -A1 "^ .*/" |\ grep -v "^ \*" |\ grep -v "^--" |\ sed ":/: { N s:\n:: s/ selected: /-/ s/^ /emerge --depclean =/ }" >> cleanscript.000 while read do echo "${REPLY}" >> cleanscript if [ "${REPLY:0:6}" == "emerge" ]; then echo "revdep-rebuild" >> cleanscript fi done < cleanscript.000 chmod 744 cleanscript -- Walter Dnes <waltdnes@waltdnes.org> ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 23:14 ` Walter Dnes @ 2011-08-20 0:34 ` Peter Humphrey 2011-08-20 4:02 ` Walter Dnes 2011-08-20 1:17 ` Pandu Poluan 1 sibling, 1 reply; 21+ messages in thread From: Peter Humphrey @ 2011-08-20 0:34 UTC (permalink / raw To: gentoo-user On Saturday 20 August 2011 00:14:07 Walter Dnes wrote: > Here's my "autodepclean" script. It parses the output of a pretend > depclean and generates, but does not execute, a script called > "cleanscript", which has to be run as root. Note the warning to check > "cleanscript" before running it. Remove the commands to unmerge the > stuff you want to keep. In addition to some gentoo-sources kernels, it > now wants to remove nano, ever since "virtual/editor" showed up in > Gentoo. I get the warning... > > !!! 'app-editors/nano' (virtual/editor) is part of your system profile. > !!! Unmerging it may be damaging to your system. > > Here's the script... Interesting - thanks! It found an unused library file (qdbm) here that nothing else had. One suggestion: I'd create cleanscript in /tmp rather than wherever I happened to be at the time. -- Rgds Peter Linux Counter 5290, 1994-04-23 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-20 0:34 ` Peter Humphrey @ 2011-08-20 4:02 ` Walter Dnes 2011-08-20 8:07 ` Alan McKinnon 0 siblings, 1 reply; 21+ messages in thread From: Walter Dnes @ 2011-08-20 4:02 UTC (permalink / raw To: gentoo-user On Sat, Aug 20, 2011 at 01:34:33AM +0100, Peter Humphrey wrote > Interesting - thanks! It found an unused library file (qdbm) here that > nothing else had. > > One suggestion: I'd create cleanscript in /tmp rather than wherever I > happened to be at the time. Question... how many people have /tmp on a partition that's mounted "noexec"? That could be a problem. -- Walter Dnes <waltdnes@waltdnes.org> ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-20 4:02 ` Walter Dnes @ 2011-08-20 8:07 ` Alan McKinnon 2011-08-20 10:32 ` Peter Humphrey 0 siblings, 1 reply; 21+ messages in thread From: Alan McKinnon @ 2011-08-20 8:07 UTC (permalink / raw To: gentoo-user On Sat 20 August 2011 00:02:15 Walter Dnes did opine thusly: > On Sat, Aug 20, 2011 at 01:34:33AM +0100, Peter Humphrey wrote > > > Interesting - thanks! It found an unused library file (qdbm) > > here that nothing else had. > > > > One suggestion: I'd create cleanscript in /tmp rather than > > wherever I happened to be at the time. > > Question... how many people have /tmp on a partition that's > mounted "noexec"? That could be a problem. Add a variable at the top to define the bin directory to use. Then users can change it to whatever suits them. /tmp is a good default, except when it's mounted noexec. Same for ~ Almost every reasonable choice will have times when it's not good, so rather shift the responsibility over to the end user :-) -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-20 8:07 ` Alan McKinnon @ 2011-08-20 10:32 ` Peter Humphrey 0 siblings, 0 replies; 21+ messages in thread From: Peter Humphrey @ 2011-08-20 10:32 UTC (permalink / raw To: gentoo-user On Saturday 20 August 2011 09:07:17 Alan McKinnon wrote: > Add a variable at the top to define the bin directory to use. Then > users can change it to whatever suits them. > > /tmp is a good default, except when it's mounted noexec. > Same for ~ > > Almost every reasonable choice will have times when it's not good, so > rather shift the responsibility over to the end user :-) Or, as Pandu said, clean up afterwards. Not knocking your work, Walter - I like the script and I'm grateful. -- Rgds Peter Linux Counter 5290, 1994-04-23 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 23:14 ` Walter Dnes 2011-08-20 0:34 ` Peter Humphrey @ 2011-08-20 1:17 ` Pandu Poluan 2011-08-20 4:10 ` Walter Dnes 1 sibling, 1 reply; 21+ messages in thread From: Pandu Poluan @ 2011-08-20 1:17 UTC (permalink / raw To: gentoo-user Cool! I can see myself using this script routinely. That said, since one *must* check the resulting script anyway, why not start the editor directly after chmod? E.g.: $EDITOR cleanscript Oh, also don't forget to delete cleanscript.000 ;) Rgds, On 2011-08-20, Walter Dnes <waltdnes@waltdnes.org> wrote: > On Fri, Aug 19, 2011 at 05:19:29PM +0200, Space Cake wrote > >> I'll try to avoid as many kde/gnome application as I can :) I don't >> really like them because I want to have my window in front of me right >> when click on the icon :). I just started to clean-up my useflags, >> changed to desktop profile and I'll leave my machine here for the >> weekend to re-emerge everything is needed for this change. I'm sure >> some revdep-rebuild and depclean still waiting for me and also I think >> lot of kde / gnome libs will remain because of the dependencies... > > Here's my "autodepclean" script. It parses the output of a pretend > depclean and generates, but does not execute, a script called > "cleanscript", which has to be run as root. Note the warning to check > "cleanscript" before running it. Remove the commands to unmerge the > stuff you want to keep. In addition to some gentoo-sources kernels, it > now wants to remove nano, ever since "virtual/editor" showed up in > Gentoo. I get the warning... > > !!! 'app-editors/nano' (virtual/editor) is part of your system profile. > !!! Unmerging it may be damaging to your system. > > Here's the script... > > #!/bin/bash > # autodepclean script v 0.01 released under GPL v3 by Walter Dnes 2010/08/18 > # Generates a file "cleanscript" to remove unused ebuilds, including > # buildtime-only dependancies. > # > # Warning; this script is still beta. I recommend that you check the output > # in cleanscript before running it. It is agressive about removing unused > # gentoo-sources versions. This includes those that are higher than your > # current kernel. This is technically correct for removing unused ebuilds, > # but it may not be what you want. > # > echo "#!/bin/bash" > cleanscript > echo "#" > cleanscript.000 > emerge --pretend --depclean |\ > grep -A1 "^ .*/" |\ > grep -v "^ \*" |\ > grep -v "^--" |\ > sed ":/: { > N > s:\n:: > s/ selected: /-/ > s/^ /emerge --depclean =/ > }" >> cleanscript.000 > while read > do > echo "${REPLY}" >> cleanscript > if [ "${REPLY:0:6}" == "emerge" ]; then > echo "revdep-rebuild" >> cleanscript > fi > done < cleanscript.000 > chmod 744 cleanscript > > > -- > Walter Dnes <waltdnes@waltdnes.org> > > -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-20 1:17 ` Pandu Poluan @ 2011-08-20 4:10 ` Walter Dnes 0 siblings, 0 replies; 21+ messages in thread From: Walter Dnes @ 2011-08-20 4:10 UTC (permalink / raw To: gentoo-user On Sat, Aug 20, 2011 at 08:17:57AM +0700, Pandu Poluan wrote > Oh, also don't forget to delete cleanscript.000 ;) The autodepclean script cleans out the the temporary file with... echo "#" > cleanscript.000 ...Note the ">" which zaps cleanscript.000. I leave it around as a debugging aid. This is GPL. Feel free to append the the line... rm cleanscript.000 ...to your copy of autodepclean if you wish. -- Walter Dnes <waltdnes@waltdnes.org> ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] move to xfce and forget kde and gnome 2011-08-19 14:50 ` [gentoo-user] " András Csányi 2011-08-19 15:19 ` Space Cake @ 2011-08-19 19:54 ` Daniel da Veiga 1 sibling, 0 replies; 21+ messages in thread From: Daniel da Veiga @ 2011-08-19 19:54 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 937 bytes --] On Fri, Aug 19, 2011 at 11:50, András Csányi <sayusi.ando@gmail.com> wrote: > 2011/8/19 Space Cake <spacecakex@gmail.com>: > > > > 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? > > I think we agree. Nowadays I use xfce because KDE is hungry and makes > my system slower. But there is a few application (amarok - big > bloatware but I like the amarok services, umbrello, krusader, kile, > etc) which is needed and I always have a full KDE install beside xfce. > What is your strategy? You will not use any KDE related application or > if something is needed you will install it separately? > > Totally agree. I am a XFCE user, but I just love K3B, and it needs kdelibs. I don't like KDE or Gnome, but I can live with compiling some of their libs... -- Daniel da Veiga [-- Attachment #2: Type: text/html, Size: 1345 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2011-08-22 17:09 UTC | newest] Thread overview: 21+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-08-19 12:02 [gentoo-user] move to xfce and forget kde and gnome Space Cake 2011-08-19 12:54 ` [gentoo-user] " Nikos Chantziaras 2011-08-19 14:07 ` Space Cake 2011-08-19 14:27 ` jdm 2011-08-19 14:41 ` Nikos Chantziaras 2011-08-19 14:39 ` Nikos Chantziaras 2011-08-19 16:03 ` Peter Humphrey 2011-08-22 9:47 ` Space Cake 2011-08-22 10:32 ` Neil Bothwick 2011-08-22 11:30 ` Michael Mol 2011-08-22 17:08 ` Michael Mol 2011-08-19 14:50 ` [gentoo-user] " András Csányi 2011-08-19 15:19 ` Space Cake 2011-08-19 23:14 ` Walter Dnes 2011-08-20 0:34 ` Peter Humphrey 2011-08-20 4:02 ` Walter Dnes 2011-08-20 8:07 ` Alan McKinnon 2011-08-20 10:32 ` Peter Humphrey 2011-08-20 1:17 ` Pandu Poluan 2011-08-20 4:10 ` Walter Dnes 2011-08-19 19:54 ` Daniel da Veiga
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox