Launch program on startup in background
up vote
0
down vote
favorite
I'm running AutoKey on Ubuntu 18.04, I added it to the startup applications, but I don't want its window pops up after starting my computer, can I make it launch in the background?
18.04 startup startup-applications
add a comment |
up vote
0
down vote
favorite
I'm running AutoKey on Ubuntu 18.04, I added it to the startup applications, but I don't want its window pops up after starting my computer, can I make it launch in the background?
18.04 startup startup-applications
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm running AutoKey on Ubuntu 18.04, I added it to the startup applications, but I don't want its window pops up after starting my computer, can I make it launch in the background?
18.04 startup startup-applications
I'm running AutoKey on Ubuntu 18.04, I added it to the startup applications, but I don't want its window pops up after starting my computer, can I make it launch in the background?
18.04 startup startup-applications
18.04 startup startup-applications
asked May 20 at 11:06
Ives
14811
14811
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
To run a program on startup, you simply should add the command that runs it at the end of the .bashrc file, and to make it run in the background, add &
to it.
Example :
Let's say that the command to run autokey is autokey
, all what you have to do is:
gedit ~/.bashrc
Then go to the end of the file and type autokey &
.
Then save and exit.
At the next restart, it should start on startup and in background.
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, ifchrome
orgoogle-chrome
is the command to run in the terminal to open Google chrome, just typechrome &
(orgoogle-chrome &
) in the end of the~/.bashrc
file and it should open in background at startup the next reboot.
– singrium
May 21 at 12:27
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
To run a program on startup, you simply should add the command that runs it at the end of the .bashrc file, and to make it run in the background, add &
to it.
Example :
Let's say that the command to run autokey is autokey
, all what you have to do is:
gedit ~/.bashrc
Then go to the end of the file and type autokey &
.
Then save and exit.
At the next restart, it should start on startup and in background.
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, ifchrome
orgoogle-chrome
is the command to run in the terminal to open Google chrome, just typechrome &
(orgoogle-chrome &
) in the end of the~/.bashrc
file and it should open in background at startup the next reboot.
– singrium
May 21 at 12:27
add a comment |
up vote
0
down vote
To run a program on startup, you simply should add the command that runs it at the end of the .bashrc file, and to make it run in the background, add &
to it.
Example :
Let's say that the command to run autokey is autokey
, all what you have to do is:
gedit ~/.bashrc
Then go to the end of the file and type autokey &
.
Then save and exit.
At the next restart, it should start on startup and in background.
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, ifchrome
orgoogle-chrome
is the command to run in the terminal to open Google chrome, just typechrome &
(orgoogle-chrome &
) in the end of the~/.bashrc
file and it should open in background at startup the next reboot.
– singrium
May 21 at 12:27
add a comment |
up vote
0
down vote
up vote
0
down vote
To run a program on startup, you simply should add the command that runs it at the end of the .bashrc file, and to make it run in the background, add &
to it.
Example :
Let's say that the command to run autokey is autokey
, all what you have to do is:
gedit ~/.bashrc
Then go to the end of the file and type autokey &
.
Then save and exit.
At the next restart, it should start on startup and in background.
To run a program on startup, you simply should add the command that runs it at the end of the .bashrc file, and to make it run in the background, add &
to it.
Example :
Let's say that the command to run autokey is autokey
, all what you have to do is:
gedit ~/.bashrc
Then go to the end of the file and type autokey &
.
Then save and exit.
At the next restart, it should start on startup and in background.
edited Nov 23 at 10:03
answered May 20 at 11:44
singrium
842217
842217
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, ifchrome
orgoogle-chrome
is the command to run in the terminal to open Google chrome, just typechrome &
(orgoogle-chrome &
) in the end of the~/.bashrc
file and it should open in background at startup the next reboot.
– singrium
May 21 at 12:27
add a comment |
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, ifchrome
orgoogle-chrome
is the command to run in the terminal to open Google chrome, just typechrome &
(orgoogle-chrome &
) in the end of the~/.bashrc
file and it should open in background at startup the next reboot.
– singrium
May 21 at 12:27
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
Hi, I also have a similar query to that of "Ives". I want to auto start "google chrome browser" at the startup in the "background". I dont want it to open as a window. In the "Startup Applications" app will the following work if i want to achieve the above? usrbingoogle-chrome-stable %U &
– newforubuntulinux
May 21 at 11:26
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, if
chrome
or google-chrome
is the command to run in the terminal to open Google chrome, just type chrome &
(or google-chrome &
) in the end of the ~/.bashrc
file and it should open in background at startup the next reboot.– singrium
May 21 at 12:27
First, find which command that opens chrome, then put it in the end of the ~/.bashrc file. For example, if
chrome
or google-chrome
is the command to run in the terminal to open Google chrome, just type chrome &
(or google-chrome &
) in the end of the ~/.bashrc
file and it should open in background at startup the next reboot.– singrium
May 21 at 12:27
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038349%2flaunch-program-on-startup-in-background%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown