#installing arch on a raspberry pi 4

1654 messages · Page 2 of 2 (latest)

finite island
#

cd

#

photo of cd

shell leaf
#

this is very odd

finite island
#

cd /usr/share

#

ls

#

photo

#

@shell leaf

shell leaf
finite island
#

cd wayland-sessions

shell leaf
finite island
shell leaf
#

well thats a lie because i know it is, i can see it right there. why is it not

shell leaf
finite island
#

rm -rf that then remake it

shell leaf
finite island
#

cd

#

rm -rf awesome

#

cd awesome

#

sudo mv dwl.desktop /usr/share/wayland-sessions

finite island
#

cd /usr/share/wayland-sessions

shell leaf
#

ls shows it only contains dwl.desktop

finite island
#

good

#

now reboot

shell leaf
finite island
#

pick dwl from ly

shell leaf
finite island
#

use the arrow keys

shell leaf
#

it only has shell and xinit

finite island
shell leaf
finite island
#

go to shell

#

then do ./startup.sh

shell leaf
finite island
#

cd awesome

shell leaf
finite island
#

cd

#

./startup.sh

shell leaf
#

DESKTOP ENVIRONMENT

finite island
#

?

shell leaf
#

there is a mouse on the screen

#

I will need to get a mouse?

finite island
#

yes

#

reboot

#

cd awesome

#

./install.sh

finite island
shell leaf
#

how do I reboot

finite island
#

control alt f5

#

login

#

reboot

shell leaf
#

control alt F5 doesn't do anything

finite island
#

unplug the pi

shell leaf
#

very fair

shell leaf
#

nevermind there is no other working option

#

this is a very good screen

#

I like this screen

shell leaf
finite island
shell leaf
#

wow I have a lot of errors

#

not terrible errors though

shell leaf
finite island
shell leaf
finite island
shell leaf
finite island
#

./install_wayland.sh

shell leaf
finite island
#

cd awesome

#

./install_wayland.sh

shell leaf
#

*awesome

#

and it is empty

#

what on earth is going on

finite island
#

cd ..

#

cd awesome

#
sed -i 's/rofi/rofi-wayland/g' packages.txt
sed -i 's/xscreensaver/wlroots/g' packages.txt
sed -i 's/picom/swww/g' packages.txt
sed -i 's/lxappearance/nwg-look/g' packages.txt
sed -i '2 a wayland-protocols' packages.txt
sed -i 's/volumeicon/waybar/g' packages.txt```
#

sudo pacman -S $(cat packages.txt | cut -d' ' -f1) --noconfirm

shell leaf
#

jesus

finite island
#

it's only 65 packages

shell leaf
finite island
shell leaf
#

sudo pacman -S $(cat packages.txt | cut -d' ' -f1) --noconfirm

#

I think I typed wrong hold on

shell leaf
#

also I have to go soon so if we reach a good time to stop let me know

finite island
shell leaf
finite island
finite island
shell leaf
#

in future

finite island
#

no

#

it's not in the arch arm repos, yet

shell leaf
finite island
finite island
shell leaf
#

errors, not stop

#

finish

finite island
shell leaf
finite island
#

pacman -Q wget

#

pacman -Q unzip

#

@shell leaf

shell leaf
#

I'm guessing pacman -S?

finite island
shell leaf
#

what on earth

finite island
#

cd ..

#

cd awesome

finite island
shell leaf
#

why does it keep disappearing?

shell leaf
#

not /

#

if that's important?

finite island
#

cd

#

then cd to awesome

shell leaf
#

ok I will use the git command

#

to create awesome

shell leaf
#

but why does awesome keep removing itself

finite island
#

rm -rf $(pwd)

finite island
finite island
#

pacman -Qi mdadm

#

pacman -Sii mdadm

#

@shell leaf

shell leaf
#

wait wait wait is that it?

shell leaf
#

screenshot by the way

finite island
#

remove gnome-disks from the list

#

then install

#

sudo pacman -S $(cat packages.txt | cut -d' ' -f1) --noconfirm

#

@shell leaf

shell leaf
finite island
shell leaf
finite island
#

and timeshift

shell leaf
#

mkinitcpio issue

finite island
#

pacman -S alacritty blueman

#

sudo pacman -S bat bluez

#

sudo pacman -S bluez-utils btop dnsmasq dunst feh firefox

#

@shell leaf

#

sudo pacman -S fzf flameshot git gnome-disk-utility

shell leaf
finite island
shell leaf
finite island
shell leaf
finite island
#

sudo pacman -S gnome-disk-utility

shell leaf
finite island
shell leaf
finite island
#

sudo pacman -S neovim nemo networkmanager

finite island
shell leaf
finite island
#

sudo pacman -S networkmanager

shell leaf
finite island
#

sudo pacman -S nemo

shell leaf
finite island
#

remove nemo from packages.txt

#

then sudo pacman -S $(cat packages.txt | cut -d' ' -f1) --noconfirm

shell leaf
finite island
shell leaf
finite island
shell leaf
finite island
#

show me your /etc/makepkg.conf

#

@shell leaf

finite island
#

there should be more @shell leaf

shell leaf
#

cat also confirms that there is no more

finite island
#

find this OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)

finite island
shell leaf
#

it is there

finite island
#

remove the extra ! you only need 1

shell leaf
finite island
#

you ran the install command three times

shell leaf
finite island
#

fc-cache -f

finite island
finite island
shell leaf
finite island
#

for word in $(cat aurpackages.txt); do yay -S --noconfirm --mflags --skipinteg $word || true; done

#

yay --devel --save

shell leaf
finite island
#

sudo pacman -S zsh

finite island
#

makepkg -siD yay --noconfirm

shell leaf
finite island
#

makepkg -si

shell leaf
#

aborting...

finite island
shell leaf
shell leaf
finite island
#

skip that part

shell leaf
finite island
finite island
shell leaf
finite island
#

sudo -lU name

shell leaf
finite island
shell leaf
#

I once again will have to go soon so let me know when it is a good time to do so

finite island
#

@shell leaf login as james

shell leaf
finite island
#
cp -r .config ~/
cp -r icons ~/.local/share
mv .zshrc ~/```
#

