execute commands autostart style...

32 views
Skip to first unread message

Scott Vargovich

unread,
Feb 26, 2021, 4:54:02 PM2/26/21
to linuxus...@googlegroups.com
I'm running Artix Linux (artixlinux.org) on my laptop, which differs from other Arch based distros in that is uses OpenRC instead of systemd.  I'm using lightdm / xdm as my display manager and stumpwm as my window manager.  I have a few commands I'd like to autostart, but I don't believe autostart is an option in StumpWM.  Is there a way to set scripts to run as xorg / StumpWM starts?  One other question:  Can it be made to happen in OpenRC?  If you have any questions about what I'm trying to make happen, please let me know.  I look forward to your response and feedback.

--
<><  Scott Vargovich  <><
------------------------------------------
OpenPGP Key ID: 29C36884
==========================
Ham Radio Call Sign: KE8CQC
==========================
GMRS Call Sign:  WQXJ287
------------------------------------------

Scott Vargovich

unread,
Feb 26, 2021, 4:58:15 PM2/26/21
to linuxus...@googlegroups.com
I should also add that I want to run shell commands.

Jeremiah Bess

unread,
Feb 26, 2021, 7:26:58 PM2/26/21
to LUG
I know nothing about Artix or OpenRC. So other than doing some research on OpenRC, maybe you can do a cron job that checks every minute if your shell command is running, and if not start it.

Jeremiah Bess


--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linuxusersgroup/CAE8T3AL2J-j%3DbB%2BuHdeH%2BEFvEXhDLp9yiRQk%2BZZwdq3XT2T%3DEA%40mail.gmail.com.

Scott Vargovich

unread,
Feb 27, 2021, 1:14:49 PM2/27/21
to linuxus...@googlegroups.com
That's an interesting idea.  I never thought of that.

Reply all
Reply to author
Forward
0 new messages