Search code examples
pgadmin-4

Start pgAdmin4 in different browser Ubuntu 18


Can't find where to change the default startup browser on Ubuntu. When I start pgAdmin4 the default browser opens, but I would like to start a different browser (eg: Firefox). In windows you can right click the service, but I'm stuck finding the way to change this on Unbuntu.


Solution

  • With the latest version of pgAdmin4, developers have added copy URL option on right click on tray icon, Download the latest version then right click on pgAdmin4 tray icon which will give you option to Copy URL, once you click that option then open your desired browser and paste the URL and hit Enter. And you are good to go :)

    Also, there is an option to run the custom browser command also. In new chrome versions you can run pgAdmin 4 as "native" desktop app. While the pgAdmin v4 web server is running, right click the icon in the Windows System Tray and select Configure... In the Browser Command input add the following:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=%URL%

    Note: Above path can change for you in Ubuntu.

    enter image description here

    If you want to run in chrome browser window, configure command like this:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" %URL%

    Note: Above path can change for you in Ubuntu.

    Hope this helps.