mv icons ~/.local/share

finite island
#

reboot

#

into dwl now

shell leaf
#

xinitrc or shell as always

finite island
#

then ./startup.sh

shell leaf
#

now what

finite island
#

what do you see?

shell leaf
finite island
shell leaf
finite island
#

login

#

pacman -Q waybar

shell leaf
#

it is ctrl alt F3 I believe

#

actually, neither of them do anything

finite island
#

reboot

#

then find out of waybar is installed

#

the install it, if not already installed

#

then reboot into dwl

shell leaf
#

now what

finite island
shell leaf
finite island
shell leaf
finite island
#

@shell leaf

shell leaf
#

however when I do ctrl alt F5 it does freeze by the way

finite island
#

tar xzf rofi-1.7.7+wayland1.tar.gz

#

cd rofi

#

mkdir build && cd build

#

../configure

#

make

#

make install

shell leaf
finite island
shell leaf
finite island
#

sudo pacman -S check

#

../configure

#

make

shell leaf
finite island
#

cd rofi-wayland

#

makepkg -si

shell leaf
finite island
#

pacman -Ss rofi-wayland

shell leaf
finite island
shell leaf
shell leaf
finite island
shell leaf
finite island
shell leaf
#

no messages

finite island
shell leaf
shell leaf
#

so are we doomed

finite island
#

@shell leaf control alt f5

shell leaf
finite island
#

control alt f7

#

exec waybar >/dev/tty 3>&1

shell leaf
finite island
#

pick a fx that does not "freeze the pi"

shell leaf
#

i have a feeling that waybar is not working so any command to open it will freeze the device

shell leaf
finite island
#

do not?

shell leaf
#

and nothing changes other than that

finite island
shell leaf
#

i get nothing

#

except mouse freeze for a couple minutes

finite island
shell leaf
finite island
#

like suse

shell leaf
#

should i throw in the towel

finite island
#

and switch to a different arm os?

#

@shell leaf

shell leaf
finite island
shell leaf
finite island
shell leaf
finite island
#

try pop-os arm instead

shell leaf
shell leaf
finite island
shell leaf
#

either way, im currently in debian

#

i dont know how to actually do anything other than move around the terminal however

finite island
#

./install.sh

shell leaf
#

apt install git doesnt work either

finite island
shell leaf
#

nothing special

finite island
#

apt update && apt upgrade

