Run a browser in fullscreen without any other UI elements (like translate, restore session, e.t.c.)












4















I am currently trying to set up a Raspberry-Pi as a very light-weight/simple monitoring solution. All it has to do is open up a web-page on boot.



Opening the web-page was easy enough. I simply put a desktop file into ~/.config/autostart with a command like:



chromium-browser --kiosk http://192.168.1.23/monitor.html


So far so good. There are two problems however:




  1. I see a toolbar stating "This page is in German. Would you like to translate it?

  2. When I unplug the R-Pi and re-plug it I get the yellow "restore session" toolbar.


I cannot figure out a way to fix this. I tried with --temp-session hoping the "restore session" would go away. Unfortunately it did not :(



I also tried with --app which did not change a thing.



Any idea how to fix that? Note that I am not fixed on chromium. It just happens to be the one browser I found which makes it easy to launch in fullscreen with a URL in once simple command.










share|improve this question























  • How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

    – Xen2050
    Jan 26 at 21:57













  • It's on a journaled FS so that shouldn't really be a problem.

    – exhuma
    Jan 27 at 8:42
















4















I am currently trying to set up a Raspberry-Pi as a very light-weight/simple monitoring solution. All it has to do is open up a web-page on boot.



Opening the web-page was easy enough. I simply put a desktop file into ~/.config/autostart with a command like:



chromium-browser --kiosk http://192.168.1.23/monitor.html


So far so good. There are two problems however:




  1. I see a toolbar stating "This page is in German. Would you like to translate it?

  2. When I unplug the R-Pi and re-plug it I get the yellow "restore session" toolbar.


I cannot figure out a way to fix this. I tried with --temp-session hoping the "restore session" would go away. Unfortunately it did not :(



I also tried with --app which did not change a thing.



Any idea how to fix that? Note that I am not fixed on chromium. It just happens to be the one browser I found which makes it easy to launch in fullscreen with a URL in once simple command.










share|improve this question























  • How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

    – Xen2050
    Jan 26 at 21:57













  • It's on a journaled FS so that shouldn't really be a problem.

    – exhuma
    Jan 27 at 8:42














4












4








4


5






I am currently trying to set up a Raspberry-Pi as a very light-weight/simple monitoring solution. All it has to do is open up a web-page on boot.



Opening the web-page was easy enough. I simply put a desktop file into ~/.config/autostart with a command like:



chromium-browser --kiosk http://192.168.1.23/monitor.html


So far so good. There are two problems however:




  1. I see a toolbar stating "This page is in German. Would you like to translate it?

  2. When I unplug the R-Pi and re-plug it I get the yellow "restore session" toolbar.


I cannot figure out a way to fix this. I tried with --temp-session hoping the "restore session" would go away. Unfortunately it did not :(



I also tried with --app which did not change a thing.



Any idea how to fix that? Note that I am not fixed on chromium. It just happens to be the one browser I found which makes it easy to launch in fullscreen with a URL in once simple command.










share|improve this question














I am currently trying to set up a Raspberry-Pi as a very light-weight/simple monitoring solution. All it has to do is open up a web-page on boot.



Opening the web-page was easy enough. I simply put a desktop file into ~/.config/autostart with a command like:



chromium-browser --kiosk http://192.168.1.23/monitor.html


So far so good. There are two problems however:




  1. I see a toolbar stating "This page is in German. Would you like to translate it?

  2. When I unplug the R-Pi and re-plug it I get the yellow "restore session" toolbar.


I cannot figure out a way to fix this. I tried with --temp-session hoping the "restore session" would go away. Unfortunately it did not :(



I also tried with --app which did not change a thing.



Any idea how to fix that? Note that I am not fixed on chromium. It just happens to be the one browser I found which makes it easy to launch in fullscreen with a URL in once simple command.







linux browser raspberry-pi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 27 '13 at 11:35









exhumaexhuma

5321420




5321420













  • How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

    – Xen2050
    Jan 26 at 21:57













  • It's on a journaled FS so that shouldn't really be a problem.

    – exhuma
    Jan 27 at 8:42



















  • How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

    – Xen2050
    Jan 26 at 21:57













  • It's on a journaled FS so that shouldn't really be a problem.

    – exhuma
    Jan 27 at 8:42

















How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

– Xen2050
Jan 26 at 21:57







How are you powering it down, just switching off the power? That might corrupt the filesystem, unless it's all read-only or entirely in ram.

– Xen2050
Jan 26 at 21:57















It's on a journaled FS so that shouldn't really be a problem.

– exhuma
Jan 27 at 8:42





It's on a journaled FS so that shouldn't really be a problem.

– exhuma
Jan 27 at 8:42










2 Answers
2






active

oldest

votes


















9














You should be able to add the two flags --disable-translate and --incognito



chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html



Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash.



References:
Disable Google Chrome session restore functionality



Chrome command line switches from a conversation on Stack Overflow






share|improve this answer





















  • 1





    Interesting. --disable-translate was not listed in --help :)

    – exhuma
    Jul 27 '13 at 18:26



















2














(putting this as answer because i cant comment)



As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.



The workaround, if you have access, is to remove the lang from html tag or set it to "en".



UPDATE:



As of version 69, the previous workaround doesn't work anymore, the solution is to add this tag to the html head:
<meta name="google" content="notranslate">






share|improve this answer


























  • Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

    – exhuma
    Jan 30 '18 at 9:51













  • @Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

    – exhuma
    Jan 30 '18 at 10:21











  • Yeah, I can confirm that this is not working anymore with Chromium 71.

    – bk138
    Jan 25 at 15:35











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f624851%2frun-a-browser-in-fullscreen-without-any-other-ui-elements-like-translate-resto%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









9














You should be able to add the two flags --disable-translate and --incognito



chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html



Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash.



References:
Disable Google Chrome session restore functionality



Chrome command line switches from a conversation on Stack Overflow






share|improve this answer





















  • 1





    Interesting. --disable-translate was not listed in --help :)

    – exhuma
    Jul 27 '13 at 18:26
















9














You should be able to add the two flags --disable-translate and --incognito



chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html



Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash.



References:
Disable Google Chrome session restore functionality



Chrome command line switches from a conversation on Stack Overflow






share|improve this answer





















  • 1





    Interesting. --disable-translate was not listed in --help :)

    – exhuma
    Jul 27 '13 at 18:26














9












9








9







You should be able to add the two flags --disable-translate and --incognito



chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html



Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash.



References:
Disable Google Chrome session restore functionality



Chrome command line switches from a conversation on Stack Overflow






share|improve this answer















You should be able to add the two flags --disable-translate and --incognito



chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html



Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash.



References:
Disable Google Chrome session restore functionality



Chrome command line switches from a conversation on Stack Overflow







share|improve this answer














share|improve this answer



share|improve this answer








edited May 23 '17 at 11:33









Community

1




1










answered Jul 27 '13 at 13:16









adamcodegaadamcodega

1063




1063








  • 1





    Interesting. --disable-translate was not listed in --help :)

    – exhuma
    Jul 27 '13 at 18:26














  • 1





    Interesting. --disable-translate was not listed in --help :)

    – exhuma
    Jul 27 '13 at 18:26








