ikz87 / dots-2.0

eww + bspwm rice c:
GNU General Public License v3.0
229 stars 16 forks source link

General interface troubles (ussage gauges, sound notification, powermenu problem) #33

Closed A-Committed-Dev closed 1 year ago

A-Committed-Dev commented 1 year ago

Hi as you can see on the pictures i cant get the graphs to work or the cpu ussage/ temp. also the powermenu works through terminal or keybind but when using the mouse it just does nothing. am i missing something ? everthing else seems to work ok,

very nice work hope theres a solution to my problem billede billede

ikz87 commented 1 year ago

Hi, thanks for trying out my dotfiles.

First I wanna say that I just pushed a fix for the powermenu thing, seems like I didn't test that thoroughly. It's working now at least for me. I also made the button container have an actual size, should be easier to click.

For the temperature widget, you might need to follow this guide. The widget has always worked for me out of the box when using it on brand new arch installs, but due to hardware differences It might be necessary for other users to set up lm_sensors first. If after following the guide the temperature widget starts working, let me know so I add a link to it to the install process in the README.md

The CPU widget not working is the weirdest out of the 3, the command used to fetch that info is mpstat from the sysstat package, and as far as I know, it doesn't need any further setup. Let's see what the problem is, could you please show me the ouput of the following command?

mpstat 1 1

In theory, it should look a bit similar to this: image

ikz87 commented 1 year ago

First I wanna say that I just pushed a fix for the powermenu thing, seems like I didn't test that thoroughly. It's working now at least for me. I also made the button container have an actual size, should be easier to click.

Just pushed another fix since the button area was still a bit slim vertically.

A-Committed-Dev commented 1 year ago

Okay so i fixed all the problems.

you're fix fixed the issue with the mouse and power buttons.

for the cpu ussage i had to change the value Average: to Middel: for some reason and because my arch install is configuered in danish i had to convert the number from 100,00% to 100.00%. which i thought was properly what you coded it to use.

for the temperature gauge i changed the grep value to search for "

cpu" and that fixed the problem. i ran the lm_sensor config before doing this i dont know if it is nessecary.

i think most of my problems came from using the danish langauge pack for linux instead of english but it seems to be fixed now.

2023-02-02_13:17:09

2023-02-02_10-54 2023-02-02_10-56 2023-02-02_13-15

A-Committed-Dev commented 1 year ago

i have just now found another issue for me. the mute function mutes the speakers but sends the wrong notification it just sends the current volume and notifiaction i would expect it to send a notification with the empty speaker and bar you get when you just turn down the volume to 0. 2023-02-02_13:31:16 mute1

ikz87 commented 1 year ago

Glad you fixed all those other problems, and saying your arch install is in danish makes me suspect that this new issue with the notifications also has to do with the language.

What's the output of running this command after muting your speakers?

pactl get-sink-mute @DEFAULT_SINK@

For me it's just Mute: yes If it's anything different to you, just edit line 67 like this:

if [[ `is_mute` == "<your output>" ]] ; then
A-Committed-Dev commented 1 year ago

Ah yes it fixed the mute issue.

when i run it i get the danish equivalent to yes so some of my problems is language based.
good to know incase anybody else runs into a similair problem.

so far i really enjoy you're rice and it is a good foundation for my own rice. please keep up the good work 👍

ikz87 commented 1 year ago

Glad we were able to sort everything out! Will be closing now. Feel free to open a new issue if you find any other problems :)