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.

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

1 Answer 1

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
    
askubuntu.com/a/56927/169736 –  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

 
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.