You are not logged in.

#1 2021-06-16 14:11:23

a_manthey
Member
Registered: 2017-08-21
Posts: 35

[SOLVED]: Wayfire: Where To Store Modified .desktop-File?

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

#2 2021-06-16 14:23:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,655

Re: [SOLVED]: Wayfire: Where To Store Modified .desktop-File?

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

#3 2021-06-16 14:38:43

a_manthey
Member
Registered: 2017-08-21
Posts: 35

Re: [SOLVED]: Wayfire: Where To Store Modified .desktop-File?

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

#4 2021-06-16 15:24:26

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]: Wayfire: Where To Store Modified .desktop-File?

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 ' |

Online

#5 2021-06-16 21:01:17

a_manthey
Member
Registered: 2017-08-21
Posts: 35

Re: [SOLVED]: Wayfire: Where To Store Modified .desktop-File?

@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

#6 2022-08-15 17:44:15

a_manthey
Member
Registered: 2017-08-21
Posts: 35

Re: [SOLVED]: Wayfire: Where To Store Modified .desktop-File?

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

Board footer

Powered by FluxBB