You are not logged in.

#1 2021-07-10 02:39:46

sexynsmartjenny
Member
From: Boston, MA
Registered: 2016-07-17
Posts: 137

google-chrome freezes after mounting external hard drive

Hi dear friend:

This is a very strange twitch that I noticed. So, whenever while my google chrome web browser is open, and then I mount an external drive, then chrome freezes and I have to restart the google chrome.

It doesn't happen with firefox or opera, just with google chrome.

Does any one know why?

Offline

#2 2021-07-10 11:58:28

twoion
ほやほや
Registered: 2015-08-10
Posts: 3,245

Re: google-chrome freezes after mounting external hard drive

As to why, you'd need to debug the Chrome process for that.

As to how to solve it, I'd do:

- copy the .desktop used to launch Chrome to ~/.local/share/applications/
- install firejail
- edit the Exec= line in the copied desktop file by prefixing the command simply with "firejail", for example Exec=firejail google-chrome %u
- launch google-chrome using the new desktop file, ideally the application menu updates itself to use the new .desktop file

Firejail sandboxes the Google Chrome process and prevents it from accessing any personal data folder except ~/Downloads by default. So this experiment would servce to confirm that the behaviour is because Chrome tries to do something.

Worst case this is something to do with GTK with which Chrome integrates to access the file system etc.


Nassdachs

Offline

#3 2021-07-17 10:00:11

sexynsmartjenny
Member
From: Boston, MA
Registered: 2016-07-17
Posts: 137

Re: google-chrome freezes after mounting external hard drive

@twoion

Before I do that I just want to make sure this process is not going to cause any harm, right? My pc won't be completely frozen or anything, right?

And also, I don't have a .desktop icon that opens google chrome. I just right click and select "Web Browser" ...

Offline

#4 2021-07-23 12:15:02

ohnonot
...again
Registered: 2015-09-29
Posts: 5,520

Re: google-chrome freezes after mounting external hard drive

^ so, did it help? Curious minds want to know...


Give to COVAX! Here or here. (explanation)

Offline

#5 2021-07-24 14:57:14

sexynsmartjenny
Member
From: Boston, MA
Registered: 2016-07-17
Posts: 137

Re: google-chrome freezes after mounting external hard drive

@twoion

desktop used to launch Chrome

where do I find the desktop icon used to launch Chrome?

Offline

#6 2021-07-24 21:33:25

beaker
Unverified Muppet
Registered: 2016-03-06
Posts: 172

Re: google-chrome freezes after mounting external hard drive

/usr/share/applications

Offline

Board footer

Powered by FluxBB