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 &

2 points · 9 comments · view on lemmy.world

9 Comments

mvirts@lemmy.world · 2 pts · 2y (1 reply)

What's in the script?

zexu@lemmy.world · 1 pts · 2y

it's working fine on running manually. the script is not running on autostart .

possiblylinux127@lemmy.zip · 1 pts · 2y (6 replies)

Does it start with a crunchbang?

zexu@lemmy.world · 1 pts · 2y (5 replies)

yes

possiblylinux127@lemmy.zip · 1 pts · 2y (4 replies)

Does the crunchbang point to the right shell?

zexu@lemmy.world · 1 pts · 2y (3 replies)

yes, i confirmed that by executing just by the name

barrett9h@lemmy.zip · 1 pts · 2y (2 replies)

executed as what user?

maybe a permission thing? what user runs the autostart thing?

zexu@lemmy.world · 1 pts · 2y (1 reply)

No autostart script is working fine. i have other things there too, waybar, bg wallpaper & everything

possiblylinux127@lemmy.zip · 1 pts · 2y

Try adding a touch command to see if a file gets created