Battery monitor script not working

Hi, I’m using riverwm & the battery monitor script i’m using is working on terminal but not working through the autostart file. I have given it the executable permission.


~/.config/river/scripts/bat_status_notifier.rb &

Do you see it in the process stack? From a terminal prompt:

ps axu | grep bat_status

If you see a process listed with some details, it’s there. If you don’t see a process, it’s not running.

1 Like

Yeah, it wasn’t running,.Thanks, Now that i have changed the path to relative it’s working.

but i don’t understand why it doesn’t work with the absolute path.

echo $PATH

Will show your path. If the script isn’t in one of the directories of your path, it can’t be found.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.