From 49daa163530ceabc9eaa8911ab96b5f799cfb552 Mon Sep 17 00:00:00 2001 From: Fabien Proriol Date: Sun, 25 May 2025 17:58:09 +0200 Subject: Initial Commit --- conf/kms.conf | 11 +++++++++++ conf/kzdesktop.conf | 3 +++ conf/kzdesktop.service | 21 +++++++++++++++++++++ conf/kzdesktop.sh | 3 +++ 4 files changed, 38 insertions(+) create mode 100644 conf/kms.conf create mode 100644 conf/kzdesktop.conf create mode 100644 conf/kzdesktop.service create mode 100644 conf/kzdesktop.sh (limited to 'conf') diff --git a/conf/kms.conf b/conf/kms.conf new file mode 100644 index 0000000..6629859 --- /dev/null +++ b/conf/kms.conf @@ -0,0 +1,11 @@ +{ + "hwcursor" : false, + "pbuffers": true, + "device": "/dev/dri/card1", + "outputs": [ + { + "name": "DP1", + "format":"argb8888" + } + ] +} diff --git a/conf/kzdesktop.conf b/conf/kzdesktop.conf new file mode 100644 index 0000000..be38d38 --- /dev/null +++ b/conf/kzdesktop.conf @@ -0,0 +1,3 @@ +[desktop] +orientation="horizontal" +theme="light" diff --git a/conf/kzdesktop.service b/conf/kzdesktop.service new file mode 100644 index 0000000..dc7c6bb --- /dev/null +++ b/conf/kzdesktop.service @@ -0,0 +1,21 @@ +[Unit] +Description=KaZoe desktop compositor +Wants=dbus.service + +[Service] +Restart=always +RestartSec=1s +Type=notify +NotifyAccess=main +ExecStart=/usr/bin/kzdesktop +StandardOutput=journal+console +WatchdogSec=5 + +Environment="QT_QPA_PLATFORM=eglfs" +Environment="QT_WAYLAND_SERVER_BUFFER_INTEGRATION=dmabuf-server" +Environment="QT_WAYLAND_CLIENT_BUFFER_INTEGRATION=linux-dmabuf-unstable-v1" +Environment="QT_IM_MODULE=qtvirtualkeyboard" +Environment="XDG_DATA_DIRS=/var/volatile:/usr/share" + +[Install] +WantedBy=default.target diff --git a/conf/kzdesktop.sh b/conf/kzdesktop.sh new file mode 100644 index 0000000..9463922 --- /dev/null +++ b/conf/kzdesktop.sh @@ -0,0 +1,3 @@ +# Profile for desktopmgr /etc/profile.d/desktopmgr.sh +export QT_QPA_PLATFORM=wayland-egl +export WAYLAND_DISPLAY=wayland-0 -- cgit v1.2.3