sfwbar icon indicating copy to clipboard operation
sfwbar copied to clipboard

sfwbar openbox

Open WgpArch opened this issue 2 years ago • 5 comments

Trying to get sfwbar test run in Arch Linux openbox [wgparch@archlinux sfwbar]$ env | grep WAYLAND WAYLAND_DISPLAY=wayland-0 [wgparch@archlinux sfwbar]$ GDK_BACKEND=x11 sfwbar

(sfwbar:99498): Gdk-CRITICAL **: 09:23:12.093: gdk_wayland_display_get_wl_display: assertion 'GDK_IS_WAYLAND_DISPLAY (display)' failed

** (sfwbar:99498): ERROR **: 09:23:12.093: Can't get wayland display

Trace/breakpoint trap (core dumped)

WgpArch avatar Mar 24 '24 07:03 WgpArch

Sfwbar has been written for wayland so far (or more specifically for wlroots based compositors). Most of the architecture is now sufficiently abstract, that it wouldn't be hard to add x11 dock support instead of wlr-layer-shell protocol and x11 window tree instead of wlr-foreign-toplevel).

That said a lot of concepts in sfwbar are aligned with wayland (I.e. using appid for icon lookups - X11 approach of an application supplying its icon wouldn't map well to sfwbar internals).

In general, I can take a stab at adding basic x11 support, but it probably wouldn't work as well as in native x11 bars.

On Sun, 24 Mar 2024, 09:27 WgpArch, @.***> wrote:

Trying to get sfwbar test run in Arch Linux openbox @.*** sfwbar]$ env | grep WAYLAND WAYLAND_DISPLAY=wayland-0 @.*** sfwbar]$ GDK_BACKEND=x11 sfwbar

(sfwbar:99498): Gdk-CRITICAL **: 09:23:12.093: gdk_wayland_display_get_wl_display: assertion 'GDK_IS_WAYLAND_DISPLAY (display)' failed

** (sfwbar:99498): ERROR **: 09:23:12.093: Can't get wayland display

Trace/breakpoint trap (core dumped)

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/158, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFCWRFA7WTLQ73BFQIDYZZ57LAVCNFSM6AAAAABFFPLG6GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDIMRSGM3DANI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

LBCrion avatar Mar 24 '24 13:03 LBCrion

Thanks then I will use Sway as window manager and leave Openbox. The whole reason for my taskbar search is caused by tint2 disappearing.I will just simply replace Openbox with Sway and learn something new thanks again.

WgpArch avatar Mar 24 '24 14:03 WgpArch

Thanks then I will use Sway as window manager and leave Openbox. The whole reason for my taskbar search is caused by tint2 disappearing.I will just simply replace Openbox with Sway and learn something new thanks again.

Shameless self-plug: there is also https://github.com/labwc/labwc if you end up missing openbox.

Consolatis avatar Mar 24 '24 23:03 Consolatis

Thanks will go have a look at it any idea why would tint2 just disappear and core dump? I even rebuilt my arch setup a week ago hoping it would solve the issue but it did not.

WgpArch avatar Mar 24 '24 23:03 WgpArch

I don't have that much experience with tint2, I suggest using their bug tracker to ask that question.

Consolatis avatar Mar 24 '24 23:03 Consolatis

@WgpArch , The lead maintainer of tint2 https://gitlab.com/o9000/tint2 has dropped support and ended tint2 and their latest version 17.0.2 is the one in arch repos (I think).

but there is someone who picked up the code in https://gitlab.com/nick87720z/tint2/ you may want to try looking there.

salahoued avatar May 02 '24 20:05 salahoued