Fixed evolution-desktop xwayland

This commit is contained in:
Tracker-Friendly 2023-09-12 19:34:30 +01:00
parent 71546c29c5
commit 715747e55c
4 changed files with 15 additions and 2 deletions

View File

@ -10,6 +10,7 @@ help() {
if [[ "$1" = "" ]]; then if [[ "$1" = "" ]]; then
drunner drunner
ln -s /etc/dinit.d/greetd /etc/dinit.d/boot.d/greetd ln -s /etc/dinit.d/greetd /etc/dinit.d/boot.d/greetd
ln -s /etc/dinit.d/evolution-desktop /etc/dinit.d/boot.d/evolution-desktop
echo "Evolution-Desktop will now start at launch." echo "Evolution-Desktop will now start at launch."
elif [[ "$1" = "-h" ]]; then elif [[ "$1" = "-h" ]]; then
help help
@ -17,6 +18,7 @@ elif [[ "$1" = "--help" ]]; then
help help
elif [[ "$1" = "-r" ]]; then elif [[ "$1" = "-r" ]]; then
rm -f /etc/dinit.d/boot.d/greetd rm -f /etc/dinit.d/boot.d/greetd
rm -f /etc/dinit.d/boot.d/evolution-desktop
echo "Evolution-Desktop will no longer start at launch" echo "Evolution-Desktop will no longer start at launch"
else else
echo "Unregonised option. Use --help for help." echo "Unregonised option. Use --help for help."

View File

@ -0,0 +1,5 @@
waits-for = greetd
type = scripted
command = /etc/dinit.d/evolution-desktop.sh
logfile = /var/log/rcboot.log
restart = false

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkdir /tmp/.X11-unix
chown root /tmp/.X11-unix
chmod 1777 /tmp/.X11-unix

View File

@ -1,12 +1,12 @@
pkgname=evolution-desktop pkgname=evolution-desktop
version=1.1 version=1.1
revision=12 revision=13
build_style=meta build_style=meta
maintainer="Tracker-Friendly <jliwin98@danwin1210.de>" maintainer="Tracker-Friendly <jliwin98@danwin1210.de>"
short_desc="Desktop and Greeter for EvolutionOS" short_desc="Desktop and Greeter for EvolutionOS"
license="GPL-3.0" license="GPL-3.0"
homepage="https://evolutionos.codeberg.page" homepage="https://evolutionos.codeberg.page"
depends="wayfire greetd wf-shell wcm mesa mesa-dri elogind polkit mate-polkit greetd-gtkgreet gtkloadspinner dbus dconf nautilus alacritty pipewire wireplumber slurp grim alsa-pipewire gnome-system-monitor upower brightnessctl gnome-themes-extra dejavu-fonts-ttf xdg-desktop-portal-wlr xdg-desktop-portal-gtk swaylock swayidle wpa_supplicant wpa-cute evolution-theme-switcher" depends="wayfire greetd wf-shell wcm mesa mesa-dri elogind polkit mate-polkit greetd-gtkgreet gtkloadspinner dbus dconf nautilus alacritty pipewire wireplumber slurp grim alsa-pipewire gnome-system-monitor upower brightnessctl gnome-themes-extra dejavu-fonts-ttf xdg-desktop-portal-wlr xdg-desktop-portal-gtk swaylock swayidle wpa_supplicant wpa-cute evolution-theme-switcher xorg-server-xwayland gvfs"
conf_files="/usr/bin/Wayfire /usr/bin/startsession" conf_files="/usr/bin/Wayfire /usr/bin/startsession"
do_install() { do_install() {
@ -14,6 +14,8 @@ do_install() {
mkdir -p ${DESTDIR}/etc/runit/runsvdir/default mkdir -p ${DESTDIR}/etc/runit/runsvdir/default
cp -r ${FILESDIR}/var/service/* ${DESTDIR}/etc/runit/runsvdir/default/ cp -r ${FILESDIR}/var/service/* ${DESTDIR}/etc/runit/runsvdir/default/
mkdir -p ${DESTDIR}/etc/dinit.d/
cp -r ${FILESDIR}/etc/dinit.d/* ${DESTDIR}/etc/dinit.d/
vbin ${FILESDIR}/bin/Wayfire vbin ${FILESDIR}/bin/Wayfire
vbin ${FILESDIR}/bin/startsession vbin ${FILESDIR}/bin/startsession
vbin ${FILESDIR}/bin/audioctl vbin ${FILESDIR}/bin/audioctl