Re: Change browser in MacOS - Mailing list pgadmin-support
From | Patrick De Visschere |
---|---|
Subject | Re: Change browser in MacOS |
Date | |
Msg-id | F64F84A8-EF8E-40DC-B5CA-DDEB5DC7192F@edpnet.be Whole thread Raw |
In response to | Re: Change browser in MacOS (Dave Page <dpage@pgadmin.org>) |
Responses |
Re: Change browser in MacOS
|
List | pgadmin-support |
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.
Thanks
P. De Visschere
On 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
pgadmin-support by date: