Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Does anyone know how to load a local html page on chromium in incognito mode using a shortcut link or by the terminal ?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

Open terminal and run the below command, change the url accordingly.

chromium-browser --incognito file:///home/srinivas/example-page.html

To make things easy you can put the code in a text file and save it with a .sh extension.

Once its saved right click on the file, navigate to the permission tab and check mark

allow executing file as program

enter image description here

share|improve this answer
    
Brilliant!! That's exactly what I wanted. Thankyou.. Greetings from Spain –  Mario Garcia Castellano May 9 '12 at 16:03
    
Your welcome :-) –  Srinivas Gowda May 9 '12 at 16:07
add comment

Run this command in the terminal:

chromium-browser --incognito <path-to-file>

A picture example after running the command above on a html page I saved online (this page actually):

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.