Questions tagged [autostart]
Make programs start upon logging in, or stop them from doing so.
537
questions
765
votes
10
answers
1.6m
views
How to run scripts on start up?
How can I run scripts automatically when Ubuntu starts up so I don't have to run them manually after startup?
435
votes
14
answers
863k
views
How do I start applications automatically on login?
How can I make an application automatically start when I have logged in?
333
votes
5
answers
963k
views
How can I configure a service to run at startup
I have a daemon that runs fine if I start it manually with the service command:
ricardo@ricardo-laptop:~$ sudo service minidlna start
* Starting minidlna minidlna ...
92
votes
2
answers
99k
views
Nginx - disable autostart
I went through some manuals and I didn't understand yet. How do I disable autostart nginx service?
78
votes
8
answers
163k
views
How do I make a program auto-start every time I log in?
I frequently need to start several programs that I use every time I start my computer. How can I make it so that whenever I login the program is automatically launched?
64
votes
14
answers
256k
views
How to start Virtual box machines automatically when booting?
I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one.
I wanna a help in writing script for automatically autostart the VBox machines ...
49
votes
4
answers
55k
views
Disable Docker autostart at boot?
I was trying to experiment with docker, Ubuntu 14.04, 64-bit. I managed to run an image, and I gave it the path on one of my removable drives, /media/Drive1.
Now, whenever I reboot, I see there is a /...
46
votes
7
answers
137k
views
Why is chkconfig no longer available in Ubuntu?
I can not use chkconfig tools in Ubuntu 12.10
It's a very useful tools to configure the service to autostart or not. Why is it no longer available?
43
votes
3
answers
251k
views
Start ssh server on boot
I've been doing my google-fu, but I can only find outdated guides or guides pertaining solely to the server variations of Ubuntu.
I need to set it up so that ssh server is run on boot, so I can ...
35
votes
2
answers
118k
views
How to add a script to Startup Applications from the command line? [duplicate]
I have a shell script. I want to configure my script to run automatically during startup. I know how to do this from GUI. But I wanted to do this from terminal. How can I do this?
On a primary ...
32
votes
8
answers
292k
views
How do I start VNC Server on boot?
How do I create a system-wide autostart file? This would be on a cloud server running the desktop version of Maverick.
I logged in as root and created an autostart file using System/Preferences/...
30
votes
3
answers
87k
views
How to launch terminal on login
How could I get the terminal to be launched once I have logged in, so that typing commands is much simpler?
28
votes
1
answer
39k
views
Which startup applications can I safely disable?
Which startup elements can be safely deleted (for home desktop users)?
I use this terminal commands to see the whole startup list:
cd /etc/xdg/autostart
sudo sed --in-place 's/NoDisplay=true/...
27
votes
5
answers
27k
views
How can I stop mongodb from starting on system boot
I installed mongodb for learning purpose, the problem I am facing is that it starts on system boot and consume resources even if not being used. I want it to be removed from system boot, how can I do ...
26
votes
3
answers
32k
views
Disable gnome-software from loading at startup
Gnome-software, which is one of the top memory consumers, is being loaded at startup and thus decreasing boot time.
I rarely use gnome-software, and on most boot-ups it is useless. However there is ...
26
votes
1
answer
51k
views
Where is Start-up Applications in 14.04 Unity?
I cannot find the Start-up Applications in 14.04, I read on a forum that you had to go into Main Menu and allow it to be visible through preferences, but I have looked all the way through preferences ...
25
votes
2
answers
69k
views
How to disable OpenVPN from autostarting at boot-up or reboot?
I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1
How do I prevent OpenVPN from autostarting at boot-up or reboot?
24
votes
3
answers
94k
views
How can I start a VNC server before log on?
I would like to run x11vnc (or another VNC server) on my desktop, but I'm unable to find a way to get it to start before any users log in. Back when I was using vanilla Ubuntu 10.10 Vino did this by ...
22
votes
11
answers
104k
views
How can I add new autostart programs in Lubuntu?
In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?
19
votes
1
answer
110k
views
Automatically Run a Command/script at startup [duplicate]
This question is ALL over ubuntu, with MODS saying its duplicate, but I have found no good answers!
I want to run the command, (this will work for script as well)
sudo service deluged restart
at ...
18
votes
4
answers
11k
views
How to run script after resume and after unlocking screen
In Ubuntu 12.04 LTS, I would like to run scripts after resuming from suspend, and after unlocking my desktop. These need to run as my user, and with access to my $DISPLAY.
In particular, I would like ...
16
votes
2
answers
12k
views
.xsession. .xinitrc, xmonad, and lightdm
Let me preface my question with the following:
I am pretty sure that I can hack together a solution by modifying /usr/share/xsessions/somesessionfile.desktop and make it run /etc/X11/Xsession, and get ...
16
votes
1
answer
9k
views
What are all the autostart locations in Ubuntu?
I'm a Ubuntu newbie in need of some advice from anyone very familiar with the different Ubuntu startup methodologies.
I'm interested in enumerating all the applications that are triggered at startup ...
15
votes
4
answers
21k
views
How to disable autostart of SSHD in Ubuntu 15.04
In older versions of Ubuntu I commented out the "start on ..." line in /etc/init/ssh.conf. This worked well, but not in Ubuntu 15.04.
15
votes
4
answers
13k
views
How do I prevent Dropbox from being automatically added to the autostart list after launching it?
Everytime I start Dropbox (in Precise) it gets added to the autostart list even if I deleted the entry before. I don't want Dropbox to be started when I log in only when I want it to.
How to prevent ...
15
votes
5
answers
4k
views
How to make program autostart only in GNOME
I use both GNOME and KDE SC. In GNOME, I use Docky but I do not use it with KDE. So, I would like Docky to start up only when I login into GNOME not KDE. In KDE, there is an option to make a program ...
13
votes
9
answers
64k
views
How do I set Xscreensaver to autostart?
I've just installed xscreensaver instead of gnome-screensaver in Ubuntu 12.04 in gnome-session-fallback (Gnome Classic) mode. It works fine, but I have a problem:
I put "xscreensaver -no-splash&...
13
votes
5
answers
21k
views
How to shut down Ubuntu after 2 hours of being idle?
Running: Xubuntu 14.04 32-bit.
I have read several outdated, not working, working different that I want answers here and elsewhere. I had a script that resulted in shutting my Laptop down at boot time ...
13
votes
1
answer
48k
views
How do I use ARandR to create a permanent monitor layout in Lubuntu 12.10? [duplicate]
So ARandR is great for setting up my monitor layout in Lubuntu 12.10 but even if I save the layout to the
~/.screenlayout
it doesn't seem to save that layout no matter what I call the file.
12
votes
2
answers
3k
views
How can I automatically set my status to Available when I log in?
This is the first thing I do after logging in:
How can I make it happen automatically?
12
votes
2
answers
17k
views
What is the difference between ~/.config/autostart and ~/.config/autostart-scripts?
I have Kubuntu 17.10, trying to copy a .desktop file into the autostart directory then I figured out that I don't have it, just the directory ~/.config/autostart-scripts
I do not know if they have ...
12
votes
2
answers
37k
views
How do I launch a GUI application as root on user login?
I would like to launch a Gnome application with root privileges at login.
I have tried adding a script to launch using update-rc.d myscript.sh defaults.
It looks like the application does launch, ...
12
votes
3
answers
15k
views
How to get Synergy to Autostart at login on Ubuntu 16.04
I am trying to get Synergy to autostart at boot on ubuntu 16.04 with no luck. I have seen plenty of ways to do it with 14.4 using lightdm or gnome but how does one go about it in 16.04 using Unity ...
11
votes
3
answers
7k
views
Making a backtick produce just a backtick
My backtick key (`) produces nothing when first pressed - I have to press it twice to generate a `. If I forget, and type ` e, I get an accented e character.
I am only able to fix this temporarily, ...
11
votes
2
answers
5k
views
Getting a script to run on boot, not on login
How can I get a specific script to run (preferably not as superuser) whenever the machine boots, but before login. It can be the last thing to run on boot. I mostly just want the script to work even ...
10
votes
2
answers
15k
views
connecting a SSH tunnel on reboot?
How can i reestablish a Tunnel if my localhost goes down?
i have 2 machines, Remotehost and localhost, on my localhost im running autossh to keep the tunnel alive in case of network problems.
...
10
votes
2
answers
1k
views
How does "Startup Applications" work?
I am interested in knowing how "Startup Applications", which you can access from the dock, work.
I want to know this because I want to know the difference between adding an entry in these places:
/...
10
votes
2
answers
8k
views
How do I disable Ktorrent from autostarting on login?
I'm using Kbuntu and when I turn on my computer and log in, the default app KTorrent automatically starts up and opens a window on my desktop. I want KTorrent to open up when I manually select the ...
10
votes
0
answers
5k
views
How to run .desktop files from command line [duplicate]
I am configuring a box with openbox (with GNOME under the scenes), and I want to run the .desktop files in /etc/xdg/autostart/ from a script at login.
But xdg-open and gnome-open do not seem to do ...
9
votes
1
answer
17k
views
How to run my snap application on startup
I have a snapcraft application build on top of electronJs.
I would like that application to run on startup.
I tried to directly drop a app_name.desktop file inside the current user config/autostart ...
9
votes
2
answers
736
views
How do I banish the "You have just inserted an Audio CD." dialog forever?
Sometimes when I insert an audio CD I get a dialog that says "You have just inserted an Audio CD. Choose what application to launch." It doesn't show up for every CD... probably something like once ...
8
votes
3
answers
32k
views
How to get LightDM automatically started at startup after disabling it (in Ubuntu MATE)?
I am working with Ubuntu MATE (16.04) on a Raspberry Pi 3. I disabled LightDM with
sudo systemctl disable lightdm
On the next boot LightDM did not show up again and instead I just got a terminal ...
8
votes
3
answers
18k
views
OpenVPN AutoStart Ubuntu 18.04
I am trying to set OpenVPN to autostart on boot. With 18.04 Mate I have tried my usual put opvpn config into /etc/openvpn and then edit /etc/default/openvpn to connect all. This does not work, ...
8
votes
2
answers
8k
views
preventing transmission-daemon from auto start?
On Xubuntu 14.04 I have installed the package transmission-daemon. It appears to start automatically when I start the computer. Is it possible to prevent this from happening and instead I would like ...
7
votes
2
answers
50k
views
Chrome autostart on ubuntu [duplicate]
I have recently installed Ubuntu on my PC, but I can't understand how to manage the applications -- as an example, I'm trying to get Chrome to autostart.
I can start Chrome manually, but I'm not able ...
7
votes
2
answers
17k
views
How to run a particular command at startup?
I don't understand scripts or how to make them or how to run them. All I want to do is run the command xmodmap -e "keycode 112 = Delete" when my computer starts. When I run this command in terminal, ...
7
votes
4
answers
11k
views
How to make Google Chrome not start as service?
I found Google Chrome running as service after I installed it, at each reboot.
This would not be a problem, if it won't eath 100% cpu. I would not like to uninstall it, but I'll be forced to do that ...
7
votes
3
answers
53k
views
Starting a background application automatically on boot
I can run the following command in a terminal
sudo /usr/sbin/archttp64 81
which is a management console for the RAID controller on this machine. Then I can run Firefox and use the address: ...
7
votes
2
answers
2k
views
Having apps stay open when the computer starts
Hello Running Ubuntu Mate. Is their a way to have command line applications open automatically at startup.
Right now every time I restart the computer I have to open the programs manually.
7
votes
1
answer
12k
views
How to make ubuntu service run as specific user
How to make ubuntu service run as specific user?
I created an init.d script and make it start at boot, but sooner I found the service is running as root after reboot.
I google and google, people ...