Moksha from source on raspberry pi 400
Dec 3, 2022 21:40:39 GMT
Hippytaff, ylee, and 3 more like this
Post by enver on Dec 3, 2022 21:40:39 GMT
Moksha from source on a raspberrypi 400
This procedure is based on enigma9o7's excellent tutorial, Moksha from source on Debian bullseye i386.
It uses Debian bullseye, with some files from bodhi and ubuntu. It produces a working desktop, but not all the rapspberry pi functionality.
Download the latest tested image for pi400, 20220121_raspi_4_bullseye.img.xz
Uncompress, and burn to a usb memory stick.
Using ethernet cable for network connection, boot the pi400 from the usb memory.
At the prompt, login as root, no password required.
Set a root password using the command passwd
Run apt update and apt upgrade to bring the system up to date
If necessary, run dpkg-reconfigure tzdata to set your time zone
Install sudo using the command apt install sudo
Create a normal user with the command adduser yourusername
This command will create a group, add the user to the group, create a home directory, and prompt for a password
Add an entry for the user to the sudo file with the command EDITOR=nano visudo
Exit from root, and login as youruser
Using sudo apt install, install the following packages
lightdm meson wget git python3-pip libeet-bin debhelper dbus-x11
pavucontrol network-manager-gnome xclip libasound2-dev libxext-dev
libpam0g-dev libxcb-shape0-dev libxcb-keysyms1-dev liblvm2-dev
libefl-all-dev udisks2 libudisks2-dev arandr pm-utils udisks2
mkdir tmp
cd tmp
wget ports.ubuntu.com/pool/universe/e/edbus/libedbus1_1.7.10-1ubuntu2_arm64.deb
dpkg-deb -x libedbus1_1.7.10-1ubuntu2_arm64.deb edbus
dpkg-deb -e libedbus1_1.7.10-1ubuntu2_arm64.deb edbus/DEBIAN
now edit edbus/DEBIAN/control to make the Depends line
Depends: libc6 (>= 2.17), libdbus-1-3 (>= 1.1.1), libefl-all-dev
and delete the line Pre-Depends: multiarch-support
fakeroot dpkg-deb -b edbus bullseye-edbus.deb
wget ports.ubuntu.com/pool/universe/e/edbus/libedbus-dev_1.7.10-1ubuntu2_arm64.deb
dpkg-deb -x libedbus-dev_1.7.10-1ubuntu2_arm64.deb edbus-dev
dpkg-deb -e libedbus-dev_1.7.10-1ubuntu2_arm64.deb edbus-dev/DEBIAN
now edit edbus-dev/DEBIAN/control to make the Depends line
Depends: libdbus-1-dev, libefl-all-dev, libedbus1 (= 1.7.10-1ubuntu2)
fakeroot dpkg-deb -b edbus-dev bullseye-edbus-dev.deb
wget ports.ubuntu.com/ubuntu-ports/pool/universe/u/udisks/udisks_1.0.5-1_arm64.deb
dpkg-deb -x udisks_1.0.5-1_arm64.deb udisks
dpkg-deb -e udisks_1.0.5-1_arm64.deb udisks/DEBIAN
now edit udisks/DEBIAN/control to make the Depends line
Depends: libatasmart4 (>= 0.13), libc6 (>= 2.17), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.88), libdevmapper1.02.1 (>= 2:1.02.20), libglib2.0-0 (>= 2.37.3), libgudev-1.0-0 (>= 146), liblvm2-dev (>= 2.02.98), libparted2, libpolkit-gobject-1-0 (>= 0.99), libsgutils2-2 (>= 1.27), libudev1 (>= 183), udev, dbus
fakeroot dpkg-deb -b udisks bullseye-udisks.deb
sudo apt install -y ./bullseye-*.deb
wget archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20221018_all.deb
sudo apt install ./raspi-config_20221018_all.deb
wget packages.bodhilinux.com/bodhi/pool/b6main/m/moksha-menu/moksha-menu_0.2-2_all.deb
sudo apt install ./moksha-menu_0.2-2_all.deb
Set autologin. Using sudo, edit /etc/lightdm/lightdm.conf
In the [seat:*] section, uncomment the line autologin-user= and append your username
uncomment the line autologin-session= and append enlightenment
cd ..
git clone github.com/JeffHoogland/moksha
cd moksha
./autogen.sh --prefix=/usr
make
sudo make install
Enable power management for hibernate, reboot, power off etc.
Using sudo, edit /usr/etc/enlightenment/sysactions.conf
uncomment the line user: myuser allow: *, and change myuser to your username
Install your favourite utilities
For examaple, sudo apt install chromium terminator pcmanfm mousepad
reboot
You now have a working desktop
The easiest way to add themes is to copy an .edj file from another bodhi system, then at the theme dialog window import and apply the theme
You can find .edj files in /usr/share/enlohtenment/data/themes or
/home/youruser/.e/e/themes
This procedure is based on enigma9o7's excellent tutorial, Moksha from source on Debian bullseye i386.
It uses Debian bullseye, with some files from bodhi and ubuntu. It produces a working desktop, but not all the rapspberry pi functionality.
Download the latest tested image for pi400, 20220121_raspi_4_bullseye.img.xz
Uncompress, and burn to a usb memory stick.
Using ethernet cable for network connection, boot the pi400 from the usb memory.
At the prompt, login as root, no password required.
Set a root password using the command passwd
Run apt update and apt upgrade to bring the system up to date
If necessary, run dpkg-reconfigure tzdata to set your time zone
Install sudo using the command apt install sudo
Create a normal user with the command adduser yourusername
This command will create a group, add the user to the group, create a home directory, and prompt for a password
Add an entry for the user to the sudo file with the command EDITOR=nano visudo
Exit from root, and login as youruser
Using sudo apt install, install the following packages
lightdm meson wget git python3-pip libeet-bin debhelper dbus-x11
pavucontrol network-manager-gnome xclip libasound2-dev libxext-dev
libpam0g-dev libxcb-shape0-dev libxcb-keysyms1-dev liblvm2-dev
libefl-all-dev udisks2 libudisks2-dev arandr pm-utils udisks2
mkdir tmp
cd tmp
wget ports.ubuntu.com/pool/universe/e/edbus/libedbus1_1.7.10-1ubuntu2_arm64.deb
dpkg-deb -x libedbus1_1.7.10-1ubuntu2_arm64.deb edbus
dpkg-deb -e libedbus1_1.7.10-1ubuntu2_arm64.deb edbus/DEBIAN
now edit edbus/DEBIAN/control to make the Depends line
Depends: libc6 (>= 2.17), libdbus-1-3 (>= 1.1.1), libefl-all-dev
and delete the line Pre-Depends: multiarch-support
fakeroot dpkg-deb -b edbus bullseye-edbus.deb
wget ports.ubuntu.com/pool/universe/e/edbus/libedbus-dev_1.7.10-1ubuntu2_arm64.deb
dpkg-deb -x libedbus-dev_1.7.10-1ubuntu2_arm64.deb edbus-dev
dpkg-deb -e libedbus-dev_1.7.10-1ubuntu2_arm64.deb edbus-dev/DEBIAN
now edit edbus-dev/DEBIAN/control to make the Depends line
Depends: libdbus-1-dev, libefl-all-dev, libedbus1 (= 1.7.10-1ubuntu2)
fakeroot dpkg-deb -b edbus-dev bullseye-edbus-dev.deb
wget ports.ubuntu.com/ubuntu-ports/pool/universe/u/udisks/udisks_1.0.5-1_arm64.deb
dpkg-deb -x udisks_1.0.5-1_arm64.deb udisks
dpkg-deb -e udisks_1.0.5-1_arm64.deb udisks/DEBIAN
now edit udisks/DEBIAN/control to make the Depends line
Depends: libatasmart4 (>= 0.13), libc6 (>= 2.17), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.88), libdevmapper1.02.1 (>= 2:1.02.20), libglib2.0-0 (>= 2.37.3), libgudev-1.0-0 (>= 146), liblvm2-dev (>= 2.02.98), libparted2, libpolkit-gobject-1-0 (>= 0.99), libsgutils2-2 (>= 1.27), libudev1 (>= 183), udev, dbus
fakeroot dpkg-deb -b udisks bullseye-udisks.deb
sudo apt install -y ./bullseye-*.deb
wget archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20221018_all.deb
sudo apt install ./raspi-config_20221018_all.deb
wget packages.bodhilinux.com/bodhi/pool/b6main/m/moksha-menu/moksha-menu_0.2-2_all.deb
sudo apt install ./moksha-menu_0.2-2_all.deb
Set autologin. Using sudo, edit /etc/lightdm/lightdm.conf
In the [seat:*] section, uncomment the line autologin-user= and append your username
uncomment the line autologin-session= and append enlightenment
cd ..
git clone github.com/JeffHoogland/moksha
cd moksha
./autogen.sh --prefix=/usr
make
sudo make install
Enable power management for hibernate, reboot, power off etc.
Using sudo, edit /usr/etc/enlightenment/sysactions.conf
uncomment the line user: myuser allow: *, and change myuser to your username
Install your favourite utilities
For examaple, sudo apt install chromium terminator pcmanfm mousepad
reboot
You now have a working desktop
The easiest way to add themes is to copy an .edj file from another bodhi system, then at the theme dialog window import and apply the theme
You can find .edj files in /usr/share/enlohtenment/data/themes or
/home/youruser/.e/e/themes