Make programs start upon logging in, or stop them from doing so.

learn more… | top users | synonyms

218
votes
14answers
312k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
277
votes
8answers
442k views

How to run scripts on start up?

How do I run scripts automatically when my computer starts up so I don't have to run scripts that I always run manually after startup?
68
votes
8answers
113k 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?
133
votes
3answers
308k views

How can I configure a service to run at startup

I have a daemon that runs fin if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
12
votes
6answers
57k 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?
15
votes
3answers
60k 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 ...
16
votes
1answer
14k 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/...
28
votes
10answers
96k 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 ...
9
votes
3answers
4k 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 ...
11
votes
2answers
12k views

How to add a script to Startup Applications from the command line?

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 ...
9
votes
2answers
22k 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, ...
5
votes
1answer
17k views

How can I start transmission-daemon service before login?

I want to run transmission-daemon as a service so that any user can log in and access the same instance of Transmission (via the browser or Transmission remote GUI). Is this possible, and how can I ...
7
votes
3answers
8k 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 ...
5
votes
2answers
13k 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, ...
4
votes
3answers
12k views

Autostart Dropbox in Lubuntu

I've installed Dropbox (as per the instructions supplied in Dropbox's Home Page and a personal blog I found browsing about the subject), but still no success in forcing autostart (only for my user) ...
2
votes
1answer
365 views

How to autostart a shell script on Ubuntu-touch?

I want to start a shell script on my bq Aquaris E4.5 Ubuntu-Edition whenever I switch on the phone to syncronize my calendar and contacts via syncevolution with my owncloud server. How can I ...
3
votes
2answers
6k views

How to edit autostart applications? [duplicate]

How can I reach the UI to configure the autostart applications in Ubuntu 11.10? Please don't tell me, I have to do it using the terminal or creating a starter on my own and please don't tell me, it is ...
2
votes
3answers
1k views

How can I stop the Ubuntu Software Center from autostarting in Xubuntu?

I recently installed Xubuntu 11.10 and am completely updated. Software sources used include proposed as well as backports (in case that means anything). My issue is that the Ubuntu software center ...
27
votes
6answers
85k 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?
11
votes
5answers
125k 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/...
23
votes
1answer
38k 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 ...
11
votes
4answers
2k 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 ...
7
votes
6answers
19k 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" ...
7
votes
2answers
2k 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 ...
9
votes
2answers
635 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 ...
3
votes
2answers
278 views

How to show a notification if a startup application ( or process) failed to start automatically

I added a script to autostart (using "Default applications for LXSession"). Later, I moved folder containing script. As result, autostart command was silently failing. How can I enable warning ...
4
votes
0answers
6k views

How do I start a program automatically when I boot? [duplicate]

Possible Duplicate: How to start applications at startup automatically? I am using Ubuntu 12.04 and I always have to start for example Yakuake by myself. How can I start the program ...
1
vote
1answer
473 views

Startup Application with unknown source

After update to 15.04 I have abiword starting by itself upon login to GNOME or Unity. It does not happen in openbox or blackbox. How do I prevent this application from starting without removing the ...
5
votes
8answers
19k views

Lubuntu: How do I autostart xfce4 power manager?

I just upgraded my 64 bit Lubuntu to 13.10 on my netbook today. After the upgrade, I simply can't autostart the xfce4 power manager. I tried to add from the desktop session settings, I tried to copy ...
12
votes
2answers
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?
4
votes
1answer
810 views

Run a script with user interaction on log out / shutdown?

I'd like to run a script on shut down, which interrupts the logout process and and pops up a window with zenity. My target is to get autofsck working with lightdm. It seems to work with 12.04 after ...
13
votes
2answers
15k 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?
5
votes
1answer
6k 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 ...
3
votes
2answers
2k 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, ...
6
votes
2answers
16k 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 ...
4
votes
2answers
1k 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.
3
votes
2answers
3k views

how to make programs that autostart at login start hidden?

How do I start applications that autostart on login start hidden in the system tray? Is there special command (i.e. --hidden) to the autostart command to make the application start to the system tray?...
3
votes
1answer
4k views

Add application to autostart

I've installed System Load Indicator and set 'autostart' in preferences. For some reason it doesn't load at starting system. How to find out the name/command of this application and then I can add it ...
2
votes
3answers
1k views

How to run programs each time the system boots up? [duplicate]

What is the command line in bash to make a program run every time the system boots up?
2
votes
1answer
3k views

How to reenable autostart of compiz?

After upgrading to 11.10 compiz won't start automatically and I have to run compiz --replace after each reboot. How to start it automatically instead?
1
vote
2answers
6k views

Autostart Kodi on Vivid

Ubuntu Vivid uses systemd, however I don't have a clue how it exactly works. Can maybe someone write the correct kodi.service file what needs to be placed in /etc/systemd/system thanks a lot.
3
votes
1answer
478 views

How to set up a (relatively) secure kiosk on Natty?

I'm trying to get my application to be the only thing a user sees when the machine is powered on - like a kiosk, but a little more secure. Ideally, what I'd like to happen is this: At machine power-...
3
votes
1answer
2k views

Run command at login - Ubuntu 15.04

This has been asked to death, and yet none of the solutions I've found seem to work. I want to run a command, say setxkbmap -layout us -option ctrl:nocaps , at login. It should only run for me, and ...
3
votes
3answers
10k views

upstart job works only with manual start/stop

I have a very small upstart job in /etc/init/tsm.conf to start backup client after network starts. It works just ok if I start/stop it manually via service tsm start|stop|status. But service tsm ...
2
votes
2answers
2k views

How to disable Steam check autostarting on every user login?

I moved Steam folder to another partition that's not mounted at startup using a symlink: How can I move Steam's download folder? Now after every login it thinks it's not yet installed. I checked ...
2
votes
2answers
257 views

Stack applet was not starting automatically

I am using stackapplet v1.4 it's not getting started automatically.Every time i want to start it manually from Application>>Accessories>>StackApplet.I am sure i have enabled the option Start ...
1
vote
0answers
23 views
+50

Disable touch-pad while typing doesn't work in Lubuntu

Disable touch-pad while typing doesn't work in the latest Lubuntu. So far I tried two solutions, non of them worked: Adding syndaemon -d -t line to ~/.config/lxsession/Lubuntu/autostart and restart. ...
1
vote
1answer
888 views

I finally got pptp working… but where insert command to autostart it?

I was looking for a solution and finally found,I have to run in terminal: sudo modprobe nf_conntrack_pptp I don't know what it is, what this command is doing, I know only that i have to run this ...
1
vote
2answers
9k views

Auto Start Firefox and Launch a URL by Default in Lubuntu 14.04

I want to Autolaunch firefox and load some default URL when my system is Logged IN or rebooted. The option should be in Lubuntu 14.04.
0
votes
1answer
240 views

Automatically run a command on start up? [duplicate]

I was kindly helped on this forum a few months ago to fix my Wifi. Only problem is I have to run the command in the terminal at the start of every session.Each time I need to run- sudo modprobe -v ...