-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qtile missing optional python modules #45039
Comments
Would that explain why the SysTray widget does not appear ? I'm kind of confused right now. |
That's possible. If you start qtile from a console in debug mode you will see if errors appear. And it's probably because of that... |
I had only an error about not being able to create the dbus object and I wasn't too suspicious, but having qtile working fine on Fedora confirms that I need to add the dependencies somehow in NixOS |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
@kamilchm FYI since you are the current maintainer of this package: |
Running my config on 19aac24 requires me to add psutil to the qtile = self.nixpkgs-master.qtile.overrideAttrs(oldAttrs: {
pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages; [
psutil
dbus-python
pyxdg
mpd2
# python-wifi
# iwlib
dateutil
keyring
]);
}); I couldn't identify the ones which are commented, however my config doesn't seem to rely on them anyway. |
Qtile cannot connect to dbus and cause applications to freeze when they attempt to send notifications. For example, slack will completely freeze when a new message comes in after it attempts to send a notification. This is caused by an inability to import dbus and pygobject3 as evidenced by this error in the logs `WARNING libqtile manager.py:setup_eventloop():L240 importing dbus/gobject failed, dbus will not work.` Also added the python packages dependencies mentioned here: NixOS#45039 DavHau/mach-nix#125
Qtile cannot connect to dbus and cause applications to freeze when they attempt to send notifications. For example, slack will completely freeze when a new message comes in after it attempts to send a notification. This is caused by an inability to import dbus and pygobject3 as evidenced by this error in the logs `WARNING libqtile manager.py:setup_eventloop():L240 importing dbus/gobject failed, dbus will not work.` Also added the python packages dependencies mentioned here: NixOS#45039 DavHau/mach-nix#125
I marked this as stale due to inactivity. → More info |
|
Took care of |
What part of Qtile needs |
Issue description
The qtile derivation doesn't include optional modules like python-dbus, which is necessary for widgets like the notification-daemon, according to the official documentation.
There are also other missing modules which are not mentioned in the documentation, the full list would be:
dbus
xdg
mpd
pythonwifi
iwlib
dateutil
keyring
Steps to reproduce
-l DEBUG
(the easiest way when using sddm is opening an xterm session and starting qtile from there)I think the best would be to add those modules as optional dependencies since they are not necessary for it to work but for some of the features.
The text was updated successfully, but these errors were encountered: