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

Linux Questions

1401 readers
24 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 2 years 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 1 year ago (1 children)
[–] zexu@lemmy.world 1 points 1 year ago

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

[–] possiblylinux127@lemmy.zip 1 points 1 year ago (1 children)

Does it start with a crunchbang?

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

Does the crunchbang point to the right shell?

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

yes, i confirmed that by executing just by the name

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

executed as what user?

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

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

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

[–] possiblylinux127@lemmy.zip 1 points 1 year ago

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