#

then install git

shell leaf
#

weird that the img doesnt come with the installer prebuilt

#

also will i be able to use any DE that i like?

#

or will i have to use gnome

finite island
shell leaf
shell leaf
finite island
shell leaf
finite island
#

-b for branch

shell leaf
#

oh I see

#

there it goes

shell leaf
finite island
shell leaf
finite island
shell leaf
#

i am in terminal

vale shadow
#

Waybar on the pi?

#

We installing hyprland?

#

Oh im far behind

shell leaf
#

however we elected that the only option is debian

vale shadow
#

What about raspianOS, the os made for the device

shell leaf
vale shadow
#

Hahaha

shell leaf
#

nothing MADE for the pi is good

vale shadow
#

Thats coz the pi isnt any good

shell leaf
vale shadow
#

Homeassistant OS is my goto for the pi

shell leaf
#

if it runs bookworm

#

or arm in the future

shell leaf
vale shadow
#

It runs a homeassistant instance

#

Thats all

shell leaf
#

whats homeassistant

vale shadow
#

Self hosted smart home server

shell leaf
#

right yeah i dont need a server

vale shadow
#

What are you going to use the PI for? I saw you have it connected to a rather big screen.

shell leaf
#

that's just the best screen I have available

#

other than a crt

vale shadow
#

Ah okay

shell leaf
#

I'm gonna use it for video games

vale shadow
#

Oh

shell leaf
#

also maybe streaming

#

and by streaming I mean off the SD card

vale shadow
#

Yeah

shell leaf
#

mp4s essentially

vale shadow
#

Okay that might work

shell leaf
#

gaming also should

#

I don't see why not

#

if it can run Debian presumably it can use deb packages

vale shadow
#

Yeah but dont expect any performance

shell leaf
#

that pi kicks the shit out of the devices I usually game on

vale shadow
#

It can barely run Minecraft, so I dont know what you play

shell leaf
#

gigabytes of ram?

#

I mean cmon

vale shadow
#

Anyways, did you flash debian to the SD card?

shell leaf
#

that's big for me

shell leaf
#

I even ran his special script

#

but still terminal

#

no de

vale shadow
#

Okay, so you flashed a debian iso to your sd card.

Inserted SD card into pi and successfully booted.

And youre in the terminal now.

#

Anything I miss?

#

@finite island whats the purpose of your install script if OP is on debian now?

shell leaf
shell leaf
vale shadow
#

Still want plasma 6?

shell leaf
#

if possible, I like the kde ecosystem

vale shadow
#

Im not sure what the debian packages are called

#

I read
kde-full
kde-standard
kde-plasma-desktop

#

Try apt search kde

#

Okay so full is just a lot of bloat afaik. Standard has some useful apps. And desktop only the essentials

shell leaf
#

define bloat

vale shadow
#

Just random stuff you probably wont use

#

apt search kde-plasma

#

If plasma 6 is in the results just install that

shell leaf
vale shadow
#

Krita

#

Kdeconnect

#

Gimp

#

Idk

shell leaf
#

gimp is good lol

#

kde connect is also good

finite island
#

@shell leaf apt list sddm

vale shadow
#

This wont do anything on debian

finite island
shell leaf
vale shadow
#

Whats the goal of installing your dotfiles for arch on OPs debian device

finite island
finite island
#

reboot

vale shadow
#

Aha, it just sent me to the arch one. Now it makes sense

#

God thats smart, im also moving my dotfiles to different branches

shell leaf
finite island
shell leaf
finite island
#

dpkg-reconfigure sddm

shell leaf
#

ok that's odd

#

apt time

#

presumably?

finite island
#

apt install sddm

shell leaf
#

it requires capital Y

#

what a strange concept

#

i just used something that was almost a GUI

#

thats crazy

#

it asked my keyboard layout

finite island
#

edit packages.txt to replace Firefox with firefox-esr in the new git clone

finite island
finite island
shell leaf
#

what is zsh

shell leaf
finite island
shell leaf
#

jesus christ the graphical glitches when i use the mouse

#

i do not have an account though so how do i log in

shell leaf
shell leaf
shell leaf
finite island
shell leaf
#

so I need to install it

#

unless I'm missing something

finite island
#

did it install via the script?

#

@shell leaf

#

