KDE5 nemesis artix based

Arch based Porteus community project
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#1 by francois » 08 Oct 2017, 05:01

These are some adjustment to HOWTO: INSTALL KDE 5 PLASMA ON NEMESIS

The minimal setup is really minimal, you might prefer plasma-meta.

archlinux wiki for KDE5 PLASMA:
https://wiki.archlinux.org/index.php/KDE#Plasma_Desktop

1.0 Minimal install:
1.1 Essential packages
http://www.linuxveda.com/2015/02/27/how ... rch-linux/

Code: Select all

pman -S plasma-desktop dolphin konsole kscreen kwrite libkscreen plasma-nm kmix xorg-xrandr
kdeplasm-addons xorg-xkill?
1.2 Printing and scanning capabilities
pman -S printing manjaro avahi cups-avahi-openrc system-config-printer simple-scan
1.3 Browsing according to preference
chromium opera palemoon
1.4 Package managing including AUR access
base-devel yaourt octopi gksu

Notes:
.Panel in dual display.
When you boot into kde5, it seems with dual display, if you have no panel this means that you need:
kscreen libkscreen. Alternatively you could use xorg-xrandr package for a custom setting thru a script
.Dolphin no root mode solution:
https://forum.manjaro.org/t/executing-d ... le/22566/4
https://github.com/domker/dolphin-kdesu-git

2.0 Autologin normal user (guest) (solution from ncmprhnsbl):
2.1 Modify .xinitrc:

Code: Select all

nano ~/.xinitrc
insert:

Code: Select all

exec startkde
2.2 Modify .bash_profile

Code: Select all

nano ~/.bash_profile

add this:

Code: Select all

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec startx
fi
2.3 modify /etc/conf.d/agetty.tty1 to have autologin guest at bootup
# extra options to pass to agetty for this port:
agetty_options="--autologin guest"

Code: Select all

# Set the baud rate of the terminal line
baud="38400"

# set the terminal type
term_type="linux"

# extra options to pass to agetty for this port
agetty_options="" 

# make agetty quiet
#quiet="no"
and /home/guest/.bash_profile

Code: Select all

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec xinit -- /usr/bin/X -nolisten tcp vt7
fi
3.0 Adjusting time with kde-plasma
. right click on clock > adjust time and date > select time zone.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#2 by ncmprhnsbl » 11 Oct 2017, 03:22

francois wrote:
08 Oct 2017, 05:01
As you are openrc, the modified procedure to autologin is described here:
these instructions are actually for openrc(service manager) using sysvinit as init..
the current nemesis is using openrc(service manager) and openrc init, and /etc/initab is no longer used..
here is a more relevent overview of how to do autologin with openrc (without using a dm) :
http://bbs.archbang.org/viewtopic.php?pid=33706#p33706
possibly:
/etc/conf.d/agetty.tty6

Code: Select all

# Set the baud rate of the terminal line
baud="38400"

# set the terminal type
term_type="linux"

# extra options to pass to agetty for this port
agetty_options="--autologin guest" 

# make agetty quiet
#quiet="no"
and /home/guest/.bash_profile

Code: Select all

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec xinit -- /usr/bin/X -nolisten tcp vt7
fi
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#3 by francois » 11 Oct 2017, 17:08

Thanks for your guidance.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#4 by ncmprhnsbl » 12 Oct 2017, 05:36

after some testing i've revised the technique slightly:
instead of /etc/conf.d/agetty.tty6 , it's /etc/conf.d/agetty.tty1, because for some reason openrc is drops us there at boot..
and ~/.bash_profile now looks like this:

Code: Select all

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec startx
fi
note you must also have the correct command for your DE(or WM) in /ect/X11/xinit/xinitrc or ~/.xinitrc
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#5 by francois » 12 Oct 2017, 19:37

Autologin works in guest mode. Not tested for root mode.
Thanks.

I am unable to get the nm-applet in the kde panel.
nmapplet with openrc is of no use:
https://wiki.gentoo.org/wiki/NetworkManager#OpenRC

Quicklaunch is no more available in widgets. Maybe, I should report to kde directly.
All you have to do is to add to favorites the application in kde menu, and then from the favorite right click and add to panel. :happy62:

konsole in the most recent version does not permit root mode. For kde5, is there an alternative better than xfcer-terminal which I like quite much?
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#6 by ncmprhnsbl » 13 Oct 2017, 05:43

francois wrote:
12 Oct 2017, 19:37
i am unable to get the nm-applet in the kde panel.
are you using plasma-nm? https://www.archlinux.org/packages/extr ... plasma-nm/
looks like arch has 5.11 now..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#7 by francois » 13 Oct 2017, 20:57

I thought that network-manager was already in the base modules! With plasma-nm everything works fine now.
Thanks.

Autologin works for root mode.

I begin to have a satisfactory installation. I might take some time to try to reduce the modules with brokenman building scripts which are a mystery to me. However, my actual installation boots into 25 seconds on my toshiba satellite z930. We could benchmark it with porteus. ;)

Octopi could be the package manager unless you have a better idea.

Do you know the command equivalents of:
poweroff
reboot
logout

Thanks.
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#8 by francois » 21 Oct 2017, 15:44

Allowing root mode with dolphin.

Applying a patch to dolphin the arch way to dolphin so to work root mode. I do not get it. This is needed as I need thunar presently to work root mode in the kde environment.

Code: Select all

[guest@porteus ~]$ git clone https://github.com/domker/dolphin-kdesu-git
Cloning into 'dolphin-kdesu-git'...
remote: Counting objects: 27, done.
remote: Total 27 (delta 0), reused 0 (delta 0), pack-reused 27
Unpacking objects: 100% (27/27), done.

[guest@porteus ~]$ cd dol*/
[guest@porteus dolphin-kdesu-git]$ ls                       
LICENSE                              dolphin-17.04.1-1-x86_64.pkg.tar.xz.orig
PKGBUILD                             dolphin-17.04.1-1-x86_64.pkg.tar.xz.rej
README.md                            dolphin-17.04.1-allow-root.patch
dolphin-17.04.1-1-x86_64.pkg.tar.xz
[guest@porteus dolphin-kdesu-git]$ exit
exit
[porteus dolphin-kdesu-git]# patch -p1 -i dolphin-17.04.1-allow-root.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur dolphin-17.04.0.old/src/main.cpp dolphin-17.04.0/src/main.cpp
|--- dolphin-17.04.0.old/src/main.cpp	2017-04-25 02:44:57.440557635 -0400
|+++ dolphin-17.04.0/src/main.cpp	2017-04-25 02:45:22.535328410 -0400
--------------------------
File to patch: dolphin-17.04.1-1-x86_64.pkg.tar.xz
patching file dolphin-17.04.1-1-x86_64.pkg.tar.xz
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file dolphin-17.04.1-1-x86_64.pkg.tar.xz.rej
[porteus dolphin-kdesu-git]#
Any help appreciated.
Thanks.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#9 by ncmprhnsbl » 21 Oct 2017, 22:28

try running the PKGBUILD :

Code: Select all

$cd dolphin-kdesu-git
$makepkg
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#10 by francois » 22 Oct 2017, 02:38

dolphin-17.04.1-1-x86_64.pkg.tar.xz is now obsolete and will not load complaining of missing packages
dolphin-17.08.2-1-x86_64.pkg.tar.xz is new version, any idea on how to modify the patch
Thanks.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#11 by ncmprhnsbl » 22 Oct 2017, 04:40

francois wrote:
22 Oct 2017, 02:38
any idea on how to modify the patch
wait for the patch maker to catch up :D
here's another one in the AUR (which is also out of date): https://aur.archlinux.org/packages/dolphin-root/
with patches from here : https://gitlab.com/Megver83/kdebase-root-patches
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#12 by francois » 25 Oct 2017, 01:24

:D
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

KDE5 nemesis artix based

Post#13 by ncmprhnsbl » 25 Oct 2017, 01:56

on second thought, the patch itself might still be good,you may just need the modify the PKGBUILD to use the newer dolphin version..
line:

Code: Select all

pkgver=17.08.2
and maybe the sha256sum for the newer pkg..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

KDE5 nemesis artix based

Post#14 by francois » 28 Oct 2017, 02:24

validgpgpkeys
How do I get this one?
Carpe diem.

Post Reply