From 5693eac970aed5cabce15ee05e9c53ee92e0e125 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Mon, 5 Jun 2023 12:01:38 +0200 Subject: [PATCH] move dbus activation to i3 config --- dot_config/i3/executable_config.tmpl | 3 +++ dot_zprofile | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dot_config/i3/executable_config.tmpl b/dot_config/i3/executable_config.tmpl index 8887655..3d244e4 100644 --- a/dot_config/i3/executable_config.tmpl +++ b/dot_config/i3/executable_config.tmpl @@ -475,6 +475,9 @@ exec --no-startup-id ~/.screenlayout/monitor.sh exec_always --no-startup-id feh --bg-scale ~/desktop-bilder/background.jpg #exec_always --no-startup-id feh --bg-scale /opt/deadc0de-os-code/background.jpg +# start dbus for xdg-desktop-portal-gtk.service user service +exec --no-startup-id "dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY" + # conky ;-) #exec --no-startup-id /opt/.Conky/startconky.sh now diff --git a/dot_zprofile b/dot_zprofile index fcf1bf4..671abe9 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -8,10 +8,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then # Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet if [ "${autostartdesktop}" = "i3" ]; then - dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY - - export XDG_CURRENT_DESKTOP=i3 - echo "exec i3" > ~/.xinitrc startx else