Arch, Plasma desktop and wayland
#1
Hey pals,
I somehow got plasma-desktop on wayland with arch running and some people asked for a write-up so here we go. Please consider that this is all work in progress and that performance might not be best, especially if you run from sd card. Also you should not mindlessly copy paste commands from the internet, but you know that, don't you? Wink
With that said, let's rock on.

First of all get an image for arch https://github.com/dreemurrs-embedded/Pi...h/releases
Get the barebone-image with your favourite tool on a SD card and put it in your tab.
You'll be greeted by a screen that is rotated by 90° because that's the default orientation for the panel as I heard. Login with the provided creds. You can connect to a  WLAN with the tool nmtui. After that I recommend turning on ssh and doing most of it over ssh as that simplifies quite a lot with copy pasting and so on.
The command is 
Code:
sudo systemctl enable sshd
sudo systemctl start sshd

If you want to turn off ssh at some point or after you're done with the config
Code:
sudo systemctl disable sshd
sudo systemctl stop sshd
Depending on how old the image is, you should upgrade first
Code:
sudo pacman -Syu
Let's get the groundwork for plasma done. This may take some time, because a lot of packages are installed. I did not test a minimal build yet.
Code:
sudo pacman -S fakeroot git make gcc go binutils qt5-svg knotifications kdbusaddons kservice kcmutils purpose cmake breeze breeze-icons plasma-framework sddm qt5-wayland plasma-wayland-session plasma-meta qt5-virtualkeyboard iio-sensor-proxy sddm-kcm
After everything is installed there's some work to be done, for plasma to automagically start.
Code:
sudo systemctl enable sddm
Because sddms wayland support is experimental and it won't show you anything beside the cursor, I went the way of autologin. First you create the folder for the sddm config and then you create the file for the login itself.
Code:
sudo mkdir /etc/sddm.conf.d/
sudo nano /etc/sddm.conf.d/autologin.conf
Put the following into the file
Code:
[Autologin]
User=alarm
Session=plasmawayland.desktop
If I haven't forget something you can reboot now and should be greeted with a gui for the first time.

Plasma does have some issues still. Your display is still rotated and it doesn't rotate automatically like you want to. Go to systemsettings -> Display and Monitor -> Display Configuration and unmark the "Only when in table mode." after an apply you're able to rotate the table as you like.
Something that helped me too was to activate tap-to click under input devices-> touchpad.

If you're familiar with arch you may have noticed that you installed stuff for compilation too. That is because I wanted to use the plasma mobile apps and some of them are on AUR and can therefore be compiled.
As an example the plasma browser angelfish
Code:
git clone https://aur.archlinux.org/plasma-angelfish.git
cd plasma-angelfish/
nano PKGBUILD
change the x86_64 to aarch64
Code:
makepkg -si
Obviously this takes some time but afterwards the package is installed.
  Reply


Messages In This Thread
Arch, Plasma desktop and wayland - by peperjohnny - 09-14-2020, 10:15 AM
RE: Arch, Plasma desktop and wayland - by pjsf - 09-15-2020, 02:37 AM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 09-16-2020, 07:33 AM
RE: Arch, Plasma desktop and wayland - by aqtrans - 09-16-2020, 11:16 AM
RE: Arch, Plasma desktop and wayland - by kelbot - 10-16-2020, 08:00 PM
RE: Arch, Plasma desktop and wayland - by kelbot - 10-21-2020, 11:10 AM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 10-23-2020, 10:08 AM
RE: Arch, Plasma desktop and wayland - by kelbot - 10-25-2020, 05:35 PM
RE: Arch, Plasma desktop and wayland - by kelbot - 11-03-2020, 10:43 PM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 12-12-2020, 03:02 PM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 12-14-2020, 12:35 PM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 01-04-2021, 01:50 PM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 01-30-2021, 02:28 PM
RE: Arch, Plasma desktop and wayland - by wd5gnr - 02-02-2021, 06:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTab Mobian LXDE desktop fjord 0 68 02-24-2021, 06:32 PM
Last Post: fjord
  Arch Linux ARM on PineTab Danct12 21 5,412 02-21-2021, 01:05 PM
Last Post: JasonG-FR
  Pine tab with phosh or plasma? dhosh 3 639 12-24-2020, 02:05 AM
Last Post: andybleaden@gmail.com
  Arch and ZRam wd5gnr 4 1,813 12-03-2020, 04:37 AM
Last Post: tomoqv
  Got Vivaldi Working on Arch! wd5gnr 4 1,432 11-09-2020, 12:13 PM
Last Post: hanscees
  Any way to disable wake on power connect/full charge? (Arch) quipacorn 3 934 10-14-2020, 10:00 AM
Last Post: quipacorn
  libertine and desktop apps m4xx3d0ut 2 1,056 09-15-2020, 12:07 AM
Last Post: peperjohnny

Forum Jump:


Users browsing this thread: 2 Guest(s)