From d7d623b764247cca0ed823de39ba9e09997d47b3 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 5 Jan 2024 05:22:15 -0800 Subject: [PATCH] :memo: Note of zprofile exec dbus for keepassxc --- wayland_with_nvidia.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wayland_with_nvidia.md b/wayland_with_nvidia.md index e8fcc906..6192ce99 100644 --- a/wayland_with_nvidia.md +++ b/wayland_with_nvidia.md @@ -187,10 +187,11 @@ img2sixel image.png **AUTO STARTING IN TTY2 VIA ZPROFILE** To start river automatically when logging into tty2, add the following to your -zprofile: +zprofile ( note the addition of dbus-launch, this is necessary for certain +programs like keepassxc): ``` -[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 2 ]] && exec river +[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 2 ]] && exec dbus-launch --exit-with-session ``` **CONCLUSION** @@ -202,3 +203,7 @@ I can use X11 until Nvidia catches up with Wayland (solve that artifcating issue NVIDIA, come on!!), and in the meanwhile, I can start to get ready for this eventual migration. Lastly, I'll have to look into how to get river to start up in TTY1, as .xinitrc obviously won't work for that... + +``` + +```