rerun that script in your user

shell leaf
finite island
#

replacing Firefox with firefox-esr

shell leaf
finite island
shell leaf
#

currently terminal automatically sends me to /

finite island
#

cd debian-minimal

#

sed -i 's/firefox/firefox-esr/g' packages.txt

#

./install.sh

#

@shell leaf

shell leaf
shell leaf
finite island
#

sudo -lU username

shell leaf
finite island
#

apt install sudo

#

sudo usermod -aG sudo user

shell leaf
finite island
shell leaf
#

jesus I hate this new shell

#

typing things is quite hard

#

I can't type sudo what am I supposed to do

finite island
shell leaf
#

I have to use arrow keys to work around that lmao

finite island
#

sudo apt install zsh

shell leaf
#

I actually cannot use the arrow keys to navigate either

shell leaf
#

hate it

#

oh well, hopefully I won't have to use it much

#

I've just realised I ran ./install.sh before changing the Firefox thing

#

am I doomed

#

oh no, wall of "permission denied"

finite island
#

and make sure your user can sudo before doing that

shell leaf
#

by the way I'm currently trying to get arch vanilla to work on the steam deck as we do this which is horrible

finite island
shell leaf
finite island
shell leaf
shell leaf
finite island
finite island
finite island
shell leaf
shell leaf
finite island
#

rm -rf awesome

shell leaf
#

nobody seems to have tried

finite island
shell leaf
finite island
#

don't switch to stock arch on the steamdeck

shell leaf
#

I want to

#

I want my steamdeck to be unsteamed

finite island
shell leaf
#

I don't like the big picture mode

#

I want a regular desktop

#

I would rather windows than steamos

shell leaf
finite island
shell leaf
#

I also don't like the other adjustments valve made

#

if I could restore it to stock arch but with their drivers I would

finite island
#

cd debian-minimal

#

sed -i 's/firefox/firefox-esr/g' packages.txt

#

./install.sh

shell leaf
finite island
shell leaf
#

installed

finite island
#

@shell leaf with the sed?

shell leaf
#

couldnt i have just changed it in nano though

#

what does sed do different

finite island
shell leaf
#

what now

#

for the record, there are still lots of errors

#

about permission denied

finite island
shell leaf
finite island
#

@shell leaf did you su as you?

shell leaf
finite island
shell leaf
finite island
shell leaf
#

as before

finite island
shell leaf
#

crazy graphical glitches on sddm though

finite island
shell leaf
finite island
#

exec startplasma-x11

shell leaf
finite island
#

/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland

shell leaf
finite island
#

/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland

shell leaf
finite island
shell leaf
finite island
shell leaf
finite island
finite island
#
cd zig
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
 tar xf *
 rm -rf *.tar.xz
 mv * zig
 sudo mv zig/lib zig/zig /usr/local/bin
 cd -```
#
cd ly
sudo zig build installsystemd
sudo systemctl enable ly.service -f
sudo systemctl disable [email protected]
cd -```
#

reboot

shell leaf
#

jesus

finite island
#

tar xf *

#

rm -rf *.tar.xz

#

mv * zig

#

sudo cp zig/lib zig/zig /usr/local/bin

shell leaf
finite island
#

photo please

shell leaf
finite island
shell leaf
#

because I already have sddm

finite island
shell leaf
finite island
shell leaf
#

but i will use ly anyway

finite island
shell leaf
#

how do i remove sddm entirely? im not used to apt

finite island
#

sudo apt purge sddm

shell leaf
#

i think its currently running

finite island
#

reboot

#

control alt f5

#

sudo systemctl disable sddm

#
cd ly
sudo zig build installsystemd
sudo systemctl enable ly.service -f
sudo systemctl disable [email protected]
cd -```
#

sudo systemctl enable ly

#

reboot

#

sudo apt purge sddm

shell leaf
#

so... thats good

finite island
#

@shell leaf those other commands, should run

shell leaf
finite island
#

with those same commands

finite island
shell leaf
# finite island yes

for the record, the arm version is taking an extremely long time to download lmao

shell leaf
shell leaf
# finite island any

well i think i was doing something fundementally wrong which explains the long wait time

#

however now i cannot resolve host

#

also text is way bigger now

finite island
shell leaf
finite island
#

@shell leaf sudo systemctl status ly