Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have built chromium based on Now I need to modify the UI. I need to hide(remove) the address bar and also I need to disable the right click option. Could you please suggest (explain) which file I need to edit in-order to do this tasks.

share|improve this question

I'm not on my Ubuntu system right now, so I can't check it, but you should be able to run chromium in Kiosk mode. It's a command-line switch "--kiosk". This will disable the address bar for you.

For your reference, here's a full list of Chromium command line switches

To get rid of context menus, use JavaScript on the page to capture the right-click (mouse button 2) and then simply ignore the input.

share|improve this answer
just tried -kiosk works just fine. – labarna May 3 '12 at 20:03
I am trying to edit the source code to fix it. How I can do it if I edit the source code? – Sanil Joseph May 4 '12 at 16:29
Well, I'd search the source for the code that handles the -kiosk flag and make that the default state. But I have to say, that seems like an odd question for a programmer to ask here. You would likely get a better answer at The Chromuim Project ( Just use the Discuss link and ask someone there. – Jim C May 4 '12 at 21:06

Your Answer


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.