You are not logged in.
To avoid long delay on startup of some applications i start wayfire by
dbus-run-session
To start wayfire from gdm or lightdm wayfire-git aur contains /usr/share/wayland-sessions/wayland.desktop. Where should i place the wayfire.desktop with edited exec-line?
Last edited by a_manthey (2021-06-16 21:11:26)
Offline
The display managers in question should properly setup the user bus so that this adjustment shouldn't be necessary when you use one of the display managers.
Offline
I run wayfire from gdm and have to wait > 25 sec for several applications (thunar, wcm, rhythmbox ...) if the desktop-file is not modified.
Offline
I think you might be able to solve that 20 second hang with similar commands like for sway? https://github.com/swaywm/sway/wiki#gtk … s-to-start
dbus-run-session should really be unnecessary when systemd already starts the session.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
@propagandy: thanks for your hint. Adding
importenv = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY
dbusupdate = hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
to autostart-section of wayfire.ini solved it. Thunar, rhythmbox, wcm-git and evolution are starting immediately.
Offline
I had the long delay on startup of thunar again. in the sample wayfire ini i found in the [autostart] section
# XDG desktop portal
# Needed by some GTK applications
portal = /usr/libexec/xdg-desktop-portal
adding this to my config does not help.
Last edited by a_manthey (2022-08-16 09:30:23)
Offline