Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto plasma kde 5 on gentoo minimal install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 463
Location: Hokkaido Japan

PostPosted: Sun Jul 03, 2016 3:20 am    Post subject: howto plasma kde 5 on gentoo minimal install Reply with quote

There is a gentoo kde 4 to 5 upgrade guide but very confusing for those installing kde 5 plasma from scratch on a new gentoo install.

I found myself constantly asking, do I need to do this if I'm not upgrading? and hoping for a kde 5 plasma only guide.

This howto hopes to help people installing kde 5 plasma from a fresh minimal install.

First go through the handbook and install gentoo:

ie. amd64 handbook
https://wiki.gentoo.org/wiki/Handbook:AMD64 minimal install

in the eselect section choose the plasma profile

Code:
eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/desktop/plasma *
  [9]   default/linux/amd64/13.0/desktop/plasma/systemd
  [10]  default/linux/amd64/13.0/developer
  [11]  default/linux/amd64/13.0/no-multilib
  [12]  default/linux/amd64/13.0/systemd
  [13]  default/linux/amd64/13.0/x32
  [14]  hardened/linux/amd64
  [15]  hardened/linux/amd64/selinux
  [16]  hardened/linux/amd64/no-multilib
  [17]  hardened/linux/amd64/no-multilib/selinux
  [18]  hardened/linux/amd64/x32
  [19]  hardened/linux/musl/amd64
  [20]  hardened/linux/musl/amd64/x32
  [21]  default/linux/uclibc/amd64
  [22]  hardened/linux/uclibc/amd64

eselect profile set 8


emerge world to pull the new plasma profile related software

Code:
emerge -eav world


I had to update CPU_FLAGS_X86="mmx sse sse2 mmxext" to the following to get ffmpeg to compile

Code:
vim /etc/portage/make.conf

Code:
CPU_FLAGS_X86="mmx sse sse2 mmxext"


set X11 drivers as per gentoo X11 guide

https://wiki.gentoo.org/wiki/Xorg/Guide

emerge x11 drivers and xors-server

Code:
emerge --ask --verbose x11-base/xorg-drivers
emerge --ask x11-base/xorg-server
env-update
source /etc/profile


if you are ok with the minimal plasma install,

Code:
emerge --ask kde-plasma/plasma-desktop


set .xinitrc to start kde
Code:
echo 'exec startkde' > ~/.xinitrc


then startx to get into kde

Code:
startx
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Sun Jul 03, 2016 7:40 am    Post subject: Reply with quote

Well, there is https://wiki.gentoo.org/wiki/KDE

plasma-desktop is missing quite essential bits, a guide should make that clear. plasma-meta, on the other hand, is very configurable through use flags.

Your ~/.xinitrc won't create a consolekit session for the user.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 463
Location: Hokkaido Japan

PostPosted: Mon Jul 04, 2016 2:11 am    Post subject: KDE guide and console kit Reply with quote

Thank you. I did use bits and pieces of the gentoo KDE guide, but wasn't sure what applies to KDE 4 and what applies to KDE 5 so is a bit scary.

Will see if I can get console kit working and will report back. If all goes well, will add to this document.


Cheers,
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