Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbus session not restarted on relogging. #384

Open
Sydiepus opened this issue May 27, 2022 · 6 comments
Open

dbus session not restarted on relogging. #384

Sydiepus opened this issue May 27, 2022 · 6 comments
Labels
bug This issue or pull request discusses a bug

Comments

@Sydiepus
Copy link

I have an issue when i log out then back in to Qtile(wayland), it seems like the dbus session isn't restarted.

I get this error in qtile :

could not open dbus info file: /home/noen/.dbus/session-bus/a6ca2ab917c743f994d4e74a91e65afa-0

However it works fine with SDDM.

I have no idea if what i just said makes any sense, but that's how i can explain this.

@AnErrupTion AnErrupTion added the bug This issue or pull request discusses a bug label Jun 3, 2022
@sylv-io
Copy link

sylv-io commented Jun 8, 2022

Same here. (systemd+ly+sway)

Tray icons do not work anymore unless i restart ly.

@tontsa28
Copy link

I think I have the same problem, has anyone figured out a fix for this yet?

@Sydiepus
Copy link
Author

A work around for this issue would be to launch the window manager with dbus-run-session.
e.g:

[Desktop Entry]
Name=Qtile (Wayland)
Comment=Qtile Session
# Doesn't work
#Exec=qtile start -b wayland
# Works
Exec=dbus-run-session qtile start -b wayland
#Exec=env XDG_CURRENT_DESKTOP=wlroots dbus-run-session qtile start -b wayland
Type=Application
Keywords=wm;tiling

@greed-d
Copy link

greed-d commented Nov 3, 2022

@Sydiepus do I put it in /usr/share/dbus-1/session.conf?

@greed-d
Copy link

greed-d commented Nov 3, 2022

found it ;)

@sagarreddypatil
Copy link

@Sydiepus do I put it in /usr/share/dbus-1/session.conf?

/usr/share/applications/i3.desktop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request discusses a bug
Projects
None yet
Development

No branches or pull requests

6 participants