summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFabien Proriol <fabien.proriol@kazoe.org>2025-05-25 17:58:09 +0200
committerFabien Proriol <fabien.proriol@kazoe.org>2025-05-26 18:01:49 +0200
commit49daa163530ceabc9eaa8911ab96b5f799cfb552 (patch)
tree080d0b31eafd138cd8d47d5c2a52b75d3cfa6f28 /conf
Initial Commit
Diffstat (limited to 'conf')
-rw-r--r--conf/kms.conf11
-rw-r--r--conf/kzdesktop.conf3
-rw-r--r--conf/kzdesktop.service21
-rw-r--r--conf/kzdesktop.sh3
4 files changed, 38 insertions, 0 deletions
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