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

learn more… | top users | synonyms

127
votes
9answers
177k views

How to run scripts on start up?

I was wondering how to run scripts when my computer starts up so I don't have to run scripts manually that I always run?
108
votes
12answers
154k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
51
votes
8answers
63k 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?
51
votes
2answers
106k 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 ...
15
votes
2answers
6k 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 ...
14
votes
6answers
31k 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?
12
votes
1answer
8k views

Nginx - disable autostart

I went througn some manuals and I didn't understand yet. How do I disable autostart nginx service?
11
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?
11
votes
4answers
53k 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 ...
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 ...
10
votes
6answers
29k 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?
10
votes
3answers
40k 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 ...
10
votes
1answer
3k 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 ...
10
votes
0answers
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
2answers
536 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
2answers
12k 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, ...
7
votes
2answers
5k 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. ...
7
votes
2answers
1k 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 ...
7
votes
4answers
63k 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 ...
6
votes
3answers
5k 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 ...
6
votes
5answers
11k 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 ...
5
votes
1answer
12k 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 ...
5
votes
3answers
2k 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 ...
5
votes
2answers
1k views

Do not start bluetooth automaticaly. How to do that? [duplicate]

Possible Duplicate: How can I deactivate Bluetooth on system startup? I want that my bluetooth by defautl be turned off. How can I do that? Ubuntu 10.10
5
votes
1answer
1k views

Improve System Performance By Stopping Daemons/Services

I am trying to improve my system performance by removing some daemon/Services. On my Desktop PC i need to stop some daemons/services Which are Installed by Default in Ubuntu From auto starting . ...
5
votes
2answers
1k views

How can I have different startup programs for “Desktop Edition” and “Classic Edition” sessions in 11.04?

When using Classic Edition, I would like to start Cairo-Dock automatically, when using Desktop-Edition, I don't want to start it. How can I do that? And how does that work with XFCE and KDE?
5
votes
1answer
5k views

How do I start x11vnc via bash script on startup, not login?

I have a server with Xubuntu 11.10 Desktop installed, and x11vnc. When on login screen I want x11vnc to start and to take some settings: Automatically set defined password Automatically accept ...
4
votes
7answers
12k 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 ...
4
votes
6answers
6k 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" ...
4
votes
1answer
161 views

Why won't this application start when I log in?

I have a file in ~/.config/autostart/ that looks like this: [Desktop Entry] Type=Application Exec=python ~/Documents/StackApplet/stackapplet.py Icon=/usr/share/pixmaps/stackapplet.png Terminal=false ...
4
votes
3answers
9k 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) ...
4
votes
3answers
2k views

How can I make a command run once the next time I log in?

How can I schedule a command to run the next time I log in? I don't want it to run every time, just once.
4
votes
1answer
2k 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 ...
4
votes
1answer
377 views

How can I get the programmes I use everyday to auto start at boot in the specified Workspaces?

Is there a way I can have all the programmes I use everyday auto start in the correct workspaces?
4
votes
1answer
466 views

How do I make an application start only in XFCE?

I would like to have an application (most likely AWN or Docky) start only on XFCE, and not on KDE or Unity/GNOME. Is this possible? If so, how would I go about doing that?
4
votes
1answer
2k views

How to remap CapsLock key to Ctrl in Xubuntu

I'm trying to remap my CapsLock key to Ctrl key as described here (adding /usr/bin/setxkbmap -option "ctrl:nocaps" command to "Session and Startup"->"Application Autostart"). But this doesn't work in ...
4
votes
2answers
446 views

~/.xinput.d folder is ignored in Ubuntu 13.04

It used to be that you could make a file ~/.xinput.d/en_US and put xinput commands in there, such as enabling drag lock. Now, for some reason, in 13.04 this does not work. Anyone know why this ...
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 ...
4
votes
0answers
461 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 ...
3
votes
2answers
684 views

How to shutdown Ubuntu after (2 hours) of idle?

Running: Xubuntu 14.04 32bit. 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 ...
3
votes
2answers
3k 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?
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 ...
3
votes
1answer
7k 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?
3
votes
1answer
1k views

How to auto-start all screenlets in unity only(not Gnome-shell)?

I want to auto-start all screenlets in unity environment only as it also auto-start in Gnome-shell too (as it is not working well in gnome-shell), i,e, i want to only edit one file not all screenlet ...
3
votes
2answers
4k views

I want to make Tomcat7 autostart while booting

I installed tomcat servlet but i need to autostart while booting.How to?
3
votes
2answers
845 views

Auto-start and play mp3s from usb stick

Is there a way that I could auto start a music player and play mp3s from a usb stick immediately after my computer has booted up? Ideally the music player would play each mp3 file on the usb stick in ...
3
votes
2answers
749 views

How to create (via installer script) a task that will install my bash script so it runs on DE startup?

I've been reading for the last couple hours about Upstart, .xinitrc, .xsessions, rc.local, /etc/init.d/, /etc/xdg/autostart, @reboot in crontab and so many other things that I'm totally confused! ...
3
votes
2answers
9k views

How do I start dhcp3-server automatically on startup? [closed]

I have dhcp3-server installed and configured, but I have to manually start the service every time the computer restarts. How can I make it start automatically on startup? I don't see a dhcp*.conf in ...
3
votes
2answers
1k views

How do I gvfs-mount without opening a file manager window?

I like to have my devices mounted in Nautilus/Nemo by default when I log in, so I can have symlinks to certain directories. And I don't mean a custom mount or a mount with 10 lines of cryptSetup and ...
3
votes
3answers
2k 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: ...