Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I slim down KDE?
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
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Wed Sep 17, 2003 2:12 am    Post subject: How do I slim down KDE? Reply with quote

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
View user's profile Send private message
kdwycha
n00b
n00b


Joined: 18 Mar 2003
Posts: 11
Location: Tampa, Florida, USA

PostPosted: Wed Sep 17, 2003 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Wed Sep 17, 2003 7:57 am    Post subject: Reply with quote

search for DO_NOT_COMPILE
_________________
what up
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Wed Sep 17, 2003 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
deathdruid
Guru
Guru


Joined: 25 Jul 2002
Posts: 343
Location: Philadelphia, PA, USA

PostPosted: Wed Sep 17, 2003 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Sep 18, 2003 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Thu Sep 18, 2003 1:12 am    Post subject: Reply with quote

probably
Code:
source /etc/profile
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Sep 18, 2003 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Thu Sep 18, 2003 3:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
rogue
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2002
Posts: 99
Location: Falls Church, VA

PostPosted: Thu Sep 18, 2003 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
jimmybfan
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 100
Location: P-town

PostPosted: Thu Sep 18, 2003 4:20 pm    Post subject: Reply with quote

To find out what most of the programs that ship with kde are check out http://docs.kde.org/
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Sep 18, 2003 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Sep 18, 2003 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
rogue
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2002
Posts: 99
Location: Falls Church, VA

PostPosted: Thu Sep 18, 2003 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Sep 18, 2003 7:11 pm    Post subject: Reply with quote

I see. Thanks for the clarification.
Back to top
View user's profile Send private message
Ian Goldby
Guru
Guru


Joined: 18 May 2002
Posts: 539
Location: (Inactive member)

PostPosted: Fri Sep 19, 2003 8:04 pm    Post subject: Reply with quote

It makes more sense to me to put DO_NOT_COMPILE into your make.conf, along with USE and so on.
Back to top
View user's profile Send private message
rm-rf
n00b
n00b


Joined: 01 Jun 2003
Posts: 22

PostPosted: Sat Sep 20, 2003 1:31 am    Post subject: Reply with quote

I hate KDE bloat too, so I always check out what dependencies are being built with kde:

Code:
emerge -vp kdebase


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
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Sat Sep 20, 2003 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Sat Sep 20, 2003 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sat Oct 04, 2003 12:46 am    Post subject: Reply with quote

Also see here: https://forums.gentoo.org/viewtopic.php?p=566042#566042

Puggy
_________________
Where there's open source , there's a way.
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