Code Monkey home page Code Monkey logo

Comments (4)

luanlouzada avatar luanlouzada commented on August 16, 2024
libinput_device_ref (device=0x0) at ../libinput-1.25.0/src/libinput.c:2155
Downloading source file /usr/src/debug/libinput/build/../libinput-1.25.0/src/libinput.c
2155		device->refcount++;                                                                                                                                         
(gdb) bt
#0  libinput_device_ref (device=0x0) at ../libinput-1.25.0/src/libinput.c:2155
#1  0x0000555555667569 in waybar::modules::KeyboardState::tryAddDevice (this=0x555555b04e80, dev_path="/dev/input/event8") at ../src/modules/keyboard_state.cpp:312
#2  0x00005555556625ec in waybar::modules::KeyboardState::KeyboardState
    (this=0x555555b04e80, id=<optimized out>, bar=<optimized out>, config=<optimized out>, this=<optimized out>, id=<optimized out>, bar=<optimized out>, config=<optimized out>) at ../src/modules/keyboard_state.cpp:168
#3  0x00005555555b8a04 in waybar::Factory::makeModule (this=0x7fffffffc9f0, name="keyboard-state") at ../src/factory.cpp:154
#4  0x00005555555d10dd in waybar::Bar::getModules (this=this@entry=0x5555557eb0a0, factory=..., pos="modules-right", group=group@entry=0x0) at ../src/bar.cpp:763
#5  0x00005555555d33f2 in waybar::Bar::setupWidgets (this=0x5555557eb0a0) at ../src/bar.cpp:813
#6  waybar::Bar::Bar (this=0x5555557eb0a0, w_output=<optimized out>, w_config=<optimized out>, this=<optimized out>, w_output=<optimized out>, w_config=<optimized out>)
    at ../src/bar.cpp:624
#7  0x00005555555db49f in std::make_unique<waybar::Bar, waybar::waybar_output*, Json::Value const&> () at /usr/include/c++/13.2.1/bits/unique_ptr.h:1069
#8  waybar::Client::handleOutputDone (data=<optimized out>) at ../src/client.cpp:87
#9  0x00007ffff66ff4f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#10 0x00007ffff66fbf5e in ffi_call_int (cif=cif@entry=0x7fffffffcf40, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0)
    at ../src/x86/ffi64.c:673
#11 0x00007ffff66feb73 in ffi_call (cif=cif@entry=0x7fffffffcf40, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fffffffd010)
    at ../src/x86/ffi64.c:710
#12 0x00007ffff7f99645 in wl_closure_invoke (closure=closure@entry=0x5555557dce30, target=<optimized out>, 
    target@entry=0x5555558cffe0, opcode=opcode@entry=2, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
#13 0x00007ffff7f99e73 in dispatch_event (display=display@entry=0x555555784a80, queue=0x555555784b70) at ../wayland-1.22.0/src/wayland-client.c:1631
#14 0x00007ffff7f9a13c in dispatch_queue (queue=0x555555784b70, display=0x555555784a80) at ../wayland-1.22.0/src/wayland-client.c:1777
#15 wl_display_dispatch_queue_pending (display=0x555555784a80, queue=0x555555784b70) at ../wayland-1.22.0/src/wayland-client.c:2019
#16 0x00007ffff7f9a1a1 in wl_display_dispatch_pending (display=<optimized out>) at ../wayland-1.22.0/src/wayland-client.c:2082
#17 0x00007ffff773da39 in _gdk_wayland_display_queue_events (display=<optimized out>) at ../gtk/gdk/wayland/gdkeventsource.c:201
#18 0x00007ffff7709fa9 in gdk_display_get_event (display=0x5555557898b0) at ../gtk/gdk/gdkdisplay.c:442
#19 0x00007ffff7745208 in gdk_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at ../gtk/gdk/wayland/gdkeventsource.c:120
#20 0x00007ffff6ad2f69 in g_main_dispatch (context=0x555555792480) at ../glib/glib/gmain.c:3476
#21 0x00007ffff6b313a7 in g_main_context_dispatch_unlocked (context=0x555555792480) at ../glib/glib/gmain.c:4284
#22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x555555792480, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4349
#23 0x00007ffff6ad1162 in g_main_context_iteration (context=context@entry=0x555555792480, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#24 0x00007ffff6d06b66 in g_application_run (application=0x5555557801a0, argc=<optimized out>, argv=0x7fffffffdf68) at ../glib/gio/gapplication.c:2577
#25 0x00005555555a720d in waybar::Client::main (this=0x55555571d0e0, argc=<optimized out>, argv=<optimized out>) at /usr/include/glibmm-2.4/glibmm/refptr.h:259
#26 0x00005555555a55a5 in main (argc=1, argv=0x7fffffffdf68) at ../src/main.cpp:106

from hyprland-dots.

JaKooLit avatar JaKooLit commented on August 16, 2024

whats the output when you type waybar in tty?

from hyprland-dots.

luanlouzada avatar luanlouzada commented on August 16, 2024

When I remove the keyboardstate the error stops and the bar initializes

in tty (waybar:93055): Gtk-WARNING **: 22:56:51.827: cannot open display:
only this

just an addendum, I installed fedora 39 yesterday and the same thing also happened when I started it, it didn't open the waybars with keystate, there were other bugs, I ended up choosing to go to archlinux today and this bug followed me, and today I went to investigate further

from hyprland-dots.

luanlouzada avatar luanlouzada commented on August 16, 2024

solved, I disconnected my graphics tablet.

One question before this issue is closed.
My hyprland.conf

input {
kb layout=us,br
kb_options=grp:win_space_toggle
}

Settings.conf

input {
kb_layout=us,br
}

For the waybar to recognize us and br would that be it?

If it's not working,

If not, could you enlighten me?

sorry for bothering

from hyprland-dots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.