View previous topic :: View next topic |
Author |
Message |
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Wed Sep 17, 2003 2:12 am Post subject: How do I slim down KDE? |
|
|
KDE seems to come with a bunch of programs preinstalled that I'll never use. What's the easiest way to get rid of them? Does KDE have an "uninstall manager" so I can pick and choose instead of deleting an entire package groups? |
|
Back to top |
|
|
kdwycha n00b
Joined: 18 Mar 2003 Posts: 11 Location: Tampa, Florida, USA
|
Posted: Wed Sep 17, 2003 2:30 am Post subject: |
|
|
im sure this wont help you much, but when you emerged kde you should have just "emerge kdebase" and that wouldnt have installed all of the garbage
Xiautau |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Wed Sep 17, 2003 7:57 am Post subject: |
|
|
search for DO_NOT_COMPILE _________________ what up |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Wed Sep 17, 2003 1:15 pm Post subject: |
|
|
O.K., well, that doesn't really help me a whole lot because the system has already been compiled. What I want to know is an easy way to remove currently installed software (although with KDE 3.1.4 being released, this may be a moot point as I could just use the DO_NOT_COMPILE flag when I upgrade.)
Edit: One question about DO_NOT_COMPILE, do I enter this in the command line as a one-shot variable or is there a configuration file I need to edit? I've read other posts turned up through a forum search but I'm still unclear about this. |
|
Back to top |
|
|
deathdruid Guru
Joined: 25 Jul 2002 Posts: 343 Location: Philadelphia, PA, USA
|
Posted: Wed Sep 17, 2003 8:58 pm Post subject: |
|
|
The Mountain Man wrote: | One question about DO_NOT_COMPILE, do I enter this in the command line as a one-shot variable or is there a configuration file I need to edit? I've read other posts turned up through a forum search but I'm still unclear about this. |
It is an environment variable, so you could:
- Specify it on the command line
Code: |
# DO_NOT_COMPILE="knode" emerge kdenetwork
|
Export it like any other enviroment variable for the current session
Code: |
# export DO_NOT_COMPILE="knode"
# emerge kdenetwork
|
Export it in your /etc/profile, so it applies all the time, and you can do updates without respecifying it.
|
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Sep 18, 2003 1:11 am Post subject: |
|
|
O.K., I added:
Code: | # KDE exclusions
# kdetoys
export DO_NOT_COMPILE="amor eyesapplet fifteenapplet kaphorism kmoon kodo kteatime ktux kworldwatch" |
to the bottom of /etc/profile but it didn't seem to take (all the apps I put in the exclusion list still compiled). Is there anything special I need to do? |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Thu Sep 18, 2003 1:12 am Post subject: |
|
|
probably Code: | source /etc/profile |
|
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Sep 18, 2003 1:33 am Post subject: |
|
|
Another question, how do I find out exactly what programs are contained in each package and their exact names? Right now I'm going through KDE and unemerging stuff I don't want then emerging the packages with the DO_NOT_COMPILE flag so I get exactly what I want without all the extra gunk.
And what exactly does "source /etc/profile" do? I've read the man page on "source" but an explanation in English would be nice.
Thanks for all your help. These forums are great! |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Thu Sep 18, 2003 3:34 pm Post subject: |
|
|
The Mountain Man wrote: | Another question, how do I find out exactly what programs are contained in each package and their exact names? |
The easiest way is to use webcvs: http://webcvs.kde.org/
Look at the directory names in each module (like kdegames, etc..)
(some of them will be extraneous, as some have not shipped with KDE since kde 1.x or 2.x, but still it works) _________________ what up |
|
Back to top |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Thu Sep 18, 2003 4:13 pm Post subject: |
|
|
The Mountain Man wrote: | And what exactly does "source /etc/profile" do? I've read the man page on "source" but an explanation in English would be nice. |
the source command, in bash, will read and execute commands from filename in the current shell environment and return the exit status of the last command executed from filename. Basically it's a way of updating environment variables by processing everything in the file. If you source /etc/profile, then you will be re-setting up your bash environment. _________________ (rob) |
|
Back to top |
|
|
jimmybfan Tux's lil' helper
Joined: 03 Jul 2002 Posts: 100 Location: P-town
|
Posted: Thu Sep 18, 2003 4:20 pm Post subject: |
|
|
To find out what most of the programs that ship with kde are check out http://docs.kde.org/ |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Sep 18, 2003 4:43 pm Post subject: |
|
|
So do I have to run "source /etc/profile" every time I start the system? I'll just stick it in local.start if that's the case.
----------
(Response to the post just above mine):
Yes, I've seen the KDE docs on their website. The problem is, they're not complete and the program names don't necessarily correspond with the filename needed for the DO_NOT_COMPILE switch. |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Sep 18, 2003 4:49 pm Post subject: |
|
|
shm wrote: | The Mountain Man wrote: | Another question, how do I find out exactly what programs are contained in each package and their exact names? |
The easiest way is to use webcvs: http://webcvs.kde.org/ |
Thanks! |
|
Back to top |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Thu Sep 18, 2003 5:34 pm Post subject: |
|
|
The Mountain Man wrote: | So do I have to run "source /etc/profile" every time I start the system? I'll just stick it in local.start if that's the case. |
you don't need to do that. /etc/profile is "sourced" every time you log in or a shell is opened. the only time you need to do source /etc/profile is if you are in a shell and want to see the environment changes immediately. _________________ (rob) |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Thu Sep 18, 2003 7:11 pm Post subject: |
|
|
I see. Thanks for the clarification. |
|
Back to top |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Fri Sep 19, 2003 8:04 pm Post subject: |
|
|
It makes more sense to me to put DO_NOT_COMPILE into your make.conf, along with USE and so on. |
|
Back to top |
|
|
rm-rf n00b
Joined: 01 Jun 2003 Posts: 22
|
Posted: Sat Sep 20, 2003 1:31 am Post subject: |
|
|
I hate KDE bloat too, so I always check out what dependencies are being built with kde:
and then remove any use flags that I don't need, like:
Code: | USE="-encode -mad -etc" emerge kdebase |
and of course build kdebase, not just plain old kde. later you can build kdemultimedia and the like |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Sat Sep 20, 2003 4:37 am Post subject: |
|
|
Well, right now I'm unemerging stuff then selectively emerging just the programs I want. It takes a couple of times until I figure out all the program names (I sometimes miss one or make a typo), but at least it's one of those things I'll only have to do once. |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Sat Sep 20, 2003 5:47 am Post subject: |
|
|
The Mountain Man wrote: | Well, right now I'm unemerging stuff then selectively emerging just the programs I want. It takes a couple of times until I figure out all the program names (I sometimes miss one or make a typo), but at least it's one of those things I'll only have to do once. |
Yup, someday (soon?) I'll make a bash script to build the variable automatically (and query what's applicable based on what release of KDE) _________________ what up |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
|
Back to top |
|
|
|