Search code examples
pgadmin-4

How to start pgAdmin 4 as a desktop app on Linux?


I've just managed to launch pgAdmin 4 on my OpenSuSE Leap 15.0 Linux (x86_64) machine, but it would always appear in a Firefox tab. I would like to run it as a desktop app, though. I've found a clue on how to do this in question #50435656, answer #3, but apparently this applies to Windows only (taskbar icon…). So: How do I re-config pgAdmin4 on Linux so that it will start in the look & feel of a desktop app? Thank you.


Solution

  • OK, I've found it out after reading the corresponding section of the pgAdmin 4 doc: You've gotta open the user-specifig config file ~/.config/pgadmin/pgadmin4.conf and then define the corresponding entry as follows:

    BrowserCommand=/usr/bin/google-chrome --app=%URL%
    

    pgAdmin4 will then start in a stand-alone Google Chrome window.