Re: Change browser in MacOS

From: Patrick De Visschere <pdvisschere(at)edpnet(dot)be>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Change browser in MacOS
Date: 2019-01-08 20:07:15
Message-ID: 1BF99DF7-0FB4-44F8-973A-5D0B666BF92D@edpnet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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.

Regards,

P. De Visschere

> On 8 Jan 2019, at 17:48, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>
>
> On Tue, Jan 8, 2019 at 9:45 PM Patrick De Visschere <pdvisschere(at)edpnet(dot)be <mailto:pdvisschere(at)edpnet(dot)be>> wrote:
> Can someone tell were this command is saved, because I have to reenter it from time to time.
>
> ~/Library/Preferences/org.pgadmin.pgadmin4.plist on macOS.
>
>> On 8 Jan 2019, at 17:10, Steve Hawes <steve(dot)hawes(at)tmlep(dot)com <mailto:steve(dot)hawes(at)tmlep(dot)com>> wrote:
>>
>> Sheldon,
>>
>> The /usr/bin/firefox %URL% is the placeholder text that is used as an example for the browser command. I have tried with Chrome as my default browser and this works fine but I want to keep Safari as the default browser but use Chrome only for pgAdmin.
>>
>> Following the reply I got from Richard Coleman and after a bit of Googling for the correct command I have found the syntax to be:
>>
>> open -a “Google Chrome” %URL%
>>
>> Hope this helps someone else as well.
>>
>> Thanks
>> Steve
>>
>>
>> Steve Hawes
>> CIO
>> <image743000.png>
>>
>> T: 020 3355 9796 <tel:020%203355%209796>
>> M: +34 681 259 532 <tel:+34%20681%20259%20532>
>> E: steve(dot)hawes(at)tmlep(dot)com <mailto:steve(dot)hawes(at)tmlep(dot)com>
>> W: www.tmlep.com <http://www.tmlep.com/> <image804001.png> <http://www.tmlep.com/>
>> <image852002.png> Consider the environment. Do you really need to print this email?
>> TMLE Limited is a company registered in England and Wales under number 08092743. The company's registered office is The Chestnuts, Brewers End, Takeley, Essex CM22 6QJ United Kingdom.
>>
>> This message contains confidential information and is intended only for the intended recipients. If you are not an intended recipient you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
>>
>> TMLEP may monitor email traffic data and also the content of emails for compliance purposes and to protect its business.
>>
>> From: "Strauch, Sheldon" <sstrauch(at)enova(dot)com <mailto:sstrauch(at)enova(dot)com>>
>> Date: Tuesday, 8 January 2019 at 15:42
>> To: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com <mailto:rcoleman(dot)ascentgl(at)gmail(dot)com>>
>> Cc: Steve Hawes <steve(dot)hawes(at)tmlep(dot)com <mailto:steve(dot)hawes(at)tmlep(dot)com>>, "pgadmin-support(at)lists(dot)postgresql(dot)org <mailto:pgadmin-support(at)lists(dot)postgresql(dot)org>" <pgadmin-support(at)lists(dot)postgresql(dot)org <mailto:pgadmin-support(at)lists(dot)postgresql(dot)org>>
>> Subject: Re: Change browser in MacOS
>>
>> Interestingly enough, I use Chrome exclusively and my Browser Command is configured to: /usr/bin/firefox %URL%
>> When selecting New pgAdmin 4 Window... the new window opens in Chrome. Seeing as firefox is not even installed, I believe in the absence of a working command pgAdmin 4 reverts to OSX's default browser, which I do have configured to be chrome.
>>
>> HTH!
>>
>> On Tue, Jan 8, 2019 at 9:33 AM richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com <mailto:rcoleman(dot)ascentgl(at)gmail(dot)com>> wrote:
>> Steve,
>>
>> Well I have mine set to launch chromium with this command:
>> chromium-browser %URL%
>>
>> So I would imagine substituting the command to start chrome from the command line would suffice.
>>
>> Just a thought,
>>
>> rik.
>>
>> On Tue, Jan 8, 2019 at 10:02 AM Steve Hawes <steve(dot)hawes(at)tmlep(dot)com <mailto:steve(dot)hawes(at)tmlep(dot)com>> wrote:
>> Hi,
>>
>> Can anyone help me with changing the browser used by pgAdmin in MacOS Mojave.
>>
>> I have Google Chrome installed and can see that there is a box for entering the Browser Command in the pgAdmin configuration but I cannot work out the syntax for getting Chrome to launch instead of Safari. Any help appreciated.
>>
>> Many thanks
>> Steve
>>
>> Steve Hawes
>> CIO
>> <image001.png>
>>
>> T:
>> 020 3355 9796 <tel:020%203355%209796>
>> M:
>> +34 681 259 532 <tel:+34%20681%20259%20532>
>> E:
>> steve(dot)hawes(at)tmlep(dot)com <mailto:steve(dot)hawes(at)tmlep(dot)com>
>> W:
>> www.tmlep.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tmlep.com&d=DwMFaQ&c=lEzKI_JJakPtcnbAQ6Q5xQ&r=3P3-5UqoQFsuwPHL1Gr-FtP4nR5GVvvXlP89XkF_Y4w&m=ItFmqS4jlcSFtQt5WH3mI1ujKvH_bBilNXKIDgD13NI&s=EbGcqC0BAITAQWtO6ao0R_gjD03R87-QTz-5k95p-co&e=>
>> <image002.png> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tmlep.com&d=DwMFaQ&c=lEzKI_JJakPtcnbAQ6Q5xQ&r=3P3-5UqoQFsuwPHL1Gr-FtP4nR5GVvvXlP89XkF_Y4w&m=ItFmqS4jlcSFtQt5WH3mI1ujKvH_bBilNXKIDgD13NI&s=EbGcqC0BAITAQWtO6ao0R_gjD03R87-QTz-5k95p-co&e=>
>> <image003.png>
>> Consider the environment. Do you really need to print this email?
>> TMLE Limited is a company registered in England and Wales under number 08092743. The company's registered office is The Chestnuts, Brewers End, Takeley, Essex CM22 6QJ United Kingdom.
>>
>> This message contains confidential information and is intended only for the intended recipients. If you are not an intended recipient you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
>>
>> TMLEP may monitor email traffic data and also the content of emails for compliance purposes and to protect its business.
>>
>>
>>
>> --
>> Look after your data, and your database will look after you. -- Simon Riggs
>>
>> Sheldon E. Strauch
>> Data Architect, Data Services
>> O 312-676-1556
>> M 224-723-3878
>>
>> Enova International, Inc.
>> This transmission is confidential and may be privileged or proprietary. If you are not the intended recipient, you are not authorized to use the information in this transmission in any way. Please inform the sender immediately if you have received this transmission in error and permanently delete and destroy the original and any copies of the information.
>
> --------------------------------------------------------------------------------------------
> Patrick De Visschere 051/46 70 25
> Pensionaatstraat 25
> 8755 Ruiselede
> --------------------------------------------------------------------------------------------
>
>
>
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com/>
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com <http://www.enterprisedb.com/>
> The Enterprise PostgreSQL Company

--------------------------------------------------------------------------------------------
Patrick De Visschere 051/46 70 25
Pensionaatstraat 25
8755 Ruiselede
--------------------------------------------------------------------------------------------

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Doug Easterbrook 2019-01-08 20:56:52 Re: Import/Export failure due to UTF-8 error in pgAdmin4 but not in pgAdmin3
Previous Message Dave Page 2019-01-08 17:15:39 Re: Import/Export failure due to UTF-8 error in pgAdmin4 but not in pgAdmin3