Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #258380
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to run a command / script on startup automatically in linux? |
| Date | 2023-05-15 21:00 +0200 |
| Message-ID | <GvLAl-988M-1@gated-at.bofh.it> (permalink) |
| References | <GvKkV-97s9-3@gated-at.bofh.it> <GvKuB-97vG-3@gated-at.bofh.it> <GvLqF-984M-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, May 15, 2023 at 12:43:01PM -0600, Charles Curley wrote: > On Mon, 15 May 2023 13:42:52 -0400 > Greg Wooledge <greg@wooledge.org> wrote: > > > There's no need to do that. Debian already ships an rc-local.service. > > True. In order to edit it, the user should copy it into /etc/systemd/… > and edit it there. There are commands in systemd to make that fairly > painless. See man systemctl -> edit. ... why would the user want to edit it?! The unit file is already THERE, and WORKS, and does not need to be edited. > I think the OP is more interested in learning things and was following > a tutorial when the question came up. But guessing what OPs are up to > is a rum game. I'm fairly certain the OP wants to run this "mousepad" program automatically as part of their X or Wayland session. If they're using a Wayland session, then I cannot offer any help. If they're using X, then my previous message contains all that's needed, for someone who can follow the instructions. Conceptually, the main hurdle here is that the OP did not seem to understand that these are two entirely separate things: 1) System startup. 2) User session startup. (And 2a, user GUI session startup, which may be a separate step.) An X11 program has to be started as part of the latter. Their original attempt was trying to incorporate it into the former, which is not going to work.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to run a command / script on startup automatically in linux? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-05-15 19:40 +0200
Re: How to run a command / script on startup automatically in linux? Greg Wooledge <greg@wooledge.org> - 2023-05-15 19:50 +0200
Re: How to run a command / script on startup automatically in linux? Charles Curley <charlescurley@charlescurley.com> - 2023-05-15 20:50 +0200
Re: How to run a command / script on startup automatically in linux? Greg Wooledge <greg@wooledge.org> - 2023-05-15 21:00 +0200
Re: How to run a command / script on startup automatically in linux? <tomas@tuxteam.de> - 2023-05-16 06:30 +0200
Re: How to run a command / script on startup automatically in linux? Vincent Lefevre <vincent@vinc17.net> - 2023-05-15 21:40 +0200
Re: How to run a command / script on startup automatically in linux? Greg Wooledge <greg@wooledge.org> - 2023-05-15 22:00 +0200
Re: How to run a command / script on startup automatically in linux? Vincent Lefevre <vincent@vinc17.net> - 2023-05-15 23:10 +0200
Editing /etc/rc.local [was: How to run a command / script on startup automatically in linux?] <tomas@tuxteam.de> - 2023-05-16 06:40 +0200
Re: Editing /etc/rc.local [was: How to run a command / script on startup automatically in linux?] Vincent Lefevre <vincent@vinc17.net> - 2023-05-16 11:50 +0200
Re: How to run a command / script on startup automatically in linux? Charles Curley <charlescurley@charlescurley.com> - 2023-05-15 20:00 +0200
Re: How to run a command / script on startup automatically in linux? Max Nikulin <manikulin@gmail.com> - 2023-05-16 04:40 +0200
Re: How to run a command / script on startup automatically in linux? Max Nikulin <manikulin@gmail.com> - 2023-05-16 09:10 +0200
Re: How to run a command / script on startup automatically in linux? Christoph Brinkhaus <c.brinkhaus@t-online.de> - 2023-05-15 20:10 +0200
Re: How to run a command / script on startup automatically in linux? <tomas@tuxteam.de> - 2023-05-15 20:30 +0200
Re: How to run a command / script on startup automatically in linux? Charles Curley <charlescurley@charlescurley.com> - 2023-05-15 20:50 +0200
Re: How to run a command / script on startup automatically in linux? Joe <joe@jretrading.com> - 2023-05-15 21:40 +0200
Re: How to run a command / script on startup automatically in linux? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-05-16 07:50 +0200
Re: How to run a command / script on startup automatically in linux? Vincent Lefevre <vincent@vinc17.net> - 2023-05-16 12:10 +0200
Re: How to run a command / script on startup automatically in linux? Greg Wooledge <greg@wooledge.org> - 2023-05-16 13:20 +0200
Re: How to run a command / script on startup automatically in linux? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-05-16 14:10 +0200
Re: How to run a command / script on startup automatically in linux? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-05-18 08:10 +0200
csiph-web