shaveax
shaveax

Reputation: 478

How can i do for run an app when ubuntu start?

Hi i tried in several ways to launch firefox by example at the beginning, obviously my machine enters automatically to ubuntu without ask for user or password, so i made a script like that : firefox url. And i put this script on cron with the parameter : @reboot + path of my script but it doesn't works, because firefox is not launched, is not only firefox i need to will able to launch as well gedit when ubuntu start, i hope that can i help me whit this.

By the way i have ubuntu 14.04

Thanks

Upvotes: 1

Views: 74

Answers (2)

user2390182
user2390182

Reputation: 73450

Go to Startup Applications via dash

Go to Startup Applications via dash

There, add firefox ...

There, add firefox ...

You can specify the URL to open by writing the command:

firefox URL

This will open URL in the browser. No script needed...

Upvotes: 1

Thawn
Thawn

Reputation: 785

you don't need a script for this. Ubuntu has a GUI for managing startup applications called "startup applications"

  1. Click the Search button at the top of the Unity bar
  2. Search for "Startup applications" and press enter
  3. In the GUI you can press "add" and enter a custom command of your choice

Also look at existing entries to see how it is done.

Upvotes: 0

Related Questions