Page 1 of 1

google-chrome path?

Posted: Sun May 31, 2020 6:39 pm
by hadisur_rahman
I,m using now MX LINUX - 19.1, MY question is where the google-chrome path rest of? I had tried but can,t find the path which I need to set Pycharm as a default web browser for opening my files in that browser.

Re: google-chrome path?

Posted: Sun May 31, 2020 6:40 pm
by Eadwine Rose
/usr/bin/google-chrome-stable

That is where mine is at.

Re: google-chrome path?

Posted: Mon Jun 01, 2020 8:12 am
by hadisur_rahman
Eadwine Rose wrote: Sun May 31, 2020 6:40 pm /usr/bin/google-chrome-stable

That is where mine is at.

When I put this path on Pycharm Pro Web Browser's path "for opening chrome browser as default when I needed to be" but it doesn't,t work.
Screenshot-19.png
Screenshot-20.png
After putting the path u provide still the same error occurs.
Screenshot-21.png

Re: google-chrome path?

Posted: Mon Jun 01, 2020 8:22 am
by JayM
Run Accessories -> Catfish File Search, change the search location from your home directory (the default) to File System, and seatch for chrome.

Re: google-chrome path?

Posted: Mon Jun 01, 2020 10:57 am
by m_frank
hadisur_rahman wrote: Mon Jun 01, 2020 8:12 am
Eadwine Rose wrote: Sun May 31, 2020 6:40 pm /usr/bin/google-chrome-stable

That is where mine is at.
When I put this path on Pycharm Pro Web Browser's path "for opening chrome browser as default when I needed to be" but it doesn't,t work.
:
After putting the path u provide still the same error occurs.
:

You may want to try:

Code: Select all

/opt/google/chrome/google-chrome
Since /usr/bin/google-chrome-stable is a link

It's a wild ride from the google-chrome command to the chrome binary:

Code: Select all

command: google-chrome -> /usr/bin/google-chrome
 link: /usr/bin/google-chrome -> /etc/alternatives/google-chrome
  link: /etc/alternatives/google-chrome -> /usr/bin/google-chrome-stable
   link: /usr/bin/google-chrome-stable -> /opt/google/chrome/google-chrome
    bash: /opt/google/chrome/google-chrome -> /opt/google/chrome/chrome
     binary: /opt/google/chrome/chrome
The above is condensed view of the outputs of:

Code: Select all

$ which google-chrome
/usr/bin/google-chrome

Code: Select all

$ namei /usr/bin/google-chrome
f: /usr/bin/google-chrome
 d /
 d usr
 d bin
 l google-chrome -> /etc/alternatives/google-chrome
   d /
   d etc
   d alternatives
   l google-chrome -> /usr/bin/google-chrome-stable
     d /
     d usr
     d bin
     l google-chrome-stable -> /opt/google/chrome/google-chrome
       d /
       d opt
       d google
       d chrome
       - google-chrome
and spelunking in the bash script /opt/google/chrome/google-chrome

Code: Select all

:
export CHROME_WRAPPER="`readlink -f "$0"`"

HERE="`dirname "$CHROME_WRAPPER"`"
:
exec -a "$0" "$HERE/chrome" "$@"

Re: google-chrome path?

Posted: Tue Jun 02, 2020 1:51 pm
by hadisur_rahman
JayM wrote: Mon Jun 01, 2020 8:22 am Run Accessories -> Catfish File Search, change the search location from your home directory (the default) to File System, and seatch for chrome.
better if u give me more details thanks

Re: google-chrome path?

Posted: Tue Jun 02, 2020 1:53 pm
by hadisur_rahman
m_frank wrote: Mon Jun 01, 2020 10:57 am
hadisur_rahman wrote: Mon Jun 01, 2020 8:12 am
Eadwine Rose wrote: Sun May 31, 2020 6:40 pm /usr/bin/google-chrome-stable

That is where mine is at.
When I put this path on Pycharm Pro Web Browser's path "for opening chrome browser as default when I needed to be" but it doesn't,t work.
:
After putting the path u provide still the same error occurs.
:

You may want to try:

Code: Select all

/opt/google/chrome/google-chrome
Since /usr/bin/google-chrome-stable is a link

It's a wild ride from the google-chrome command to the chrome binary:

Code: Select all

command: google-chrome -> /usr/bin/google-chrome
 link: /usr/bin/google-chrome -> /etc/alternatives/google-chrome
  link: /etc/alternatives/google-chrome -> /usr/bin/google-chrome-stable
   link: /usr/bin/google-chrome-stable -> /opt/google/chrome/google-chrome
    bash: /opt/google/chrome/google-chrome -> /opt/google/chrome/chrome
     binary: /opt/google/chrome/chrome
The above is condensed view of the outputs of:

Code: Select all

$ which google-chrome
/usr/bin/google-chrome

Code: Select all

$ namei /usr/bin/google-chrome
f: /usr/bin/google-chrome
 d /
 d usr
 d bin
 l google-chrome -> /etc/alternatives/google-chrome
   d /
   d etc
   d alternatives
   l google-chrome -> /usr/bin/google-chrome-stable
     d /
     d usr
     d bin
     l google-chrome-stable -> /opt/google/chrome/google-chrome
       d /
       d opt
       d google
       d chrome
       - google-chrome
and spelunking in the bash script /opt/google/chrome/google-chrome

Code: Select all

:
export CHROME_WRAPPER="`readlink -f "$0"`"

HERE="`dirname "$CHROME_WRAPPER"`"
:
exec -a "$0" "$HERE/chrome" "$@"

after putting

Code: Select all

/opt/google/chrome/google-chrome
this on the path an "explicitly closed" named error occurs. What should I do now?

Re: google-chrome path?

Posted: Tue Jun 02, 2020 2:48 pm
by fehlix
hadisur_rahman wrote: Tue Jun 02, 2020 1:53 pm ... this on the path an "explicitly closed" named error occurs. What should I do now?
You should use the same path as stated within the Desktop-Icon/Launcher of your google-chrome installation.
Right click on the (working) Google-Chrome Launcher -> Properties -> Edit and copy the path from the command field.

Re: google-chrome path?

Posted: Wed Jun 03, 2020 9:22 am
by hadisur_rahman
fehlix wrote: Tue Jun 02, 2020 2:48 pm
hadisur_rahman wrote: Tue Jun 02, 2020 1:53 pm ... this on the path an "explicitly closed" named error occurs. What should I do now?
You should use the same path as stated within the Desktop-Icon/Launcher of your google-chrome installation.
Right click on the (working) Google-Chrome Launcher -> Properties -> Edit and copy the path from the command field.
Followed the procedure but not working.

Re: google-chrome path?

Posted: Wed Jun 03, 2020 3:38 pm
by hadisur_rahman
Still don,t get any solution, someone help me out for this bad uneasy situation, please.

Re: google-chrome path?

Posted: Wed Jun 03, 2020 4:08 pm
by fehlix
hadisur_rahman wrote: Wed Jun 03, 2020 3:38 pm Still don,t get any solution, someone help me out for this bad uneasy situation, please.
Well, if the flatpak version is not working for you, you might go onto their website to find installation instructions. Apparently they seem not to offer any deb-packages.