Skip to content
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

Polybar freezes and CPU usage 100% #14

Open
jluttine opened this issue Oct 8, 2019 · 1 comment
Open

Polybar freezes and CPU usage 100% #14

jluttine opened this issue Oct 8, 2019 · 1 comment

Comments

@jluttine
Copy link

jluttine commented Oct 8, 2019

If I use polybar-kdeconnect module in my Polybar, the whole Polybar freezes on start and CPU usage is 100%. Trying to kill it gracefully, doesn't work: State 'stop-sigterm' timed out. Killing.

This is how I've configured in polybar config:

[module/kdeconnect]
exec=/path/to/polybar-kdeconnect.sh -d
tail=true
type=custom/script

If I try to run the script manually, this is what happens:

$ /path/to/polybar-kdeconnect.sh -d
%{A1:/path/to/polybar-kdeconnect.sh -n Error: org.freedesktop.DBus.Error.UnknownObject
No such object path '/modules/kdeconnect/devices/_xxxxxxxxxxxxxxxxxxxx_' -i _xxxxxxxxxxxxxxxxxxxx_ -p:}%{F#ff0}%{F-}%{A}|%{F#000}%{F-}|%{F#000}%{F-}

(I replaced some ID looking string with xs.)

Any ideas what could be the issue?

It seems weird to me that Polybar freezes and CPU goes to 100%. Is this a Polybar bug when a custom script with tail mode fails? Or do you have any ideas why that happens?

@haideralipunjabi
Copy link
Owner

Have you configured KDEConnect properly? I mean does KDEConnect work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants