How to run chromium in non-kiosk frame less border less mode?

345 views
Skip to first unread message

7th Guest

unread,
Feb 23, 2019, 8:35:29 AM2/23/19
to Chromium-discuss

Hi

Is it possible to run chromium on Linux in frame-less and border-less mode as in kiosk mode but not in full screen mode?

Basically, I just need to start the browser from the command line, specify URL to show, specify window size and position and to ensure, that no frame( with tabs, search bar etc) or border( with close, minimize and maximize buttons) are visible.

If there are no such  command line option combination exist today, I am willing to make changes in the source code and rebuild for my needs, just don;t know where to start.

I saw something promising in browser.cc:


// Top container holds tab strip and toolbar and lives at the front of the
  // view hierarchy.
  top_container_ = new TopContainerView(this);
  AddChildView(top_container_);


And when I tried to comment out the AddChildMethod and rebuilt the browser crashes.

Thanks for any help!


Jon Perryman

unread,
Feb 23, 2019, 10:07:40 AM2/23/19
to balda....@yahoo.com, Chromium-discuss
Specify --app= to start your web page in application mode. This will hide the chromium related stuff.

specify --window-position= and --window-size= to start the window in a specific location.

As for "border( with close, minimize and maximize buttons)", maybe someone else knows. 

Regards, Jon.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.
Reply all
Reply to author
Forward
0 new messages