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

How can I start a web browser with no window borders and buttons?

I am thinking at something like this:

chromium-browser my-file.html --no-borders --no-tabs

In my mind this would open Chromium with no title bar, with no tabs and no buttons for close, minimize and so on.

I would need also an API for Javascript for closing, maximizing, resizing and dragging the window... For example if myFile.html contains a button when I click it, somewhere in js side will be called a function that will close the browser window.

Is there any tool?

share|improve this question
Maybe you should look at The QtWebKit Bridge. It can give you full control over your window and expose any native functionality to your HTML-based app. – Oleh Prypin Sep 29 '13 at 17:54
About your second question is better ask it in Stack Overflow – Braiam Sep 29 '13 at 17:59
up vote 2 down vote accepted

I think you are looking for --app:

--app=URL: Runs URL in "app mode": with no browser toolbars.

So, chromium-browser --app=/path/to/my-file.html should be an option.

This is how it looks like:

enter image description here

I'm using gnome3 so window has to be decorated, but I presume there is some way for unity/kde/etc.

share|improve this answer
Almost correct. But I don't need the title bar. How can I remove it? – Ionică Bizău Sep 29 '13 at 18:15
@Johnツ read the last line. – Braiam Sep 29 '13 at 18:26
Can you please add more information about that? – Ionică Bizău Sep 29 '13 at 18:26 – Braiam Sep 29 '13 at 18:36
Discovered devilspie application that I think I will use. Thanks! – Ionică Bizău Oct 1 '13 at 5:59

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.