View previous topic :: View next topic |
Author |
Message |
steveo314 n00b
Joined: 08 Sep 2006 Posts: 52
|
Posted: Thu Oct 17, 2024 10:12 pm Post subject: waybar error |
|
|
Trying to configure waybar on hyprland. When i try to run waybar from kitty, I get the error that waybar cannot find dbus. |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 410 Location: Naarm/Melbourne, Australia
|
Posted: Fri Oct 18, 2024 12:15 am Post subject: |
|
|
Is there a D-Bus session bus running? (Note this is not the same as the D-Bus system bus provided by the 'dbus' service.) Check if the DBUS_SESSION_BUS_ADDRESS variable is set, e.g. by running:
If it's not, then you need to start a session bus when you start your Hyprland session, e.g. by starting Hyprland like this:
Code: | $ dbus-run-session hyprland |
_________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
steveo314 n00b
Joined: 08 Sep 2006 Posts: 52
|
Posted: Fri Oct 18, 2024 4:42 am Post subject: |
|
|
[quote="flexibeast"]Is there a D-Bus session bus running? (Note this is not the same as the D-Bus system bus provided by the 'dbus' service.) Check if the DBUS_SESSION_BUS_ADDRESS variable is set, e.g. by running:
If it's not, then you need to start a session bus when you start your Hyprland session, e.g. by starting Hyprland like this:
Code: | $ dbus-run-session hyprland | [/quote
I don't think Hyprland likes to be started from lightdm |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 410 Location: Naarm/Melbourne, Australia
|
Posted: Fri Oct 18, 2024 6:37 am Post subject: |
|
|
You haven't answered my question about confirming whether or not there is a D-Bus session bus active. If there's not, you need to work out how to ensure LightDM starts a session bus before it starts Hyprland. (i'm not at all familiar with LightDM, and the Gentoo wiki page for LightDM only talks about the `dbus` service, which as i wrote in my previous message, starts a system bus, not the session bus that's required.) _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
steveo314 n00b
Joined: 08 Sep 2006 Posts: 52
|
Posted: Fri Oct 18, 2024 12:18 pm Post subject: |
|
|
DELETE PLEASE****
Last edited by steveo314 on Fri Oct 18, 2024 12:22 pm; edited 1 time in total |
|
Back to top |
|
|
steveo314 n00b
Joined: 08 Sep 2006 Posts: 52
|
Posted: Fri Oct 18, 2024 12:20 pm Post subject: |
|
|
Running gives the DBUS ID
When I actually run Code: | dbus-run-session Hyprland | from tty1, Hyprland and waybar
start how they should. I have lightdm starting on tty7 which is how I go into KDE plasma.[/quote] |
|
Back to top |
|
|
|