Git Product home page Git Product logo

Comments (20)

elParaguayo avatar elParaguayo commented on August 17, 2024 2

Yeah - it only works for apps that have implemented the spec.

Glad it's working.

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024 1

Alright, now it shows for some apps (Telegram-Desktop, KeePassXC, VLC). Others like Firefox don't show anything (but I guess that's because Firefox doesn't send the menu through dbus as VLC, according to the GlobalMenu() docs you wrote).

In fact, solving this also fixed my Mpris2 widget that didn't work before that. Thank you so much.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Have you got the latest qtile-extras installed?

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

I have latest qtile-extras-git from AUR. Already deleted and reinstalled, just in case, but no luck yet.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Can you just open a python terminal and try:

>>> from qtile_extras import widget
>>> gm = widget.GlobalMenu()

Let me know what happens.

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

Hereś my config file: https://github.com/Javigo07/.config/tree/main/qtile/qtile The working-screens.py is an old backup.
Also, the output gave me that GlobalMenu() does exist.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Weird. I don't get any issues when I run python config.py (other than me needing to hardcode some colours).

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Have you restarted qtile since updating qtile-extras? Could you be using the cached (previous) version?

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

Deleted old pacman and yay cache, reinstalled qtile-extras and restarted qtile and now I am able to restart/reload_config from qtile commands, but the GlobalMenu() is not showing. Tried with VLC as the Docs show, but Menu still showing on the app.
image

qtile check now is showing the following output: https://dpaste.com/8FYNY9HYC

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

You can ignore that message.

Can you check your log and see if there are any messages.

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

https://dpaste.com/3WLBL54WV Well, I don't see anything new, weird or bad. It looks fine.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Your log is flooded with dbus error messages. It won't work if dbus isn't working properly.

How are you starting qtile?

Is dbus running? What happens if you install d-feet and try running that?

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

What should I see for?
The app opens and shows data for blueman, bluez, mpris2 for Firefox, keepass, those things.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Interesting - so dbus is running.

In the session bus, search for "registrar".

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

It doesn't appear.

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

Btw, on the log it appears something about registrar.py:
WARNING libqtile registrar.py:start():L64 Starting Registrar: self.started=False
Could this be related?

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

That's an old log message that I need to remove.

However, you see that line about starting the registrar and immediately after is a dbus error message.

So, the issue seems to be your dbus installation, not the widget.

What happens when you do cat /var/lib/dbus/machine-id?

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Also cat /etc/machine-id

from qtile-extras.

Javigo07 avatar Javigo07 commented on August 17, 2024

I got 6a09bc4e3440881536581c5c6202e9fa with cat /etc/machine-id, but as the log states, cat /var/lib/dbus/machine-id doesn´t exist (No such file or directory).

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

ok so I don't know why it's missing but you could do sudo ln -s /etc/machine-id /var/lib/dbus/machine-id.

After that, restart qtile.

from qtile-extras.

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.