Skip to main content
Topic: gbar problems in Hyprland. (Read 127 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

gbar problems in Hyprland.

So I installed Hyprland with gBar, and I want to make gBar start from hyprland.conf. First, I tried to do it as always:
Code: [Select]
exec-once gBar bar 0
But that didn’t work, so I wrote a script to do it:
Code: [Select]
#!/bin/bash
echo "Starting gBar script..." >> /tmp/gbar.log

sleep 5

echo "Launching gBar..." >> /tmp/gbar.log

gBar bar 0 >> /tmp/gbar.log 2>> /tmp/gbar.error.log &

echo "gBar launched" >> /tmp/gbar.log
It did not work again, but at least I got an error in the logs:
Code: [Select]
(gBar:9983): GLib-GIO-CRITICAL **: 16:15:06.392: g_dbus_connection_flush_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Does anyone know what causes this, and more importantly, how to fix it? I’m asking here because this is the last place on the internet that could solve my problem.

Any help or responses would be greatly appreciated.

 

Re: gbar problems in Hyprland.

Reply #1
First try with a fresh user and hyprland setup on your system.

If the errors persists then you might try https://github.com/scorpion-26/gBar/issues

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons