2
submitted 10 months ago* (last edited 10 months ago) by zexu@lemmy.world to c/linuxquestions@lemmy.zip

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 &

top 9 comments
sorted by: hot top controversial new old
[-] mvirts@lemmy.world 2 points 10 months ago
[-] zexu@lemmy.world 1 points 10 months ago

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

[-] possiblylinux127@lemmy.zip 1 points 10 months ago

Does it start with a crunchbang?

[-] zexu@lemmy.world 1 points 10 months ago
[-] possiblylinux127@lemmy.zip 1 points 10 months ago

Does the crunchbang point to the right shell?

[-] zexu@lemmy.world 1 points 10 months ago

yes, i confirmed that by executing just by the name

[-] barrett9h@lemmy.zip 1 points 10 months ago

executed as what user?

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

[-] zexu@lemmy.world 1 points 10 months ago

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

[-] possiblylinux127@lemmy.zip 1 points 10 months ago

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

this post was submitted on 14 Dec 2023
2 points (100.0% liked)

Linux Questions

1057 readers
9 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS