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

Linux Questions

1066 readers
19 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
2
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/linuxquestions
 

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
[–] [email protected] 2 points 11 months ago (1 children)
[–] [email protected] 1 points 10 months ago

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

[–] possiblylinux127 1 points 10 months ago (1 children)

Does it start with a crunchbang?

[–] [email protected] 1 points 10 months ago (1 children)
[–] possiblylinux127 1 points 10 months ago (1 children)

Does the crunchbang point to the right shell?

[–] [email protected] 1 points 10 months ago (1 children)

yes, i confirmed that by executing just by the name

[–] barrett9h 1 points 10 months ago (1 children)

executed as what user?

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

[–] [email protected] 1 points 10 months ago (1 children)

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

[–] possiblylinux127 1 points 10 months ago

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