09-14-2020, 10:15 AM
(This post was last modified: 09-14-2020, 10:16 AM by peperjohnny.)
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?
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
If you want to turn off ssh at some point or after you're done with the config
Depending on how old the image is, you should upgrade first
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.
After everything is installed there's some work to be done, for plasma to automagically start.
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.
Put the following into the file
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
change the x86_64 to aarch64
Obviously this takes some time but afterwards the package is installed.
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?
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
Code:
sudo pacman -Syu
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
Code:
sudo systemctl enable sddm
Code:
sudo mkdir /etc/sddm.conf.d/
sudo nano /etc/sddm.conf.d/autologin.conf
Code:
[Autologin]
User=alarm
Session=plasmawayland.desktop
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
Code:
makepkg -si