Re: Change browser in MacOS - Mailing list pgadmin-support
From | Patrick De Visschere |
---|---|
Subject | Re: Change browser in MacOS |
Date | |
Msg-id | D9C958E4-4AF3-49C9-8E3F-7843764A77C7@edpnet.be Whole thread Raw |
In response to | Re: Change browser in MacOS (Patrick De Visschere <pdvisschere@edpnet.be>) |
Responses |
Re: Change browser in MacOS
|
List | pgadmin-support |
Dave,
Unfortunately it does not stick.
I’ve noticed that the org.pgadmin.pgadmin4.plist file is overwritten (probabaly once a day) without the <key>Browser Command</key>; the Browser Command is still visible in the Configure… window (as long as the pgadmin server is running). I think this overwriting does only occur when there is no pgadmin-window actually running in a Browser.
Regards,
P. De Visschere
On 11 Jan 2019, at 13:52, Patrick De Visschere <pdvisschere@edpnet.be> wrote:Dave,I removed all pgadmin-related .plist’s file in ~/Library.When starting the server my modified Browser command was still present (but no .plist file).I shutted down/started it up several times, logged out and in, still no .plist file: the Browser command is stored somewhere else. I couldn’t find it, it’s not in my user directory, maybe in a (python) cache somewhere.Only when I modified the Browser command, an org.pgadmin.pgadmin4.plist file was created. It looks very much like the previous one but now has an entry with the Browser command:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>ApplicationPath</key><string></string><key>Browser.Geometry</key><data>...</data><key>Browser.LastSaveLocation</key><string>...</string><key>Browser.WindowState</key><data>...</data><key>BrowserCommand</key><string>open -a /Applications/Safari.app %URL%</string><key>FixedPort</key><false/><key>NSNavLastRootDirectory</key><string>~/Downloads</string><key>NSNavPanelExpandedSizeForSaveMode</key><string>...</string><key>NSStatusItem Preferred Position Item-0</key><real>...</real><key>PortNumber</key><integer>1</integer><key>PythonPath</key><string></string></dict></plist>I hope it’ll stick now.ThanksP. De VisschereOn 10 Jan 2019, at 05:58, Dave Page <dpage@pgadmin.org> wrote:Hi--On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <pdvisschere@edpnet.be> wrote:Dave,Thanks but this is my ~/Library/Preferences/org.pgadmin.pgadmin4.plist with the Browser command filled in(I have removed the content of the data tags)<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>Browser.Geometry</key><data></data><key>Browser.LastSaveLocation</key><string></string><key>Browser.WindowState</key><data></data><key>NSNavLastRootDirectory</key><string></string><key>NSNavPanelExpandedSizeForSaveMode</key><string></string><key>NSStatusItem Preferred Position Item-0</key><real></real></dict></plist>I don’t see the command.That looks like a file from version 1 - well, the first couple of sections. The last section doesn't match anything in pgAdmin's history.I would suggest renaming the file and letting pgAdmin recreate it. I would expect a version 3 file to be binary and require editing directly in xcode.Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--------------------------------------------------------------------------------------------
Patrick De Visschere 051/46 70 25
Pensionaatstraat 25
8755 Ruiselede--------------------------------------------------------------------------------------------
Attachment
pgadmin-support by date: