Questions tagged [autostart]

A mechanism to start automatically a script or program as soon as the operating system or execution environment that executes it is ready.

In general terms, autostart is mechanism whereby a script or program is started automatically as soon as the operating system or execution environment that executes it is ready. The script or program to execute typically needs to be registered in some list of autostart programs.

A typical example of autostart feature is the , which starts a program on a medium as soon as the medium (such as CD or USB key) is inserted in the reading device.

Use this tag for questions about implementations of an autostart feature, or issues with autostarting a particular program.

507 questions
4
votes
1 answer

Failed to get credential with name [somename.onmicrosoft.com] Exiting runbook due to error?

Here I'm working with Azure Automation and i'm trying to schedule the auto start and auto stop of Virtual Machines.I have taken a runbook "Scheduled Virtual Machine ShutDown/StartUp" from the gallery and created a runbook. when i tried to test it,…
4
votes
1 answer

systemd kill my processes before ExecStop completed

I'm trying to update my application to use it with systemd. When I have used Upstart, I've just create a /etc/init.d/myService script: #!/bin/bash #chkconfig: 2345 90 10 #description: myDescription ### BEGIN INIT INFO # Provides: myService #…
Sild
  • 3,077
  • 3
  • 15
  • 21
4
votes
3 answers

Make WebStart Java desktop application to start on system startup on Windows and Mac

I developed small cross-platform (Windows and Mac) SWT desktop application. It is distributed with WebStart. So far so good, everything works. I've got a new requirement to make my app start on system startup (with no user interaction). What is the…
parxier
  • 3,811
  • 5
  • 42
  • 54
4
votes
3 answers

Emacs: can't autostart projectile installed through MELPA

I'm fairly new to emacs. In fact I'm learning the editor and trying to setup something that will replicate "go to a file inside the project" feature known from Code::Blocks or certain plugins of notepad++. 'projectile' fulfills this need, and I…
ZalewaPL
  • 1,104
  • 1
  • 6
  • 14
4
votes
1 answer

How to install Python script on XBMC to automatically launch it at startup

I need to install a Python script in XBMC environment to be launched automatically. The script interacts with the execution of any video. It works and it is tested. Now I am looking to find a correct way to install the script by the final user. The…
Patrik
  • 1,286
  • 1
  • 31
  • 64
4
votes
2 answers

Autostart application and open it in taskbar with tray icon

I have an application in .net where I want it to always open without any manual interaction. In this application I have used NotifyIcon so it always start in Taskbar tray but the notification icon will only show if I manually open that .exe. so…
Vishal Suthar
  • 17,013
  • 3
  • 59
  • 105
4
votes
2 answers

How do I auto-start a program for a specific user using the CurrentVersion\Run key in the registry?

I have a 32-bit application that writes to: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run my application path so that it will be started when the current user logs on. This works fine on 32-bit systems (i.e. the application…
Anish Ramaswamy
  • 2,326
  • 3
  • 32
  • 63
3
votes
1 answer

IIS 7.5 how to verify if Auto-Start actually works?

I hosted my asp.net mvc3 application on amazon ec2 cloud using windows server 2008 R2. The first time page loading is very slow. I decided to enable auto start on IIS 7.5. I followed Scott's…
qinking126
  • 11,385
  • 25
  • 74
  • 124
3
votes
2 answers

How to Autostart an AlarmManager to start a Scheduled Activity?

This tutorial come from android-er, The main activity(AndroidScheduledActivity.java) start a AlarmManager to trigger BroadcastReceiver(MyScheduledReceiver.java) repeatly. In the onReceive() method of MyScheduledReceiver, it start another…
JcV
  • 179
  • 1
  • 8
3
votes
5 answers

PHP autostart with loading script

Is there a setting by which I can get some scripts to load/execute automatically once the PHP starts like getting a few constant up into global memory. Also is there a global memory which is accessible across users? Also about memory is there no…
coool
  • 8,085
  • 12
  • 60
  • 80
3
votes
3 answers

How can I automatically start application at booting

I'm using Qt. I could not find the function or class to start application at booting time. In windows, for example, add register to HKMU/Software/Microsoft/Windows/CurrentVersion/Run. I wanna know the function/class like above example.
Dong Geun Oh
  • 93
  • 2
  • 10
3
votes
1 answer

How to autostart docker desktop in the background?

I am using wsl2 with Windows 11 but to use docker within the wsl i have to start the docker desktop application for windows. I am able to add docker desktop to autostart so that it opens up on startup. But since i only use docker within the wsl i…
3
votes
2 answers

shell script works, but not on boot. [Raspberry pi]

I have a python script running on a raspberry pi. I defined a launcher.sh file and trying it with sh launcher.sh runs the program The file cd /home/pi/Documents PYTHONPATH=/home/pi/.local/lib/python3.10/site-packages python3…
Florida Man
  • 2,021
  • 3
  • 25
  • 43
3
votes
0 answers

chromium is unresponsive when loading from autostart (Raspian Bullseye)

I am launching chromium from the autostart and it will not load anything, not a localhost page or even an external page. The browser window does launch, but it just sits there with "Loading" in the tab title area. Eventually it pops up with the…
gcorwin
  • 31
  • 1
  • 4
3
votes
0 answers

How can I make Flutter app start automatically on system startup?

I saw same questions like: link1 link2, but my Flutter version is newer than as in resolves or something else, so my Flutter bases on Kotlin, not Java, as I think. MainActivity exists only in kotlin directory, in Java there is only…
Altereyo
  • 51
  • 5