scorpion-26 / gbar Goto Github PK
View Code? Open in Web Editor NEWBlazingly fast status bar written with GTK
License: MIT License
Blazingly fast status bar written with GTK
License: MIT License
Being able to embed Cava inside of the bar for a visualizer would be really nice!
Describe the bug
When running gBar on Hyprland either from terminal or from the hyprland config, running systemctl suspend
crashes the bar.
I think I'm just dumb and there's some way that already exists to keep it open on system sleep but I'm not seeing how to do that written anywhere. Help appreciated!
Steps to Reproduce
systemctl suspend
and let the system fully sleepExpected behavior
gBar should remain open like other programs that are currently running (e.g. firefox)
Screenshots/Error logs
Failed opening config!
NVML not found, disabling Nvidia GPU
Wayland: Added workspace!
Workspace ID: 2
Wayland: Deactivate Workspace 2
Wayland: Added workspace!
Workspace ID: 1
Wayland: Activate Workspace 1
Wayland: Registering monitor HDMI-A-1 at ID 0
Wayland: Added group to monitor
Forcefully activate workspace 1
PulseAudio: Context is ready!
PulseAudio: Update info
Info: No CSS found in /home/captainbanaynays/.config
Info: No CSS found in /home/captainbanaynays/.local/share
Info: No CSS found in /usr/local/share
CSS found and loaded successfully!
SNI: Clearing old children
Invalid child!
(gBar:69880): Gtk-CRITICAL **: 01:54:56.911: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:69880): Gtk-CRITICAL **: 01:54:56.911: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
sh: line 1: checkupdates: command not found
GetOutdatedPackages: Invalid command. Disabling package widget!
SNI: Registered Item :1.54 /org/ayatana/NotificationItem/steam
SNI: Creating Item :1.54 /org/ayatana/NotificationItem/steam
SNI: Menu object path: /org/ayatana/NotificationItem/steam/Menu
SNI: Clearing old children
Destroy widget
(gBar:69880): Gtk-CRITICAL **: 01:54:58.029: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.54 to widget
(gBar:69880): Gtk-CRITICAL **: 01:55:33.276: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.376: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
Wayland: Added workspace!
Wayland: Deactivate Workspace 4294967295
Wayland: Deactivate Workspace 4294967295
Workspace ID: 3
Wayland: Deactivate Workspace 1
Wayland: Deactivate Workspace 2
Wayland: Activate Workspace 3
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_style_context_remove_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_style_context_add_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_style_context_remove_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_style_context_add_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
PulseAudio: Update info
(gBar:69880): Gtk-CRITICAL **: 01:55:33.540: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
Wayland: Registering monitor HDMI-A-1 at ID 1
Wayland: Added group to monitor
(gBar:69880): Gtk-CRITICAL **: 01:55:33.577: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.677: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.778: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.878: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:33.978: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.079: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_style_context_remove_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_style_context_add_class: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_button_set_label: assertion 'GTK_IS_BUTTON (button)' failed
(gBar:69880): Gtk-CRITICAL **: 01:55:34.177: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
Segmentation fault (core dumped)
Information about your system and gBar
I configured my Hyprland with exec-once = gBar bar 0
. This resulted in no bar and the gBar process using 100% CPU.
I used my fork's Nix flake to install it on NixOS.
How do you start it?
Describe the bug
Sometimes (but not always!) running gBar bar 0
results in the following error:
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: recursive directory iterator cannot open directory: No such file or directory [/usr/share/icons]
Since I'm using NixOS the /usr/share/icons
directory doesn't exist, but I'm not sure the application should crash when failing to (presumably) load icons. I would expect it to open with a placeholder for such icons.
Steps to Reproduce
/usr/share/icons
directory to something elsegBar bar 0
I've no idea why this crash only happens sometimes though 😓
Expected behavior
gBar should open with placeholders for icons it could not load (presuming that's what it's doing)
Screenshots/Error logs
sky@home ~$ gBar bar 0 134 ↵
Set value for AudioInput: false
Set value for AudioMaxVolume: 100
Set value for AudioMinVolume: 0
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for CenterTime: true
Set value for DateTimeStyle: %a %D - %H:%M:%S %Z
Set value for DefaultWorkspaceSymbol:
Set value for EnableSNI: true
Set value for ExitCommand: killall Hyprland
Set value for Location: T
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for MaxDownloadBytes: 10485760
Set value for MaxUploadBytes: 5242880
Set value for MinDownloadBytes: 0
Set value for MinUploadBytes: 0
Set value for NetworkAdapter: eno1
Set value for NetworkWidget: true
Set value for SuspendCommand: systemctl suspend
Set value for TimeSpace: 300
Set value for UseHyprlandIPC: false
Set value for WorkspaceScrollInvert: false
Set value for WorkspaceScrollOnMonitor: true
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for SuspendCommand: ~/.config/scripts/sys.sh suspend
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for ExitCommand: killall Hyprland
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for DefaultWorkspaceSymbol:
Set value for WorkspaceScrollOnMonitor: true
Set value for WorkspaceScrollInvert: false
Set value for UseHyprlandIPC: true
Set value for CenterTime: true
Set value for TimeSpace: 300
Set value for AudioInput: false
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for CheckPackagesCommand: p="$(checkupdates)"; e=$?; if [ $e -eq 127 ] ; then exit 127; fi; if [ $e -eq 2 ] ; then echo "0" && exit 0; fi; echo "$p" | wc -l
Set value for CheckUpdateInterval: 300
Set value for NetworkAdapter: eno1
Set value for NetworkWidget: true
Set value for EnableSNI: true
Set value for SNIIconSize: *, 25
Set value for SNIIconSize: OBS, 23
Set value for MinDownloadBytes: 0
Set value for MaxDownloadBytes: 10485760
Set value for MinUploadBytes: 0
Set value for MaxUploadBytes: 5242880
Wayland: Added workspace!
Workspace ID: 6
Wayland: Deactivate Workspace 6
Wayland: Added workspace!
Workspace ID: 3
Wayland: Activate Workspace 3
Wayland: Added workspace!
Workspace ID: 1
Wayland: Deactivate Workspace 1
Wayland: Added workspace!
Workspace ID: 7
Wayland: Deactivate Workspace 7
Wayland: Registering monitor DP-1 at ID 0
Wayland: Added group to monitor
Wayland: Registering monitor DP-3 at ID 1
Wayland: Added group to monitor
Wayland: Registering monitor DP-2 at ID 2
Wayland: Added group to monitor
Forcefully activate workspace 3
Forcefully activate workspace 1
NVML not found, disabling Nvidia GPU
PulseAudio: Context is ready!
PulseAudio: Update info
CSS found and loaded successfully!
SNI: Clearing old children
Invalid child!
(gBar:227740): Gtk-CRITICAL **: 19:06:47.257: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:227740): Gtk-CRITICAL **: 19:06:47.257: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
sh: line 1: checkupdates: command not found
GetOutdatedPackages: Invalid command. Disabling package widget!
SNI: Registered Item :1.5 /org/ayatana/NotificationItem/nm_applet
SNI: Registered Item :1.346 /org/blueman/sni
SNI: Registered Item :1.37 /org/ayatana/NotificationItem/steam
SNI: Creating Item :1.37 /org/ayatana/NotificationItem/steam
SNI: Menu object path: /org/ayatana/NotificationItem/steam/Menu
SNI: Creating Item :1.346 /org/blueman/sni
SNI: Cannot open blueman-active
SNI: Creating Item :1.5 /org/ayatana/NotificationItem/nm_applet
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: recursive directory iterator cannot open directory: No such file or directory [/usr/share/icons]
[1] 227740 IOT instruction (core dumped) gBar bar 0
Information about your system and gBar
gBar: error while loading shared libraries: libgBar.so: cannot open shared object file: No such file or directory
this error when running gBar bar 0
.
Hi, I use gBar and I really like it, the bar is very light and also I like the animation for CPU, Disk, RAM...
However they are some features that I missed.
1- Custom module, I know that gBar have a Plugins module, but not anybody have the skill to program in C++, with a custom module we can make or find a script easily.
Example from waybar
"custom/pacmanAlt": {
"format": " {}",
"interval": 3600,
"exec": "checkupdates | wc -l",
or
"exec": "~/.config/gBar/script/updates.sh",
3- When the mouse hover a workspace item the background will change color.
That will will make the workspace module more dynamic.
Example:
style.css
.ws-hover {
background-color: rgba(0, 0, 0, 0.2)
}
Currently the method of communicating between Hyprland and gBar is Hyprland's IPC, which is really inefficient (About 4% CPU usage just for that). Thus it would be desirable to implement the ext-workspace-unstable-v1 Wayland protocol.
Audio slider is basically useless for me due to the fact that when dragging the volume up or down the volume only starts changing in the rightmost couple pixels of the slider. The rest of the slider doesn't do anything but i can change the volume correctly in the rightmost part of the slider, goes from 100-0 in a very small area.
Steps to Reproduce
Open gBar through terminal
Use audioslider.
Expected behavior
The volume is at 90% when 90% of the slider is slid and 10% when 10% is slid.
Screenshots/Error logs
Not much to go on here...
Information about your system and gBar
Describe the bug
When i open Teamviewer, gBar crashes.
Steps to Reproduce
What did you do, that triggered the issue?
Expected behavior
Keep teamviewer on tray
Screenshots/Error logs
SNI: Searching icon TeamViewer in /var/lib/flatpak/exports/share/icons
SNI: Searching icon TeamViewer in /usr/local/share//icons
SNI: Searching icon TeamViewer in /usr/share//icons
GLib:ERROR:../glib/glib/gvariant-serialiser.c:1551:g_variant_serialised_n_children: code should not be reached
Bail out! GLib:ERROR:../glib/glib/gvariant-serialiser.c:1551:g_variant_serialised_n_children: code should not be reached
zsh: IOT instruction (core dumped) gBar bar 0
Information about your system and gBar
Hi
For some reason i get this error whenever i have KDE conenct / Indicator in the systray, and the bar becomes buggy with alot of flickering and the icons dissapearing:
(gBar:81868): Gtk-CRITICAL **: 18:03:26.139: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.10 to widget
(gBar:81868): GdkPixbuf-CRITICAL **: 18:03:26.139: gdk_pixbuf_new_from_bytes: assertion 'height > 0' failed
SNI: Add :1.20 to widget
(gBar:81868): GdkPixbuf-CRITICAL **: 18:03:26.151: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gBar:81868): GdkPixbuf-CRITICAL **: 18:03:26.151: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gBar:81868): GdkPixbuf-CRITICAL **: 18:03:26.151: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkDrawingArea': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkEventBox': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkBox': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkBox': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkBox': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkBox': invalid matrix (not invertible)
(gBar:81868): Gtk-WARNING **: 18:03:26.151: drawing failure for widget 'GtkWindow': invalid matrix (not invertible)
Im using Hyprland on NixOS
Pretty much what the title says. I'm using the stock config.
Any fix for that?
Describe the bug
Since this commit below, I can no longer install gBar.
Steps to Reproduce
ninja -C build && sudo ninja -C build install
Screenshots/Error logs
https://pastebin.com/EvsDjQdp
Information about your system and gBar
Describe the bug
Turning off a monitor (either manually with the power button or using dpms) causes gBar to crash
Steps to Reproduce
hyprland dispatch dpms off
for example)Expected behavior
The bars should be displayed
Screenshots/Error logs
sky@home /$ gBar bar 1
Set value for AudioInput: false
Set value for AudioMaxVolume: 100
Set value for AudioMinVolume: 0
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for CenterTime: true
Set value for DateTimeStyle: %a %D - %H:%M:%S %Z
Set value for DefaultWorkspaceSymbol:
Set value for EnableSNI: true
Set value for ExitCommand: killall Hyprland
Set value for Location: T
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for MaxDownloadBytes: 10485760
Set value for MaxUploadBytes: 5242880
Set value for MinDownloadBytes: 0
Set value for MinUploadBytes: 0
Set value for NetworkAdapter: eno1
Set value for NetworkWidget: true
Set value for SuspendCommand: systemctl suspend
Set value for TimeSpace: 300
Set value for UseHyprlandIPC: false
Set value for WorkspaceScrollInvert: false
Set value for WorkspaceScrollOnMonitor: true
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for SuspendCommand: ~/.config/scripts/sys.sh suspend
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for ExitCommand: killall Hyprland
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for DefaultWorkspaceSymbol:
Set value for WorkspaceScrollOnMonitor: true
Set value for WorkspaceScrollInvert: false
Set value for UseHyprlandIPC: true
Set value for CenterTime: true
Set value for TimeSpace: 300
Set value for AudioInput: false
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for CheckPackagesCommand: p="$(checkupdates)"; e=$?; if [ $e -eq 127 ] ; then exit 127; fi; if [ $e -eq 2 ] ; then echo "0" && exit 0; fi; echo "$p" | wc -l
Set value for CheckUpdateInterval: 300
Set value for NetworkAdapter: eno1
Set value for NetworkWidget: true
Set value for EnableSNI: false
Set value for SNIIconSize: *, 25
Set value for SNIIconSize: OBS, 23
Set value for MinDownloadBytes: 0
Set value for MaxDownloadBytes: 10485760
Set value for MinUploadBytes: 0
Set value for MaxUploadBytes: 5242880
Wayland: Added workspace!
Workspace ID: 2
Wayland: Activate Workspace 2
Wayland: Added workspace!
Workspace ID: 6
Wayland: Deactivate Workspace 6
Wayland: Added workspace!
Workspace ID: 1
Wayland: Deactivate Workspace 1
Wayland: Added workspace!
Workspace ID: 7
Wayland: Deactivate Workspace 7
Wayland: Registering monitor DP-3 at ID 0
Wayland: Added group to monitor
Wayland: Registering monitor DP-1 at ID 1
Wayland: Added group to monitor
Wayland: Registering monitor DP-2 at ID 2
Wayland: Added group to monitor
Forcefully activate workspace 2
Forcefully activate workspace 1
NVML not found, disabling Nvidia GPU
PulseAudio: Context is ready!
PulseAudio: Update info
CSS found and loaded successfully!
(gBar:207739): Gtk-CRITICAL **: 17:54:57.459: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:207739): Gtk-CRITICAL **: 17:54:57.459: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
sh: line 1: checkupdates: command not found
GetOutdatedPackages: Invalid command. Disabling package widget!
[1] 207739 segmentation fault (core dumped) gBar bar 1
Information about your system and gBar
Allowing the use of custom, non-nerdfont fonticons like Phosphor would be great :)
Describe the bug
When using workspace 9, the icon that corresponds to it is unresponsive.
Steps to Reproduce
Expected behavior
Color should change like the rest of the workspace icons.
Information about your system and gBar
Please fill out this form and delete the defaults(everything not in bold font), so I can help you better
Describe the bug
What doesn't work? Please be as precise as possible.
gBar crashes on loading
Steps to Reproduce
What did you do, that triggered the issue?
e.g.:
Expected behavior
What do you expect should happen?
e.g.: gBar shouldn't crash, but stay open
Screenshots/Error logs
Information about your system and gBar
Failed opening config!
Wayland: Registering monitor DP-3 at ID 0
Wayland: Registering monitor DP-5 at ID 1
NVML not found, disabling Nvidia GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5822:26: '-shadow' is not a valid color name
(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5825:14: not a number
(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5826:13: not a number
(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5827:11: Expected a length
Info: No CSS found in /home/air/.config
Info: No CSS found in /home/air/.local/share
Info: No CSS found in /usr/local/share
CSS found and loaded successfully!
SNI: Clearing old children
Invalid child!
(gBar:11469): Gtk-CRITICAL **: 17:34:25.657: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:11469): Gtk-CRITICAL **: 17:34:25.657: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
SNI: Registered Item org.kde.StatusNotifierItem-2448-1 /StatusNotifierItem
SNI: Registered Item org.kde.StatusNotifierItem-2646-1 /StatusNotifierItem
SNI: Registered Item :1.43 /org/ayatana/NotificationItem/Skype1
SNI: Registered Item :1.77 /org/blueman/sni
SNI: Creating Item :1.43 /org/ayatana/NotificationItem/Skype1
SNI: Menu object path: /org/ayatana/NotificationItem/Skype1/Menu
SNI: Allocating static name buffer for :1.43
SNI: Creating Item :1.77 /org/blueman/sni
SNI: Searching icon blueman-tray in /usr/share/icons
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: status: Too many levels of symbolic links [/usr/share/icons/Bibata_Ghost/cursors/diamond_cross]
Aborted (core dumped)
Describe the bug
i have all the dependencies, i run meson setup build
then ninja -C build
and it gives this error
ninja: Entering directory `build'
[1/1] Linking target gBar
FAILED: gBar
c++ -o gBar gBar.p/src_gBar.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,XXXXXXXX -Wl,--start-group libgBar.a /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgtk-layer-shell.so /usr/lib/x86_64-linux-gnu/libpulse.so /usr/local/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libdbusmenu-gtk3.so /usr/lib/x86_64-linux-gnu/libdbusmenu-glib.so -Wl,--end-group
/usr/local/bin/ld: libgBar.a(src_System.cpp.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/local/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Steps to Reproduce
meson setup build
ninja -C build
Expected behavior
it to be compiled
Information about your system and gBar
Please fill out this form and delete the defaults(everything not in bold font), so I can help you better
Describe the bug
Tray icons not showing up.
Steps to Reproduce
Installed gBar via yay, started gbar using gBar bar 0
Caprine and discord just dissapears after a short while, remmina doesnt show up at all.
edit: fixed after copying remmina icon into search path of gBar.
Discord and Caprine icons just disappears.
Expected behavior
Tray icons should disappear.
Screenshots/Error logs
`
gBar bar 0
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for SuspendCommand: ~/.config/scripts/sys.sh suspend
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for ExitCommand: killall Hyprland
Set value for BatteryFolder: /sys/class/power_supply/BAT0
Set value for DefaultWorkspaceSymbol:
Set value for WorkspaceScrollOnMonitor: true
Set value for WorkspaceScrollInvert: false
Set value for UseHyprlandIPC: true
Set value for Location: T
Set value for CenterTime: true
Set value for TimeSpace: 300
Set value for DateTimeStyle: %a %D - %H:%M:%S
Set value for AudioInput: false
Set value for AudioRevealer: true
Set value for AudioScrollSpeed: 5
Set value for CheckPackagesCommand: p="$(checkupdates)"; e=$?; if [ $e -eq 127 ] ; then exit 127; fi; if [ $e -eq 2 ] ; then echo "0" && exit 0; fi; echo "$p" | wc -l
Set value for CheckUpdateInterval: 300
Set value for NetworkAdapter: wlan0
Set value for NetworkWidget: true
Set value for EnableSNI: true
Set value for SNIIconSize: *, 25
Set value for SNIIconSize: OBS, 23
Set value for MinDownloadBytes: 0
Set value for MaxDownloadBytes: 10485760
Set value for MinUploadBytes: 0
Set value for MaxUploadBytes: 5242880
Wayland: Added workspace!
Workspace ID: 10
Wayland: Deactivate Workspace 10
Wayland: Added workspace!
Workspace ID: 9
Wayland: Activate Workspace 9
Wayland: Added workspace!
Workspace ID: 3
Wayland: Deactivate Workspace 3
Wayland: Registering monitor DP-4 at ID 0
Wayland: Added group to monitor
Wayland: Registering monitor DP-5 at ID 1
Wayland: Added group to monitor
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
CSS found and loaded successfully!
SNI: Clearing old children
Invalid child!
(gBar:50878): Gtk-CRITICAL **: 12:05:41.876: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(gBar:50878): Gtk-CRITICAL **: 12:05:41.876: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
SNI: Registered Item org.kde.StatusNotifierItem-43838-1 /StatusNotifierItem
SNI: Registered Item org.kde.StatusNotifierItem-44229-1 /StatusNotifierItem
SNI: Registered Item :1.250 /StatusNotifierItem
SNI: Registered Item :1.15 /org/ayatana/NotificationItem/indicator_solaar
SNI: Registered Item :1.343 /org/ayatana/NotificationItem/remmina_icon
SNI: Registered Item :1.9 /org/ayatana/NotificationItem/nm_applet
SNI: Registered Item :1.17 /org/ayatana/NotificationItem/smsportal
SNI: Registered Item :1.7 /org/ayatana/NotificationItem/pasystray
SNI: Registered Item :1.393 /org/blueman/sni
SNI: Creating Item :1.7 /org/ayatana/NotificationItem/pasystray
SNI: Searching icon audio-volume-low in /home/stla/.local/share/flatpak/exports/share/icons
SNI: Searching icon audio-volume-low in /var/lib/flatpak/exports/share/icons
SNI: Searching icon audio-volume-low in /usr/local/share/icons
SNI: Searching icon audio-volume-low in /usr/share/icons
SNI: Menu object path: /org/ayatana/NotificationItem/pasystray/Menu
SNI: Creating Item :1.17 /org/ayatana/NotificationItem/smsportal
SNI: Menu object path: /org/ayatana/NotificationItem/smsportal/Menu
SNI: Creating Item :1.9 /org/ayatana/NotificationItem/nm_applet
SNI: Searching icon nm-signal-75 in /home/stla/.local/share/flatpak/exports/share/icons
SNI: Searching icon nm-signal-75 in /var/lib/flatpak/exports/share/icons
SNI: Searching icon nm-signal-75 in /usr/local/share/icons
SNI: Searching icon nm-signal-75 in /usr/share/icons
SNI: Menu object path: /org/ayatana/NotificationItem/nm_applet/Menu
SNI: Creating Item :1.343 /org/ayatana/NotificationItem/remmina_icon
SNI: Searching icon org.remmina.Remmina-status in /home/stla/.local/share/flatpak/exports/share/icons
SNI: Searching icon org.remmina.Remmina-status in /var/lib/flatpak/exports/share/icons
SNI: Searching icon org.remmina.Remmina-status in /usr/local/share/icons
SNI: Searching icon org.remmina.Remmina-status in /usr/share/icons
SNI: Menu object path: /org/ayatana/NotificationItem/remmina_icon/Menu
SNI: Creating Item :1.393 /org/blueman/sni
SNI: Searching icon blueman-tray in /home/stla/.local/share/flatpak/exports/share/icons
SNI: Searching icon blueman-tray in /var/lib/flatpak/exports/share/icons
SNI: Searching icon blueman-tray in /usr/local/share/icons
SNI: Searching icon blueman-tray in /usr/share/icons
SNI: Title: Bluetooth Enabled
SNI: Menu object path: /org/blueman/sni/menu
SNI: Creating Item :1.15 /org/ayatana/NotificationItem/indicator_solaar
SNI: Cannot open /usr/share/solaar/icons/battery-full-symbolic.png
SNI: Creating Item :1.250 /StatusNotifierItem
SNI: Width: 256
SNI: Height: 256
SNI: Title: 1Password
SNI: Menu object path: /com/canonical/dbusmenu
SNI: Creating Item org.kde.StatusNotifierItem-44229-1 /StatusNotifierItem
SNI: Width: 96
SNI: Height: 96
SNI: Title: Caprine
SNI: Menu object path: /com/canonical/dbusmenu
SNI: Creating Item org.kde.StatusNotifierItem-43838-1 /StatusNotifierItem
SNI: Width: 24
SNI: Height: 24
SNI: Title: Discord
SNI: Menu object path: /com/canonical/dbusmenu
SNI: Clearing old children
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:43.003: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.7 to widget
SNI: Add :1.17 to widget
SNI: Add :1.9 to widget
SNI: Add :1.343 to widget
SNI: Add :1.393 to widget
SNI: Add :1.250 to widget
SNI: Add org.kde.StatusNotifierItem-44229-1 to widget
SNI: Add org.kde.StatusNotifierItem-43838-1 to widget
Audio: Set volume of sink: 0.16
Audio: Set volume of sink: 0.2
Audio: Set volume of sink: 0.24
Audio: Set volume of sink: 0.29
Audio: Set volume of sink: 0.34
SNI: Reloading :1.7 /org/ayatana/NotificationItem/pasystray
SNI: Reloading org.kde.StatusNotifierItem-44229-1 /org/ayatana/NotificationItem/pasystray
SNI: Reloading org.kde.StatusNotifierItem-43838-1 /org/ayatana/NotificationItem/pasystray
Audio: Set volume of sink: 0.36
Audio: Set volume of sink: 0.37
SNI: Creating Item org.kde.StatusNotifierItem-43838-1 /org/ayatana/NotificationItem/pasystray
SNI: Unknown path!
SNI: Creating Item org.kde.StatusNotifierItem-44229-1 /org/ayatana/NotificationItem/pasystray
SNI: Unknown path!
SNI: Creating Item :1.7 /org/ayatana/NotificationItem/pasystray
SNI: Searching icon audio-volume-medium in /home/stla/.local/share/flatpak/exports/share/icons
SNI: Searching icon audio-volume-medium in /var/lib/flatpak/exports/share/icons
SNI: Searching icon audio-volume-medium in /usr/local/share/icons
SNI: Searching icon audio-volume-medium in /usr/share/icons
SNI: Menu object path: /org/ayatana/NotificationItem/pasystray/Menu
SNI: Clearing old children
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.898: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.898: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.898: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:50878): Gtk-CRITICAL **: 12:05:47.899: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.17 to widget
SNI: Add :1.9 to widget
SNI: Add :1.343 to widget
SNI: Add :1.393 to widget
SNI: Add :1.250 to widget
SNI: Add :1.7 to widget
Audio: Set volume of sink: 0.37
Audio: Set volume of sink: 0.38
PulseAudio: Update info
`
Information about your system and gBar
Describe the bug
gBar fails to launch
Steps to Reproduce
Expected behavior
gBar should open
Screenshots/Error logs
christian@nixos ~ (main)> gBar bar 0
Set value for AudioInput: false
Set value for AudioMaxVolume: 100
Set value for AudioMinVolume: 0
Set value for AudioNumbers: false
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for CenterTime: true
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string_view::substr: __pos (which is 18446744073709551615) > __size (which is 1)
fish: Job 1, 'gBar bar 0' terminated by signal SIGABRT (Abort)
christian@nixos ~ (main) [SIGABRT]>
Information about your system and gBar
.
Hi ! Imo it could be nice to add a confirmation button for each power option (shutdown, reboot, log out etc...), 'cause a couple of time i shutdown the computer for mistake 😅.
I hope that my request isn't an "idiot request".
discord tray icon not showing and how can i remove bluetooth from the bar
I am loving the project. It is so much lighter than Waybar. Very well done.
However, I do have some feature requests to have the same functionality that I have on Waybar. I am currently using a customized version of LinuxMobile's Waybar config, and these are some features that I would love to see in gBar.
I personally prefer to use numbers for my workspaces, brightness, microphone, and volume sliders.
I understand that this is a personal project so there is no shame in saying "no" to these features.
hi,
nice project with potential to become a thing!
i try to run it on hyprland on endeavouros, installed it from aur,
copied default config and css to .config/gBar
Result:
gBar bar 0
Set value for ...
...
Failed initializing nvml!
[Exiting due to assert failed]
I exited slack from tray, which caused gBar to get a segmentation fault.
Can't really reproduce.
Steps to Reproduce
Click on slack icon, and select quit.
Expected behavior
Slack quits. gBar stays open.
Screenshots/Error logs
SNI: Add org.kde.StatusNotifierItem-1702-1 to widget
SNI: Add org.kde.StatusNotifierItem-1704-1 to widget
PulseAudio: Update info
PulseAudio: Update info
0x561d4571d070
(gBar:33073): LIBDBUSMENU-GLIB-CRITICAL **: 11:44:38.866: dbusmenu_menuitem_send_about_to_show: assertion 'DBUSMENU_IS_MENUITEM(mi)' failed
/com/canonical/dbusmenu click
(gBar:33073): Gtk-CRITICAL **: 11:44:38.873: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(gBar:33073): Gtk-CRITICAL **: 11:44:38.873: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
0x561d67069ab0
(gBar:33073): LIBDBUSMENU-GLIB-CRITICAL **: 11:44:50.631: dbusmenu_menuitem_send_about_to_show: assertion 'DBUSMENU_IS_MENUITEM(mi)' failed
/com/canonical/dbusmenu click
(gBar:33073): Gtk-CRITICAL **: 11:44:50.637: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(gBar:33073): Gtk-CRITICAL **: 11:44:50.637: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
SNI: :1.121 vanished!
SNI: Clearing old children
(gBar:33073): Gtk-CRITICAL **: 11:44:51.649: gtk_widget_remove_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:33073): Gtk-CRITICAL **: 11:44:51.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.10 to widget
SNI: Add :1.16 to widget
SNI: Add :1.214 to widget
SNI: Add :1.222 to widget
SNI: Add :1.6 to widget
SNI: Add :1.63 to widget
SNI: Add :1.9 to widget
SNI: Add org.kde.StatusNotifierItem-1702-1 to widget
SNI: Add org.kde.StatusNotifierItem-1704-1 to widget
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
SNI: Cannot remove unregistered bus name :1.121
zsh: segmentation fault (core dumped) gBar bar 0
Information about your system and gBar
Thank you for gBar, it looks and works great!
Describe the bug
When the Bluetooth button is clicked it does not check for the existence of the dropdown before opening a new one.
Steps to Reproduce
Expected behavior
The dropdown should no longer be visible
Observed behavior
The dropdown menu continues to be visible until the red X button is clicked as many times as the Bluetooth button
Screenshots/Error logs
Irrelevant
Information about your system and gBar
Describe the bug
Crashes on startup.
Steps to Reproduce
gBar bar 0
Expected behavior
Screenshots/Error logs
...
(gBar:68873): Gtk-CRITICAL **: 08:16:36.784: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
Destroy widget
(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget
(gBar:68873): Gtk-CRITICAL **: 08:16:36.798: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
fish: Job 1, 'gBar bar 0' terminated by signal SIGSEGV (Address boundary error)
Information about your system and gBar
How can I enable, network and updater module?
Btw the bar is so nice, and solid, clean and plug n play.
I prefer this more and using this,
In the current case, the Network module only shows wifi or ethernet as set in config and doesn't dynamically switch between them as per system's preference. May be if you come up with an idea or like setting a toggle on the bar, or gestures like clicking on the network module to switch between wifi and ethernet infos, it would be great.
Please fill out this form and delete the defaults(everything not in bold font), so I can help you better
Describe the bug
Icons in the traybar are not shown. This log is coming up:
| gBar bar 1
Set value for AudioInput: false
Set value for AudioMaxVolume: 100
Set value for AudioMinVolume: 0
Set value for AudioNumbers: false
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for CenterTime: true
Set value for DateTimeLocale:
Set value for DateTimeStyle: %a %D - %H:%M:%S %Z
Set value for DefaultWorkspaceSymbol:
Set value for DiskPartition: /
Set value for EnableSNI: true
Set value for ExitCommand: killall Hyprland
Set value for Location: T
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for MaxDownloadBytes: 10485760
Set value for MaxUploadBytes: 5242880
Set value for MinDownloadBytes: 0
Set value for MinUploadBytes: 0
Set value for NetworkAdapter: eno1
Set value for NetworkWidget: true
Set value for NumWorkspaces: 9
Set value for SensorTooltips: true
Set value for SuspendCommand: systemctl suspend
Set value for TimeSpace: 300
Set value for UseHyprlandIPC: true
Set value for WorkspaceScrollInvert: false
Set value for WorkspaceScrollOnMonitor: true
Wayland: Registering monitor eDP-1 at ID 0
Wayland: Registering monitor DP-2 at ID 1
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
CSS found and loaded successfully!
(gBar:660164): Gtk-WARNING **: 18:33:05.075: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
SNI: Clearing old children
Invalid child!
sh: line 1: checkupdates: command not found
GetOutdatedPackages: Invalid command. Disabling package widget!
SNI: Registered Item :1.583 /org/ayatana/NotificationItem/nm_applet
SNI: Registered Item :1.586 /org/ayatana/NotificationItem/udiskie
SNI: Creating Item :1.586 /org/ayatana/NotificationItem/udiskie
SNI: Searching icon drive-removable-media-usb-pendrive in /nix/store/l7a67y2wh5ky2rm03rzrg1k2vnn29918-desktops/share/icons
SNI: Searching icon drive-removable-media-usb-pendrive in /home/chris/.nix-profile/share/icons
SNI: Searching icon drive-removable-media-usb-pendrive in /etc/profiles/per-user/chris/share/icons
SNI: Searching icon drive-removable-media-usb-pendrive in /nix/var/nix/profiles/default/share/icons
SNI: Searching icon drive-removable-media-usb-pendrive in /run/current-system/sw/share/icons
SNI: Searching icon drive-removable-media-usb-pendrive in /usr/share/icons
SNI: Creating icon from "/usr/share/icons/Papirus/16x16/devices/drive-removable-media-usb-pendrive.svg"
SNI: Error loading svg /usr/share/icons/Papirus/16x16/devices/drive-removable-media-usb-pendrive.svg: Couldn’t recognize the image file format for file “/usr/share/icons/Papirus/16x16/devices/drive-removable-media-usb-pendrive.svg”
SNI: Menu object path: /org/ayatana/NotificationItem/udiskie/Menu
SNI: Allocating static name buffer for :1.586
SNI: Creating Item :1.583 /org/ayatana/NotificationItem/nm_applet
SNI: Searching icon nm-device-wired in /nix/store/l7a67y2wh5ky2rm03rzrg1k2vnn29918-desktops/share/icons
SNI: Searching icon nm-device-wired in /home/chris/.nix-profile/share/icons
SNI: Searching icon nm-device-wired in /etc/profiles/per-user/chris/share/icons
SNI: Searching icon nm-device-wired in /nix/var/nix/profiles/default/share/icons
SNI: Searching icon nm-device-wired in /run/current-system/sw/share/icons
SNI: Searching icon nm-device-wired in /usr/share/icons
SNI: Creating icon from "/usr/share/icons/Papirus/16x16/panel/nm-device-wired.svg"
SNI: Error loading svg /usr/share/icons/Papirus/16x16/panel/nm-device-wired.svg: Couldn’t recognize the image file format for file “/usr/share/icons/Papirus/16x16/panel/nm-device-wired.svg”
SNI: Menu object path: /org/ayatana/NotificationItem/nm_applet/Menu
SNI: Allocating static name buffer for :1.583
SNI: Clearing old children
Remove widget from parent
Destroy widget and its children
Steps to Reproduce
What did you do, that triggered the issue?
I am on NixOS.
This is the output of cat /usr/share/icons/Papirus/16x16/panel/nm-device-wired.svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<defs>
<style id="current-color-scheme" type="text/css">
.ColorScheme-Text { color:#dfdfdf; } .ColorScheme-Highlight { color:#4285f4; } .ColorScheme-NeutralText { color:#ff9800; } .ColorScheme-PositiveText { color:#4caf50; } .ColorScheme-NegativeText { color:#f44336; }
</style>
</defs>
<path style="fill:currentColor" class="ColorScheme-Text" d="m 1,1.0000004 c 0,0 -1,0 -1,1 V 12 c 0,1 1,1 1,1 h 2 l 1,1 h 7 l 1,-1 h 2 c 0,0 1,0.13 1,-1 V 2.0000004 c 0,-1 -1,-1 -1,-1 z m 1,2 h 1 v 2 h 1 v -2 h 1 v 2 h 1 v -2 h 1 v 2 h 1 v -2 h 1 v 2 h 1 v -2 h 1 v 2 h 1 v -2 h 1 V 11 h -2 l -1,1 H 5 L 4,11 H 2 Z"/>
</svg>
Expected behavior
Tray icons should come up
Screenshots/Error logs
Please include as much information about the crash/bug as possible.
Config:
# Generated by Home Manager
AudioInput: false
AudioMaxVolume: 100
AudioMinVolume: 0
AudioNumbers: false
AudioRevealer: false
AudioScrollSpeed: 5
BatteryFolder: /sys/class/power_supply/BAT1
CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
CenterTime: true
DateTimeLocale:
DateTimeStyle: %a %D - %H:%M:%S %Z
DefaultWorkspaceSymbol:
DiskPartition: /
EnableSNI: true
ExitCommand: killall Hyprland
Location: T
LockCommand: ~/.config/scripts/sys.sh lock
MaxDownloadBytes: 10485760
MaxUploadBytes: 5242880
MinDownloadBytes: 0
MinUploadBytes: 0
NetworkAdapter: eno1
NetworkWidget: true
NumWorkspaces: 9
SensorTooltips: true
SuspendCommand: systemctl suspend
TimeSpace: 300
UseHyprlandIPC: true
WorkspaceScrollInvert: false
WorkspaceScrollOnMonitor: true
Information about your system and gBar
8b8ce501d431797ad06d1d660cb933beeb058f7b
Basically what it says in the title. Rotating the system tray icons and the sensor widgets (maybe replacing the sliding text with horizontal popups) and having an option to re-style the DateTime widget in the same fashion as rxyhn's classic eww bar and reposition it between the volume widget and the sensors. Don't know if I'm asking for too much, though :*
Builds but doesn't run because it expects defaults
What doesn't work? Please be as precise as possible.
e.g.: "gBar crashes on hovering the RAM sensor module. No other modules are affected."
Steps to Reproduce
Use the hm-module as described in README.md and start bar from terminal
Expected behavior
Bar should start
Screenshots/Error logs
Without extra config
› gBar 1
Set value for AudioInput: false
...
Cannot open network device! Disabling Network widget.
Info: No CSS found in /home/mikilio/.config
Info: No CSS found in /home/mikilio/.local/share
Info: No CSS found in /usr/local/share
Info: No CSS found in /usr/share
No CSS file found!
[Exiting due to assert failed]
With extraCSS=""
› gBar 1
Set value for AudioInput: false
...
Cannot open network device! Disabling Network widget.
/nix/store/ayg065nw0xi1zsyi8glfh5pn4sfqd8xg-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/r7a2dfjms7aywic5ry7crk4l9wmhjkwy-gvfs-1.50.6/lib/gio/modules/libgvfsdbus.so)
Failed to load module: /nix/store/r7a2dfjms7aywic5ry7crk4l9wmhjkwy-gvfs-1.50.6/lib/gio/modules/libgvfsdbus.so
CSS found and loaded successfully!
Cannot find plugin library!
[Exiting due to assert failed]
Solution
I browsed the Code and saw that absolute paths like /usr/share etc. are being used. These paths don't exist so the executable can not find any installed files by gBar. Abiding by XDG specifications and using environment variables like XDG_DATA_DIRS.
Information about your system and gBar
when i run the command
gBar 0
this happens
[ihatemyself@archlinux gBar]$ gBar 0
Failed opening config!
Wayland: Added workspace!
Workspace ID: 1
Wayland: Activate Workspace 1
Wayland: Registering monitor VGA-1 at ID 0
Wayland: Added group to monitor
Forcefully activate workspace 1
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
Can't connect to BlueZ d-bus! Disabling Bluetooth!
GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
Info: No CSS found in /home/rafa/.config
Info: No CSS found in /home/rafa/.local/share
CSS found and loaded successfully!
Cannot find plugin library!
[Exiting due to assert failed]
[notgivingmyname@archlinux gBar]$
any fixes?
I want the progress bars and rounded progress indicators to be a little bit small, I know a little bit html and css, but couldn't figure it out, how by modifying the config,
The bar really consumes very little, I loved it. Even less than waybar, in my case.
I think you could add a systray. Since I can see the telegram and discord icons.
You could also add that the volume icon opens the slider with a hover and not that it is always open.
Mic slider with hover effect to open the slider too.
Switch Workspaces with scroll (hyprctl dispatch workspace e+1 & hyprctl dispatch workspace e-1)
(an another little things, i've got amd gpu. If you can add this too i will love you a lot <3)
Just a heads up - when using makepkg, it throws an error about aarch64 and won't compile. When using makepkg -A it compiles and runs very well. Perhaps, aarch64 can be added to the list of architectures it will compile and run under. Thank you for gBar, it's my goto bar!
Also, being able to choose a custom icon for tray items like Discord would be nice.
Originally posted by @ThatOneCalculator in #56 (comment)
Describe the bug
gBar exits when because it couldnt write to socket.
Steps to Reproduce
Produce high load.
Expected behavior
Would expect gBar to continue to work, but it doesnt get an immediate response from the socket, and thinks its unavailable.
Should probably have a timeout, and recheck it the socket is actually available or just slow.
Socket is definitively available, I just have a shitty low owered corporate laptop.
Screenshots/Error logs
(gBar:19420): Gtk-CRITICAL **: 11:39:46.202: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
SNI: Add :1.10 to widget
SNI: Add :1.17 to widget
SNI: Add :1.306 to widget
SNI: Add :1.6 to widget
SNI: Add :1.68 to widget
SNI: Add :1.70 to widget
SNI: Add :1.72 to widget
SNI: Add :1.9 to widget
SNI: Add org.kde.StatusNotifierItem-1877-1 to widget
Couldn't write to socket
[Exiting due to assert failed]
Information about your system and gBar
Hi!
I've been using this bar for a few months now and been quite happy.
Recently I've noticed myself setting the screen brightness manually in the terminal quite often and thought that it'd be nice to integrate it into the bar.
I'd like to contribute to this project and do this myself (I want to learn C++ with that, too).
Can you guide me a tad on what I should look out for?
I know how to change the brightness on my laptops' integrated screen and my LG TV and would like to abstract that somehow in the config to a reasonable degree.
Do you have discord by chance?
Thanks.
It seems to look for a config and fails into oblivion.
The exact error is:
Failed opening config!
Wayland: Registering monitor DP-2 at ID 0
Wayland: Registering monitor DP-3 at ID 1
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
Info: No CSS found in /home/user/.config
Info: No CSS found in /home/user/.local/share
CSS found and loaded successfully!
Cannot find plugin library!
[Exiting due to assert failed]
apologies if I'm dumb but I can't seem to find the solution.
I really like this bar its by far one of the better wayland bars out there.
Please fill out this form and delete the defaults(everything not in bold font), so I can help you better
Describe the bug
Build Fails with the flake
When revertnig the flake to the old commit some days ago but the rest of the system the same it works.
Steps to Reproduce
Build latest gBar
Expected behavior
Builds successfully
Screenshots/Error logs
last 10 log lines:
> /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: :(.text.startup+0x127): undefined reference to Window::Run(int, char**)' > /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: <artificial>:(.text.startup+0x12c): undefined reference to
System::FreeResources()'
> /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: :(.text.startup+0x13d): undefined reference to Window::~Window()' > /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: <artificial>:(.text.startup+0x1ac): undefined reference to
Bar::Create(Window&, int)'
> /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: :(.text.startup+0x238): undefined reference to Plugin::LoadWidgetFromPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Window&, int)' > /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: <artificial>:(.text.startup+0x314): undefined reference to
Logging::Log(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
> /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: :(.text.startup+0x391): undefined reference to Logging::Log(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' > /nix/store/qmmd097h4rwh2pwgz9l9i0byxb0x8q8l-binutils-2.40/bin/ld: <artificial>:(.text.startup+0x3d2): undefined reference to
Window::~Window()'
> collect2: error: ld returned 1 exit status
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/k7bh10a2akn4rc0ybcp5axilny8152jg-gbar.drv'.
Information about your system and gBar
I recorded a video so you can see the inconvenience!
https://youtu.be/rZIdxXfG_14
Describe the bug
gBar crashes moments after startup. This occurs if the BatteryFolder
configuration option is present. When this is disabled, no crash occurs.
This behavior only started after commit 6e71e8a
titled "Add battery charging indication"
Steps to Reproduce
BatteryFolder
option in the configuration filegBar bar 0
Expected behavior
Battery monitoring should be able to be enabled without resulting in segmentation fault.
Screenshots/Error logs
GDB backtrace
#0 0x000056015cf821c0 in ()
#1 0x000056015cf9d575 in ()
#2 0x000056015cfa7c22 in ()
#3 0x00007ff1e3f553ee in g_timeout_dispatch
(source=0x56015da6b650, callback=<optimized out>, user_data=<optimized out>)
at ../glib/glib/gmain.c:5121
#4 0x00007ff1e3f53f69 in g_main_dispatch (context=0x56015d95f3c0)
at ../glib/glib/gmain.c:3476
#5 0x00007ff1e3fb2327 in g_main_context_dispatch_unlocked (context=0x56015d95f3c0)
at ../glib/glib/gmain.c:4284
#6 g_main_context_iterate_unlocked.isra.0
(context=0x56015d95f3c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#7 0x00007ff1e3f54b97 in g_main_loop_run (loop=0x56015d9d64c0)
at ../glib/glib/gmain.c:4551
#8 0x00007ff1e45ecf6f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#9 0x000056015cf7fdf0 in main ()
Output of stdout
prior to crash:
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for ExitCommand: killall Hyprland
Set value for BatteryFolder: /sys/class/power_supply/BAT1
Set value for DiskPartition: /
Set value for WidgetsLeft: [Workspaces]
Set value for WidgetsCenter: []
Set value for WidgetsRight: [Time, Tray, Packages, Network, Disk, VRAM, GPU, RAM, CPU, Battery]
Set value for WorkspaceSymbol: 1,
Set value for WorkspaceSymbol: 2,
Set value for WorkspaceSymbol: 3,
Set value for WorkspaceSymbol: 4,
Set value for WorkspaceSymbol: 5,
Set value for WorkspaceSymbol: 6,
Set value for WorkspaceSymbol: 7,
Set value for WorkspaceSymbol: 8,
Set value for WorkspaceSymbol: 9,
Set value for WorkspaceSymbol: 10,
Set value for DefaultWorkspaceSymbol:
Set value for WorkspaceScrollOnMonitor: true
Set value for WorkspaceScrollInvert: false
Set value for NumWorkspaces: 6
Set value for UseHyprlandIPC: true
Set value for Location: R
Set value for IconsAlwaysUp: true
Set value for CenterTime: true
Set value for TimeSpace: 100
Set value for DateTimeStyle: %I\n%M\n%S
Set value for AudioInput: false
Set value for AudioRevealer: true
Set value for AudioScrollSpeed: 5
Set value for AudioNumbers: true
Set value for CheckPackagesCommand: p="$(checkupdates)"; e=$?; if [ $e -eq 127 ] ; then exit 127; fi; if [ $e -eq 2 ] ; then echo "0" && exit 0; fi; echo "$p" | wc -l
Set value for CheckUpdateInterval: 300
Set value for NetworkAdapter: enp3s0
Set value for NetworkWidget: false
Set value for SensorTooltips: true
Set value for EnableSNI: false
Set value for SNIIconSize: *, 25
Set value for MinDownloadBytes: 0
Set value for MaxDownloadBytes: 10485760
Set value for MinUploadBytes: 0
Set value for MaxUploadBytes: 5242880
Wayland: Registering monitor eDP-1 at ID 0
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
CSS found and loaded successfully!
Warning: Unkwown widget name !
Known names are: Workspaces, Time, Tray, Packages, Audio, Bluetooth, Network, Sensors, Disk, VRAM, GPU, RAM, CPU, Battery, Power
zsh: segmentation fault (core dumped) gBar bar 0
Config file (comments/whitepace omitted):
CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
LockCommand: ~/.config/scripts/sys.sh lock
ExitCommand: killall Hyprland
BatteryFolder: /sys/class/power_supply/BAT1
DiskPartition: /
WidgetsLeft: [Workspaces]
WidgetsCenter: []
WidgetsRight: [Time, Tray, Packages, Network, Disk, VRAM, GPU, RAM, CPU, Battery]
WorkspaceSymbol: 1,
WorkspaceSymbol: 2,
WorkspaceSymbol: 3,
WorkspaceSymbol: 4,
WorkspaceSymbol: 5,
WorkspaceSymbol: 6,
WorkspaceSymbol: 7,
WorkspaceSymbol: 8,
WorkspaceSymbol: 9,
WorkspaceSymbol: 10,
DefaultWorkspaceSymbol:
WorkspaceScrollOnMonitor: true
WorkspaceScrollInvert: false
NumWorkspaces: 6
UseHyprlandIPC: true
Location: R
IconsAlwaysUp: true
CenterTime: true
TimeSpace: 100
DateTimeStyle: %I\n%M\n%S
AudioInput: false
AudioRevealer: true
AudioScrollSpeed: 5
AudioNumbers: true
CheckPackagesCommand: p="$(checkupdates)"; e=$?; if [ $e -eq 127 ] ; then exit 127; fi; if [ $e -eq 2 ] ; then echo "0" && exit 0; fi; echo "$p" | wc -l
CheckUpdateInterval: 300
NetworkAdapter: enp3s0
NetworkWidget: false
SensorTooltips: true
EnableSNI: false
SNIIconSize: *, 25
MinDownloadBytes: 0
MinUploadBytes: 0
Core file is attached
Information about your system and gBar
6e71e8a
It would be great if you add this bar to archlinux to be able to install it easily
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.