Wiki page kde changed with summary [[KDE] add xinit method] by Daniel
This commit is contained in:
parent
f8ae245591
commit
790e8a9d8f
1 changed files with 36 additions and 1 deletions
|
@ -9,9 +9,44 @@ systemctl enable --now sddm
|
|||
</code>
|
||||
|
||||
That's actually it.
|
||||
Check out all the [[https://archlinux.org/groups/x86_64/kde-applications/|KDE software]] and suggested packages below and install whatever you like.
|
||||
|
||||
Check out all the [[https://archlinux.org/groups/x86_64/kde-applications/|KDE software]] and suggested packages below and install whatever you like.
|
||||
|
||||
<alert type="danger" icon="fa fa-exclamation-triangle">Using xorg (enable SDDM) as root can be a security risk! You can use xinit instead.</alert>
|
||||
|
||||
===== xinit =====
|
||||
|
||||
The //disadvantage// of this method is that you have to log in via terminal.
|
||||
|
||||
So install ''plasma'' and ''xorg'' as described above and skip ''enable sddm'' and do the following instead:
|
||||
|
||||
<code>
|
||||
pacman -S xorg-xinit
|
||||
</code>
|
||||
<code>
|
||||
cp /etc/X11/xinit/xinitrc ~/.xinitrc
|
||||
</code>
|
||||
<code>
|
||||
nano ~/.xinitrc
|
||||
</code>
|
||||
Comment out:
|
||||
<code>
|
||||
# twm &
|
||||
# xclock -geometry 50x50-1+1 &
|
||||
# xterm -geometry 80x50+494+51 &
|
||||
# xterm -geometry 80x20+494-0 &
|
||||
# exec xterm -geometry 80x66+0+0 -name login
|
||||
</code>
|
||||
|
||||
<code>
|
||||
echo "export DESKTOP_SESSION=plasma
|
||||
exec startplasma-x11" >> ~/.xinitrc
|
||||
</code>
|
||||
<code>
|
||||
echo "if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
exec startx
|
||||
fi" >> ~/.bash_profile
|
||||
</code>
|
||||
====== Suggested software ======
|
||||
|
||||
Just add the packages to the above ''pacman'' command.
|
||||
|
|
Loading…
Reference in a new issue