How to hide bottom bar in epiphany (application-mode)

Hello,
I’m trying to create a windows with epiphany in application-mode to just monitor something.
I don’t want any (tool)bars displayed.
If I run epiphany in application-mode (created with epiphany’s menu’s “Install Site as Web Application”).
If I launch it, I have a bottom bar with three buttons (back,forward, add favorite I think) - how to get rid of it?
if I launch it without application-mode this bar is not displayed, but then I have the address bar, which I also do not want.

didn’t find anything in the manpages or in the profile files.
also don’t find a “view” menu.

tried:
-version 43.1-1 on debian
-version 42.4-bp156.2.9 on openSUSE

commands used look like this:
epiphany https://abc.xyz/vew #will show address bar
gtk-launch myapp
with following myapp.desktop file in ~/.local/share/applications/

[Desktop Entry]
Name=myapp
Exec=epiphany --application-mode --profile=~/.local/share/org.gnome.Epiphany.WebApp-myapp-cf337c98cebb26809446f57af87988d10bb9e3d8 https://abx.xyz/vef
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
NoDisplay=false
Icon=/home/pane/.local/share/org.gnome.Epiphany.WebApp-myapp-cf337c98cebb26809446f57af87988d10bb9e3d8/app-icon.png
StartupWMClass=org.gnome.Epiphany.WebApp-myapp-cf337c98cebb26809446f57af87988d10bb9e3d8
X-Purism-FormFactor=Workstation;Mobile;

It might help to know what it is you are wishing to monitor in Linux as there may be a better tool available to achieve it (in the terminal perhaps).

You could try writing a little program with a webview embedded rather than using Epiphany. Something like…

from gi.repository import Gtk, WebKit, Gio

class WebViewWindow(Gtk.ApplicationWindow):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.set_default_size(800, 600)
        
        self.webview = WebKit.WebView()
        self.webview.load_uri("https://gnome.org")
        
        scrolled_window = Gtk.ScrolledWindow()
        scrolled_window.set_child(self.webview)
        
        self.set_child(scrolled_window)

class MyApp(Gtk.Application):
    def __init__(self):
        super().__init__(application_id='com.example.webviewapp',
                         flags=Gio.ApplicationFlags.FLAGS_NONE)
    
    def do_activate(self):
        win = WebViewWindow(application=self)
        win.present()

if __name__ == "__main__":
    app = MyApp()
    app.run()
1 Like

Sorry, but this isn’t supported.

It could be, because web app manifest has controls for this. Epiphany just does not implement them. The only thing it knows how to do with the manifest is get the web app’s icon.

Unless somebody wants to work on improving Epiphany, Felipe’s solution is probably your best bet.

thank you for the replies. and sorry for my unpredicted absence.
I noticed the “bottom bar” I mentioned is only displayed if the page displayed only if the displayed page is bigger than the window. that shouldn’t be the case in the final version.
some things to consider here, especially the suggestion from felipeborges …
but there doesn’t exist any tool, for what I am going to monitor - a self made climate control for the appartment :wink:

if issue won’t be resolved (but I think it already is) I’ll come back.

cheers

Have you considered posting your request on the SE site Software Recommendations