简体   繁体   中英

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

Go to Startup Applications via dash

通过破折号转到启动应用程序

There, add firefox ...

在那里,添加Firefox ...

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

firefox URL

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM