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

Linux Questions

1068 readers
22 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
 

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 11 months ago (1 children)
[–] 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 11 months ago (1 children)

Does it start with a crunchbang?

[–] zexu@lemmy.world 1 points 10 months ago (1 children)
[–] possiblylinux127@lemmy.zip 1 points 10 months ago (1 children)

Does the crunchbang point to the right shell?

[–] zexu@lemmy.world 1 points 10 months ago (1 children)

yes, i confirmed that by executing just by the name

[–] barrett9h@lemmy.zip 1 points 10 months ago (1 children)

executed as what user?

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

[–] zexu@lemmy.world 1 points 10 months ago (1 children)

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