【问题标题】:How to start pgAdmin 4 as a desktop app on Linux?如何在 Linux 上将 pgAdmin 4 作为桌面应用程序启动?
【发布时间】:2019-05-03 02:21:45
【问题描述】:

我刚刚成功地在我的 OpenSuSE Leap 15.0 Linux (x86_64) 机器上启动了 pgAdmin 4,但它总是会出现在 Firefox 选项卡中。不过,我想将它作为桌面应用程序运行。我在question #50435656, answer #3 中找到了如何执行此操作的线索,但显然这仅适用于 Windows(任务栏图标……)。那么:我如何在 Linux 上重新配置 pgAdmin4 以便它以桌面应用程序的外观和感觉启动?谢谢。

【问题讨论】:

    标签: pgadmin-4


    【解决方案1】:

    好的,看了corresponding section of the pgAdmin 4 doc就知道了:你得打开user-specifig配置文件~/.config/pgadmin/pgadmin4.conf,然后定义对应的入口如下:

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

    pgAdmin4 然后将在独立的 Google Chrome 窗口中启动。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-11
      • 1970-01-01
      • 2019-03-25
      • 2015-01-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多