Gentoo Archives: gentoo-user

From: Mart Raudsepp <leio@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Using both Gnome and KDE Plasma?
Date: Thu, 25 Jan 2018 16:49:04
Message-Id: 1516898931.1378.5.camel@gentoo.org
In Reply to: [gentoo-user] Using both Gnome and KDE Plasma? by Nikos Chantziaras
1 On Thu, 2018-01-25 at 01:16 +0200, Nikos Chantziaras wrote:
2 > One user wants Gnome, the other wants Plasma. Is this doable?
3 >
4 > Currently, Plasma is installed, and the profile is:
5 >
6 >    default/linux/amd64/17.0/desktop/plasma/systemd
7 >
8 > The profiles seem to be either-or. There's one for plasma, one for 
9 > gnome. But I need both now :-/
10
11 They just provide ease of installation by enabling some USE flags
12 globally or per-package for you, to avoid having to add them manually
13 on a fresh install or so.
14
15 You can create a local mix-in by having /etc/portage/make.profile as a
16 directory with an eapi and parent file, but that has some caveats, so
17 given that I leave the details to find out elsewhere when desired.
18 Or you can just use one and add the stuff for the other manually,
19 verbatim or as-needed.
20 What they do can be seen in
21 profiles/targets/desktop/gnome
22 profiles/targets/desktop/plasma
23 subdirectories of your PORTDIR (probably /usr/portage/)
24
25 The global USE flags each adds are in make.defaults file and the per-
26 package USE flag tweaks are in package.use files.
27
28 So you could for example keep using the systemd plasma profile, add the
29 global USE flags from
30 /usr/portage/profiles/targets/desktop/gnome/make.defaults to your
31 make.conf and symlink
32 /usr/portage/profiles/targets/desktop/gnome/package.use to a gnome.use
33 file under /etc/portage/package.use/ directory or so and voilà, you got
34 effectively both.

Replies

Subject Author
Re: [gentoo-user] Using both Gnome and KDE Plasma? Mart Raudsepp <leio@g.o>