1




1





Interesting. --disable-translate was not listed in --help :)

– exhuma
Jul 27 '13 at 18:26





Interesting. --disable-translate was not listed in --help :)

– exhuma
Jul 27 '13 at 18:26













2














(putting this as answer because i cant comment)



As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.



The workaround, if you have access, is to remove the lang from html tag or set it to "en".



UPDATE:



As of version 69, the previous workaround doesn't work anymore, the solution is to add this tag to the html head:
<meta name="google" content="notranslate">






share|improve this answer


























  • Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

    – exhuma
    Jan 30 '18 at 9:51













  • @Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

    – exhuma
    Jan 30 '18 at 10:21











  • Yeah, I can confirm that this is not working anymore with Chromium 71.

    – bk138
    Jan 25 at 15:35
















2














(putting this as answer because i cant comment)



As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.



The workaround, if you have access, is to remove the lang from html tag or set it to "en".



UPDATE:



As of version 69, the previous workaround doesn't work anymore, the solution is to add this tag to the html head:
<meta name="google" content="notranslate">






share|improve this answer


























  • Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

    – exhuma
    Jan 30 '18 at 9:51













  • @Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

    – exhuma
    Jan 30 '18 at 10:21











  • Yeah, I can confirm that this is not working anymore with Chromium 71.

    – bk138
    Jan 25 at 15:35














2












2








2







(putting this as answer because i cant comment)



As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.



The workaround, if you have access, is to remove the lang from html tag or set it to "en".



UPDATE:



As of version 69, the previous workaround doesn't work anymore, the solution is to add this tag to the html head:
<meta name="google" content="notranslate">






share|improve this answer















(putting this as answer because i cant comment)



As of chromium version 60.0.3112.89, --disable-translate doesn't work anymore.



The workaround, if you have access, is to remove the lang from html tag or set it to "en".



UPDATE:



As of version 69, the previous workaround doesn't work anymore, the solution is to add this tag to the html head:
<meta name="google" content="notranslate">







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 26 at 20:39

























answered Jan 30 '18 at 9:26









Miguel PyntoMiguel Pynto

313




313













  • Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

    – exhuma
    Jan 30 '18 at 9:51













  • @Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

    – exhuma
    Jan 30 '18 at 10:21











  • Yeah, I can confirm that this is not working anymore with Chromium 71.

    – bk138
    Jan 25 at 15:35



















  • Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

    – exhuma
    Jan 30 '18 at 9:51













  • @Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

    – exhuma
    Jan 30 '18 at 10:21











  • Yeah, I can confirm that this is not working anymore with Chromium 71.

    – bk138
    Jan 25 at 15:35

















Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

– exhuma
Jan 30 '18 at 9:51







Thanks for the input. I've upvoted you, and with luck you may comment now ;) Not sure how much is needed...

– exhuma
Jan 30 '18 at 9:51















@Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

– exhuma
Jan 30 '18 at 10:21





@Pierre.Vriens Unfortunately not. The project I originally needed this for is no longer in production.

– exhuma
Jan 30 '18 at 10:21













Yeah, I can confirm that this is not working anymore with Chromium 71.

– bk138
Jan 25 at 15:35





Yeah, I can confirm that this is not working anymore with Chromium 71.

– bk138
Jan 25 at 15:35


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f624851%2frun-a-browser-in-fullscreen-without-any-other-ui-elements-like-translate-resto%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...