[gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-28 Thread Nikos Chantziaras

On 25/01/18 01:16, Nikos Chantziaras wrote:

One user wants Gnome, the other wants Plasma. Is this doable?

Currently, Plasma is installed, and the profile is:

   default/linux/amd64/17.0/desktop/plasma/systemd

The profiles seem to be either-or. There's one for plasma, one for 
gnome. But I need both now :-/


Thanks everyone for the replies. It seems that for this one, the easy 
solution happens to be the same as the safe solution:


  mkdir /etc/portage/profile
  cd /etc/portage/profile
  ln -s PORTDIR/profiles/targets/desktop/gnome/make.defaults .
  ln -s PORTDIR/profiles/targets/desktop/gnome/package.use .

  # disable Gnome USE flags I don't want, like "online-accounts" etc.

  emerge -auDN --with-bdeps=y @world
  emerge -a gnome

Still building webkit-gtk... But there were no conflicts.




Re: [gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-25 Thread Neil Bothwick
On Thu, 25 Jan 2018 04:23:59 +0200, Nikos Chantziaras wrote:

> > The differences between the profiles are mainly the USE flags set. As
> > your system is already built with the plasma profiles, I'd add gnome
> > to your USE flags and emerge gnome-base/gnome. Portage will shout at
> > you if you need to enable any other USE flags.  
> 
> Don't know. There's use flags that seem to be set because it's 
> recommended to set them, not because they're needed.
> 
> It seems to me that I have to choose either-or here in order to have a 
> well working desktop. Otherwise, if something doesn't seem work right, 
> I'll never know whether it's because of the profile or because of 
> something else.
> 
> I suppose I have to switch to the gnome profile and then see if KDE is 
> still working as before. But it seems I'll have to manually replicate 
> whatever the plasma profile is setting by hand.

Just compare the USE flags defaults for the two desktops.

% cat /var/portage/profiles/targets/desktop/gnome/make.defaults
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

USE="colord eds evo gnome gnome-keyring gnome-online-accounts gstreamer
introspection libsecret nautilus pulseaudio tracker"

% cat /var/portage/profiles/targets/desktop/plasma/make.defaults
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

USE="activities consolekit declarative dri kde kipi kwallet phonon plasma
policykit qml semantic-desktop widgets xcomposite"

As long as you have all of these set you should be OK, whichever profile
you start with. After all, a profile is only a convenient starting point.

You could even create your own profile for both desktops, which could be
useful if you want to replicate the setup on more than one computer.


-- 
Neil Bothwick

Synonym: a word you use when you can't spell the other one.


pgpTEnwfBotpp.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread Dale
Nikos Chantziaras wrote:
> On 25/01/18 04:34, Dale wrote:
>> This is what I would do.  I would make sure emerge -uDNp world comes
>> back clean, no remerges or updates.  Change profile to generic desktop.
>
> There's no "desktop/systemd" profile. I'm on systemd. If I switch to
> the "systemd" profile, then I lose what's in the "desktop" profile.
>
>
>

When you run emerge -DNp world, any systemd changes should show up and
then you can add them to either make.conf or package.use.  I wouldn't be
surprised if the biggest change is the USE flag systemd itself. 

I guess you could pick whichever is going to be used most, KDE or Gnome,
and then add the other variables in as needed.  Either way, you are
going to have to adjust USE flags and such. 

Dale

:-)  :-) 



[gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread Nikos Chantziaras

On 25/01/18 04:34, Dale wrote:

This is what I would do.  I would make sure emerge -uDNp world comes
back clean, no remerges or updates.  Change profile to generic desktop.


There's no "desktop/systemd" profile. I'm on systemd. If I switch to the 
"systemd" profile, then I lose what's in the "desktop" profile.





Re: [gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread Dale
R0b0t1 wrote:
> On Wed, Jan 24, 2018 at 8:34 PM, Dale  wrote:
>> Nikos Chantziaras wrote:
>>> On 25/01/18 02:28, Neil Bothwick wrote:
 On Thu, 25 Jan 2018 01:16:07 +0200, Nikos Chantziaras wrote:

> One user wants Gnome, the other wants Plasma. Is this doable?
>
> Currently, Plasma is installed, and the profile is:
>
> default/linux/amd64/17.0/desktop/plasma/systemd
>
> The profiles seem to be either-or. There's one for plasma, one for
> gnome. But I need both now :-/
 The differences between the profiles are mainly the USE flags set. As
 your system is already built with the plasma profiles, I'd add gnome to
 your USE flags and emerge gnome-base/gnome. Portage will shout at you if
 you need to enable any other USE flags.
>>> Don't know. There's use flags that seem to be set because it's
>>> recommended to set them, not because they're needed.
>>>
>>> It seems to me that I have to choose either-or here in order to have a
>>> well working desktop. Otherwise, if something doesn't seem work right,
>>> I'll never know whether it's because of the profile or because of
>>> something else.
>>>
>>> I suppose I have to switch to the gnome profile and then see if KDE is
>>> still working as before. But it seems I'll have to manually replicate
>>> whatever the plasma profile is setting by hand.
>>>
>>>
>>>
>>
>> This is what I would do.  I would make sure emerge -uDNp world comes
>> back clean, no remerges or updates.  Change profile to generic desktop.
>> Do a emerge -DNp world and look at what changes, especially USE flags.
>> Take those changes and set them in make.conf or package.use if you
>> prefer.  Since both KDE and Gnome has their own desktop profile, using
>> the generic profile I think would be the best bet.  You just may have to
>> set some things in make.conf/package.use to add KDE and Gnome settings
>> to have both installed at the same time.
>>
> Yes, this works and I've done it, which is why I recommended it.
>
> Cheers,
>  R0b0t1
>
>


Yea, I just added the steps to it and some reasoning for each step,
mostly.  Having both should be doable for sure.  One just has to make
sure the USE flags and such are right. 

Of course, one has to watch USE flag changes even when doing regular
updates but I went over mine with a fine tooth comb during the recent
profile update as well.  One has to look for those yellow characters
when doing updates, at any time but some are more important than
others.  Sometimes one USE flag change can make things either not work
right or not work at all.  Of course, it can add some nifty feature
too.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread R0b0t1
On Wed, Jan 24, 2018 at 8:34 PM, Dale  wrote:
> Nikos Chantziaras wrote:
>> On 25/01/18 02:28, Neil Bothwick wrote:
>>> On Thu, 25 Jan 2018 01:16:07 +0200, Nikos Chantziaras wrote:
>>>
 One user wants Gnome, the other wants Plasma. Is this doable?

 Currently, Plasma is installed, and the profile is:

 default/linux/amd64/17.0/desktop/plasma/systemd

 The profiles seem to be either-or. There's one for plasma, one for
 gnome. But I need both now :-/
>>>
>>> The differences between the profiles are mainly the USE flags set. As
>>> your system is already built with the plasma profiles, I'd add gnome to
>>> your USE flags and emerge gnome-base/gnome. Portage will shout at you if
>>> you need to enable any other USE flags.
>>
>> Don't know. There's use flags that seem to be set because it's
>> recommended to set them, not because they're needed.
>>
>> It seems to me that I have to choose either-or here in order to have a
>> well working desktop. Otherwise, if something doesn't seem work right,
>> I'll never know whether it's because of the profile or because of
>> something else.
>>
>> I suppose I have to switch to the gnome profile and then see if KDE is
>> still working as before. But it seems I'll have to manually replicate
>> whatever the plasma profile is setting by hand.
>>
>>
>>
>
>
> This is what I would do.  I would make sure emerge -uDNp world comes
> back clean, no remerges or updates.  Change profile to generic desktop.
> Do a emerge -DNp world and look at what changes, especially USE flags.
> Take those changes and set them in make.conf or package.use if you
> prefer.  Since both KDE and Gnome has their own desktop profile, using
> the generic profile I think would be the best bet.  You just may have to
> set some things in make.conf/package.use to add KDE and Gnome settings
> to have both installed at the same time.
>

Yes, this works and I've done it, which is why I recommended it.

Cheers,
 R0b0t1



Re: [gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread Dale
Nikos Chantziaras wrote:
> On 25/01/18 02:28, Neil Bothwick wrote:
>> On Thu, 25 Jan 2018 01:16:07 +0200, Nikos Chantziaras wrote:
>>
>>> One user wants Gnome, the other wants Plasma. Is this doable?
>>>
>>> Currently, Plasma is installed, and the profile is:
>>>
>>>     default/linux/amd64/17.0/desktop/plasma/systemd
>>>
>>> The profiles seem to be either-or. There's one for plasma, one for
>>> gnome. But I need both now :-/
>>
>> The differences between the profiles are mainly the USE flags set. As
>> your system is already built with the plasma profiles, I'd add gnome to
>> your USE flags and emerge gnome-base/gnome. Portage will shout at you if
>> you need to enable any other USE flags.
>
> Don't know. There's use flags that seem to be set because it's
> recommended to set them, not because they're needed.
>
> It seems to me that I have to choose either-or here in order to have a
> well working desktop. Otherwise, if something doesn't seem work right,
> I'll never know whether it's because of the profile or because of
> something else.
>
> I suppose I have to switch to the gnome profile and then see if KDE is
> still working as before. But it seems I'll have to manually replicate
> whatever the plasma profile is setting by hand.
>
>
>


This is what I would do.  I would make sure emerge -uDNp world comes
back clean, no remerges or updates.  Change profile to generic desktop. 
Do a emerge -DNp world and look at what changes, especially USE flags. 
Take those changes and set them in make.conf or package.use if you
prefer.  Since both KDE and Gnome has their own desktop profile, using
the generic profile I think would be the best bet.  You just may have to
set some things in make.conf/package.use to add KDE and Gnome settings
to have both installed at the same time. 

That's my two cents. 

Dale

:-)  :-) 



[gentoo-user] Re: Using both Gnome and KDE Plasma?

2018-01-24 Thread Nikos Chantziaras

On 25/01/18 02:28, Neil Bothwick wrote:

On Thu, 25 Jan 2018 01:16:07 +0200, Nikos Chantziaras wrote:


One user wants Gnome, the other wants Plasma. Is this doable?

Currently, Plasma is installed, and the profile is:

default/linux/amd64/17.0/desktop/plasma/systemd

The profiles seem to be either-or. There's one for plasma, one for
gnome. But I need both now :-/


The differences between the profiles are mainly the USE flags set. As
your system is already built with the plasma profiles, I'd add gnome to
your USE flags and emerge gnome-base/gnome. Portage will shout at you if
you need to enable any other USE flags.


Don't know. There's use flags that seem to be set because it's 
recommended to set them, not because they're needed.


It seems to me that I have to choose either-or here in order to have a 
well working desktop. Otherwise, if something doesn't seem work right, 
I'll never know whether it's because of the profile or because of 
something else.


I suppose I have to switch to the gnome profile and then see if KDE is 
still working as before. But it seems I'll have to manually replicate 
whatever the plasma profile is setting by hand.