Start a web browser application with no window borders
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:
I'm using gnome3 so window has to be decorated, but I presume there is some way for unity/kde/etc.
Related videos on Youtube
Ionică Bizău
💻 Programmer ⚡️ Geek 🎹 Pianist & Organist 🚀 Learner 💡 Mentor 💫 Dreamer 🍏 Vegetarian 🙏 Jesus follower Website | GitHub | Twitter | PayPal Donations
Updated on September 18, 2022Comments
-
Ionică Bizău almost 2 years
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?
-
Oleh Prypin almost 11 yearsMaybe 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.
-
Quidam about 4 yearsI use Bodhi Linux, and they provide a way to change the window border for ANY window. That's wonderful. There's something to dig in their code for the ones who are interested about window-borders management through a GUI.
-
-
Ionică Bizău almost 11 yearsAlmost correct. But I don't need the title bar. How can I remove it?
-
Braiam almost 11 years@Johnツ read the last line.
-
Ionică Bizău almost 11 yearsCan you please add more information about that?
-
Braiam almost 11 years
-
Ionică Bizău almost 11 yearsDiscovered
devilspie
application that I think I will use. Thanks!