Page 1 of 1

KDE5 nemesis artix based

Posted: 08 Oct 2017, 05:01
by francois
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 Packages
http://www.linuxveda.com/2015/02/27/how ... rch-linux/

Code: Select all

pman -S plasma-desktop dolphin konsole kscreen libkscreen plasma-nm
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
# 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 Additional basic packages (***to come***):
.printing module from manjaro linux
.scanning for brother, installation of brother scan
.package manager including aur (with octopi?)

KDE5 nemesis artix based

Posted: 11 Oct 2017, 03:22
by ncmprhnsbl
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

KDE5 nemesis artix based

Posted: 11 Oct 2017, 17:08
by francois
Thanks for your guidance.

KDE5 nemesis artix based

Posted: 12 Oct 2017, 05:36
by ncmprhnsbl
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

KDE5 nemesis artix based

Posted: 12 Oct 2017, 19:37
by francois
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?

KDE5 nemesis artix based

Posted: 13 Oct 2017, 05:43
by ncmprhnsbl
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..

KDE5 nemesis artix based

Posted: 13 Oct 2017, 20:57
by francois
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.

KDE5 nemesis artix based

Posted: 21 Oct 2017, 15:44
by francois
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.

KDE5 nemesis artix based

Posted: 21 Oct 2017, 22:28
by ncmprhnsbl
try running the PKGBUILD :

Code: Select all

$cd dolphin-kdesu-git
$makepkg

KDE5 nemesis artix based

Posted: 22 Oct 2017, 02:38
by francois
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.

KDE5 nemesis artix based

Posted: 22 Oct 2017, 04:40
by ncmprhnsbl
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