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
  How to install Plasma Mobile in Archlinux Surehand53 14 3,869 02-28-2024, 07:07 AM
Last Post: aular
  Plasma Update broken? Corkonian 0 563 11-03-2023, 07:40 AM
Last Post: Corkonian
  Arch Linux (danctnix) virtual keyboard layout change cudo 0 699 09-27-2023, 12:19 PM
Last Post: cudo
  Favourite desktop environment discussion FortunateFowl 6 1,703 09-02-2023, 07:38 AM
Last Post: lllll
  Plasma Mobile configuration Surehand53 0 1,221 07-05-2023, 03:29 PM
Last Post: Surehand53
  Download new plasma widgets error Corconegre 1 968 06-26-2023, 05:20 AM
Last Post: dachalife
  No desktop after latest updates (Jun 16, 2023) rqkeating 5 1,677 06-21-2023, 04:16 PM
Last Post: rqkeating
  Arch Linux ARM on PineTab 1 Danct12 25 29,783 06-10-2023, 05:33 PM
Last Post: fxc
Video Does DactNix Arch Linux support my use case? BlueGalaxy 22 6,133 05-18-2023, 03:45 AM
Last Post: KC9UDX
  PineTab Mobian LXDE desktop fjord 0 2,252 02-24-2021, 06:32 PM
Last Post: fjord

Forum Jump:


Users browsing this thread: 1 Guest(s)