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

Error Loading Modules #182

Open
ToraxOutlaw opened this issue Jan 4, 2023 · 1 comment
Open

Error Loading Modules #182

ToraxOutlaw opened this issue Jan 4, 2023 · 1 comment

Comments

@ToraxOutlaw
Copy link

I am having error with loading the modules even after editing the specific sections of the module file located in the theme I was using (i.e. ~/.config/polybar/cuts/modules.ini)

When I use the command ls -1 /sys/class/backlight/ I receive two responses (acpi_video0 radeon_bl0) I edited the backlight module section of the theme I am using to use acpi_video0 after testing with brightness changes, yet still received the amdgpu_bl0 error.

I did have errors with the temp and battery modules but eventually got them both working. I put the correct types for the battery module and the temp1_input file location for the cpu temp sensor I want to use. I also used the /sys/backlight/ folder to determine which device updated when I lowered or raised my brightness levels. radeon_bl0 brightness file did not update at all where as the brightness file for acpi_video0 did update when I raised and lower the brightness. I have now updated my snippet of the errors I'm now receiving.

~/.config/polybar/cuts: ./launch.sh
error: module/mpd: Connection refused
error: Disabling module "brightness" (reason: The file '/sys/class/backlight/amdgpu_bl0/brightness' does not exist)
error: module/mpd: Connection refused
error: module/mpd: Connection refused
error: module/mpd: Connection refused

So how do I fix the connection refused error and the still remaining brightness error?

@ToraxOutlaw
Copy link
Author

OK. Many hours later after trawling through every file to do with polybar themes. It has come to my attention that not only do you have to modify each themes modules.ini, you also need edit each themes bars.ini. This eliminated all of my backlight/brightness module errors.

In regards to people having the mpd module error, you have to install mpd from your respective linux distro. To get the most out of mpd, my advice is to install Cantata.

This really does need clarifying in the installation guide and updating so people who are new to polybar themes don't have the same issues.

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

1 participant