google-chrome path?

Message
Author
User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

google-chrome path?

#1 Post 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.

User avatar
Eadwine Rose
Administrator
Posts: 14780
Joined: Wed Jul 12, 2006 2:10 am

Re: google-chrome path?

#2 Post by Eadwine Rose »

/usr/bin/google-chrome-stable

That is where mine is at.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

Re: google-chrome path?

#3 Post 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
You do not have the required permissions to view the files attached to this post.

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: google-chrome path?

#4 Post by JayM »

Run Accessories -> Catfish File Search, change the search location from your home directory (the default) to File System, and seatch for chrome.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
m_frank
Posts: 183
Joined: Tue Jun 25, 2019 12:25 pm

Re: google-chrome path?

#5 Post 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" "$@"
LT: Dell 5566, Core i3-7100U, 6GB, 1.0TB HD, MX-19.1_x64/386
LT: Lenovo T500, Core2 Duo P8700, 4GB, 320GB HD, MX-19.1_x64/386
LT: HP DV6-1053cl, Core2 Duo P7450, 4GB, 320GB HD, MX-18.3_x64
DT: HP 500-281, Core i3-4130, 4GB, 1.0TB HD, MX-18.3_x64

User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

Re: google-chrome path?

#6 Post 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

User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

Re: google-chrome path?

#7 Post 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?

User avatar
fehlix
Developer
Posts: 12734
Joined: Wed Apr 11, 2018 5:09 pm

Re: google-chrome path?

#8 Post 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.

User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

Re: google-chrome path?

#9 Post 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.

User avatar
hadisur_rahman
Posts: 158
Joined: Sat Mar 07, 2020 5:47 am

Re: google-chrome path?

#10 Post by hadisur_rahman »

Still don,t get any solution, someone help me out for this bad uneasy situation, please.

Post Reply

Return to “Software / Configuration”