How to make Firefox auto launch at startup in fullscreen on Linux Ubuntu?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Firefox Ready
Objective
I want my ubuntu to start and show a Duck Duck Go in fullscreen.
Motivation
The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T
and do things in the terminal. I want Firefox to start and be ready for me to work on.
Ethics
Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.
Initial Hypothesis
I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.
Updates
20:56:44 15/08/18: I am learning the commands available for Firefox from here.
21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox âÂÂwww.duckduckgo.comâÂÂ
. I only need to find a way to make it open in fullscreen now.
21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefoxâÂÂs commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I donâÂÂt know if that will be as easy or not. And using a plugin is not favourable firstly because I donâÂÂt want every Firefox launch to be in fullscreen and secondly I donâÂÂt want to install another plugin.
shell-script ubuntu startup firefox fullscreen
add a comment |Â
up vote
1
down vote
favorite
Firefox Ready
Objective
I want my ubuntu to start and show a Duck Duck Go in fullscreen.
Motivation
The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T
and do things in the terminal. I want Firefox to start and be ready for me to work on.
Ethics
Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.
Initial Hypothesis
I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.
Updates
20:56:44 15/08/18: I am learning the commands available for Firefox from here.
21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox âÂÂwww.duckduckgo.comâÂÂ
. I only need to find a way to make it open in fullscreen now.
21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefoxâÂÂs commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I donâÂÂt know if that will be as easy or not. And using a plugin is not favourable firstly because I donâÂÂt want every Firefox launch to be in fullscreen and secondly I donâÂÂt want to install another plugin.
shell-script ubuntu startup firefox fullscreen
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Firefox Ready
Objective
I want my ubuntu to start and show a Duck Duck Go in fullscreen.
Motivation
The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T
and do things in the terminal. I want Firefox to start and be ready for me to work on.
Ethics
Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.
Initial Hypothesis
I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.
Updates
20:56:44 15/08/18: I am learning the commands available for Firefox from here.
21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox âÂÂwww.duckduckgo.comâÂÂ
. I only need to find a way to make it open in fullscreen now.
21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefoxâÂÂs commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I donâÂÂt know if that will be as easy or not. And using a plugin is not favourable firstly because I donâÂÂt want every Firefox launch to be in fullscreen and secondly I donâÂÂt want to install another plugin.
shell-script ubuntu startup firefox fullscreen
Firefox Ready
Objective
I want my ubuntu to start and show a Duck Duck Go in fullscreen.
Motivation
The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T
and do things in the terminal. I want Firefox to start and be ready for me to work on.
Ethics
Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.
Initial Hypothesis
I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.
Updates
20:56:44 15/08/18: I am learning the commands available for Firefox from here.
21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox âÂÂwww.duckduckgo.comâÂÂ
. I only need to find a way to make it open in fullscreen now.
21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefoxâÂÂs commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I donâÂÂt know if that will be as easy or not. And using a plugin is not favourable firstly because I donâÂÂt want every Firefox launch to be in fullscreen and secondly I donâÂÂt want to install another plugin.
shell-script ubuntu startup firefox fullscreen
shell-script ubuntu startup firefox fullscreen
asked Aug 15 at 16:24
Kanaujia
133
133
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56
add a comment |Â
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Write a miniscript with xdotool:
#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11
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
Write a miniscript with xdotool:
#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11
add a comment |Â
up vote
0
down vote
Write a miniscript with xdotool:
#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Write a miniscript with xdotool:
#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11
Write a miniscript with xdotool:
#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11
answered Aug 15 at 16:44
Ipor Sircer
9,2731920
9,2731920
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462779%2fhow-to-make-firefox-auto-launch-at-startup-in-fullscreen-on-linux-ubuntu%23new-answer', 'question_page');
);
Post as a guest
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
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
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
What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
â glenn jackman
Aug 15 at 19:44
Yes its gnome @glennjackman
â Kanaujia
Aug 21 at 18:56