Change browser in MacOS

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Change browser in MacOS

Steve Hawes

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
FacebookLinkedInTwitter
 
T: <a href="tel:020%203355%209796" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
TMLEP | The Medico-Legal Experts Practice
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. 

Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

richard coleman
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 <[hidden email]> 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
FacebookLinkedInTwitter
 
T: <a href="tel:020%203355%209796" id="gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" id="gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
TMLEP | The Medico-Legal Experts Practice
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. 

Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Strauch, Sheldon
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 <[hidden email]> 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 <[hidden email]> 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
FacebookLinkedInTwitter
 
T: <a href="tel:020%203355%209796" id="gmail-m_7890124635963251455gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" id="gmail-m_7890124635963251455gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
TMLEP | The Medico-Legal Experts Practice
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.    
Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Dave Page-7
In reply to this post by Steve Hawes
Hi

On Tue, Jan 8, 2019 at 8:32 PM Steve Hawes <[hidden email]> 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.



"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" %URL%

Should do the trick. You need the quotes because of the spaces in the path.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

image959000.png (1K) Download Attachment
image795001.png (2K) Download Attachment
image752002.png (372 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Dave Page-7
In reply to this post by Strauch, Sheldon
Hi

On Tue, Jan 8, 2019 at 9:12 PM Strauch, Sheldon <[hidden email]> wrote:
Interestingly enough, I use Chrome exclusively and my Browser Command is configured to: /usr/bin/firefox %URL%

I think you'll find that's the placeholder hint text, not a value. I'll bet you can't copy/paste it, and if you try to edit the field, it'll only let you add a new value, not edit what you see. Most OS's will display that in a lighter colour than normal text.
 
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 <[hidden email]> 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 <[hidden email]> 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
FacebookLinkedInTwitter
 
T: <a href="tel:020%203355%209796" id="gmail-m_4374409167464303735gmail-m_7890124635963251455gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" id="gmail-m_4374409167464303735gmail-m_7890124635963251455gmail-m_7164358486843748430LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
TMLEP | The Medico-Legal Experts Practice
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.    


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Steve Hawes
In reply to this post by Strauch, Sheldon

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
FacebookLinkedInTwitter
 
T: <a href="tel:020%203355%209796" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
TMLEP | The Medico-Legal Experts Practice
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" <[hidden email]>
Date: Tuesday, 8 January 2019 at 15:42
To: richard coleman <[hidden email]>
Cc: Steve Hawes <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> 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

cid:1682e178a07b43dd9c91

 

T: 

<a href="tel:020%203355%209796" target="_blank">020 3355 9796

M: 

<a href="tel:&#43;34%20681%20259%20532" target="_blank">+34 681 259 532

E: 

[hidden email]

W: 

www.tmlep.com

TMLEP | The Medico-Legal Experts Practice

cid:1682e178a07f49eec743

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.    

Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Patrick De Visschere-2
Can someone tell were this command is saved, because I have to reenter it from time to time.

Regards,
P. De Visschere

On 8 Jan 2019, at 17:10, Steve Hawes <[hidden email]> 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: <a href="tel:020%203355%209796" target="_blank" id="LPlnk689713" style="color: rgb(128, 128, 128); text-decoration: none;" class="">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" target="_blank" id="LPlnk689713" style="color: rgb(128, 128, 128); text-decoration: none;" class="">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
<image804001.png>
<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" <[hidden email]>
Date: Tuesday, 8 January 2019 at 15:42
To: richard coleman <[hidden email]>
Cc: Steve Hawes <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> 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: 
<a href="tel:020%203355%209796" target="_blank" style="color: purple; text-decoration: underline;" class="">020 3355 9796
M: 
<a href="tel:+34%20681%20259%20532" target="_blank" style="color: purple; text-decoration: underline;" class="">+34 681 259 532
E: 
W: 
<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
--------------------------------------------------------------------------------------------




Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Dave Page-7


On Tue, Jan 8, 2019 at 9:45 PM Patrick De Visschere <[hidden email]> 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 <[hidden email]> 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: <a href="tel:020%203355%209796" id="gmail-m_619400081490323465LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" id="gmail-m_619400081490323465LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
<image804001.png>
<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" <[hidden email]>
Date: Tuesday, 8 January 2019 at 15:42
To: richard coleman <[hidden email]>
Cc: Steve Hawes <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> 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: 
<a href="tel:020%203355%209796" style="color:purple;text-decoration:underline" target="_blank">020 3355 9796
M: 
<a href="tel:+34%20681%20259%20532" style="color:purple;text-decoration:underline" target="_blank">+34 681 259 532
E: 
W: 
<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
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Patrick De Visschere-2
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 <[hidden email]> wrote:



On Tue, Jan 8, 2019 at 9:45 PM Patrick De Visschere <[hidden email]> 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 <[hidden email]> 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: <a href="tel:020%203355%209796" id="gmail-m_619400081490323465LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank" class="">020 3355 9796
M: <a href="tel:+34%20681%20259%20532" id="gmail-m_619400081490323465LPlnk689713" style="color:rgb(128,128,128);text-decoration:none" target="_blank" class="">+34 681 259 532
E: [hidden email]
W: www.tmlep.com
<image804001.png>
<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" <[hidden email]>
Date: Tuesday, 8 January 2019 at 15:42
To: richard coleman <[hidden email]>
Cc: Steve Hawes <[hidden email]>, "[hidden email]" <[hidden email]>
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 <[hidden email]> 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 <[hidden email]> 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: 
<a href="tel:020%203355%209796" style="color:purple;text-decoration:underline" target="_blank" class="">020 3355 9796
M: 
<a href="tel:+34%20681%20259%20532" style="color:purple;text-decoration:underline" target="_blank" class="">+34 681 259 532
E: 
W: 
<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
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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




Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Dave Page-7
Hi

On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Change browser in MacOS

Patrick De Visschere-2
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 <[hidden email]> wrote:

Hi

On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <[hidden email]> 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