Chrome opens wrong application on Linux even after deleting ~/.config/google-chrome
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I recently upgraded from Fedora 23 to Fedora 27 which involved installing a new version of Chrome. I then discovered that Java was a pain to start, and in the course of experimenting I ended up telling Firefox and Chrome to open .jnlp extensions with Firefox.
Eventually I found the javaws binary and was able to tell Firefox to stop recursively opening itself and to launch /usr/java/latest/bin/javaws %U
However, Chrome still launches Firefox for every .jnlp extension (OK, it works with Firefox, but it's messy), but I've been unable to find a way to tell Chrome to use javaws instead. I've done a "egrep -ri 'jnlp|firefox' ~/.config/google-chrome" and deleted several files to no avail. I even deleted the entire ~/.config/google-chrome directory. However Chrome still launches Firefox for every .jnlp extension.
I've searched the web and everything talks about setting the default application for Windoze, but I'm running a proper OS. I even created a /usr/share/applications/javaws.desktop on that basis, but Chrome still insists on launching Firefox for .jnlp extensions.
How do I get rid of this setting and even better how do I get it to use javawa instead?
Lenovo Thinkpad T510
Linux 4.16.7-200.fc27.x86_64 x86_64
Google Chrome 66.0.3359.181 (Official Build) (64-bit)
Revision a10b9cedb40738cb152f8148ddab4891df876959-refs/branch-heads/3359@#828
JavaScript V8 6.6.346.32
Flash 24.0.0.189 internal-not-yet-present
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Command Line /usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end
Executable Path /opt/google/chrome/google-chrome
$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
TIA Ken.
linux java chrome
migrated from serverfault.com Jun 20 at 21:27
This question came from our site for system and network administrators.
add a comment |Â
up vote
0
down vote
favorite
I recently upgraded from Fedora 23 to Fedora 27 which involved installing a new version of Chrome. I then discovered that Java was a pain to start, and in the course of experimenting I ended up telling Firefox and Chrome to open .jnlp extensions with Firefox.
Eventually I found the javaws binary and was able to tell Firefox to stop recursively opening itself and to launch /usr/java/latest/bin/javaws %U
However, Chrome still launches Firefox for every .jnlp extension (OK, it works with Firefox, but it's messy), but I've been unable to find a way to tell Chrome to use javaws instead. I've done a "egrep -ri 'jnlp|firefox' ~/.config/google-chrome" and deleted several files to no avail. I even deleted the entire ~/.config/google-chrome directory. However Chrome still launches Firefox for every .jnlp extension.
I've searched the web and everything talks about setting the default application for Windoze, but I'm running a proper OS. I even created a /usr/share/applications/javaws.desktop on that basis, but Chrome still insists on launching Firefox for .jnlp extensions.
How do I get rid of this setting and even better how do I get it to use javawa instead?
Lenovo Thinkpad T510
Linux 4.16.7-200.fc27.x86_64 x86_64
Google Chrome 66.0.3359.181 (Official Build) (64-bit)
Revision a10b9cedb40738cb152f8148ddab4891df876959-refs/branch-heads/3359@#828
JavaScript V8 6.6.346.32
Flash 24.0.0.189 internal-not-yet-present
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Command Line /usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end
Executable Path /opt/google/chrome/google-chrome
$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
TIA Ken.
linux java chrome
migrated from serverfault.com Jun 20 at 21:27
This question came from our site for system and network administrators.
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I recently upgraded from Fedora 23 to Fedora 27 which involved installing a new version of Chrome. I then discovered that Java was a pain to start, and in the course of experimenting I ended up telling Firefox and Chrome to open .jnlp extensions with Firefox.
Eventually I found the javaws binary and was able to tell Firefox to stop recursively opening itself and to launch /usr/java/latest/bin/javaws %U
However, Chrome still launches Firefox for every .jnlp extension (OK, it works with Firefox, but it's messy), but I've been unable to find a way to tell Chrome to use javaws instead. I've done a "egrep -ri 'jnlp|firefox' ~/.config/google-chrome" and deleted several files to no avail. I even deleted the entire ~/.config/google-chrome directory. However Chrome still launches Firefox for every .jnlp extension.
I've searched the web and everything talks about setting the default application for Windoze, but I'm running a proper OS. I even created a /usr/share/applications/javaws.desktop on that basis, but Chrome still insists on launching Firefox for .jnlp extensions.
How do I get rid of this setting and even better how do I get it to use javawa instead?
Lenovo Thinkpad T510
Linux 4.16.7-200.fc27.x86_64 x86_64
Google Chrome 66.0.3359.181 (Official Build) (64-bit)
Revision a10b9cedb40738cb152f8148ddab4891df876959-refs/branch-heads/3359@#828
JavaScript V8 6.6.346.32
Flash 24.0.0.189 internal-not-yet-present
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Command Line /usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end
Executable Path /opt/google/chrome/google-chrome
$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
TIA Ken.
linux java chrome
I recently upgraded from Fedora 23 to Fedora 27 which involved installing a new version of Chrome. I then discovered that Java was a pain to start, and in the course of experimenting I ended up telling Firefox and Chrome to open .jnlp extensions with Firefox.
Eventually I found the javaws binary and was able to tell Firefox to stop recursively opening itself and to launch /usr/java/latest/bin/javaws %U
However, Chrome still launches Firefox for every .jnlp extension (OK, it works with Firefox, but it's messy), but I've been unable to find a way to tell Chrome to use javaws instead. I've done a "egrep -ri 'jnlp|firefox' ~/.config/google-chrome" and deleted several files to no avail. I even deleted the entire ~/.config/google-chrome directory. However Chrome still launches Firefox for every .jnlp extension.
I've searched the web and everything talks about setting the default application for Windoze, but I'm running a proper OS. I even created a /usr/share/applications/javaws.desktop on that basis, but Chrome still insists on launching Firefox for .jnlp extensions.
How do I get rid of this setting and even better how do I get it to use javawa instead?
Lenovo Thinkpad T510
Linux 4.16.7-200.fc27.x86_64 x86_64
Google Chrome 66.0.3359.181 (Official Build) (64-bit)
Revision a10b9cedb40738cb152f8148ddab4891df876959-refs/branch-heads/3359@#828
JavaScript V8 6.6.346.32
Flash 24.0.0.189 internal-not-yet-present
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Command Line /usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end
Executable Path /opt/google/chrome/google-chrome
$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
TIA Ken.
linux java chrome
asked Jun 20 at 20:34
banjo67xxx
101
101
migrated from serverfault.com Jun 20 at 21:27
This question came from our site for system and network administrators.
migrated from serverfault.com Jun 20 at 21:27
This question came from our site for system and network administrators.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
After doing an strace of Chrome I finally found the config file it was reading and it wasn't in ~/.config/google-chrome
It's in ~/.config/mimeapps.list
application/x-java-jnlp-file=javaws.desktop;
There has to be a corresponding file /usr/share/applications/javaws.desktop with the details of how to execute javaws
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
After doing an strace of Chrome I finally found the config file it was reading and it wasn't in ~/.config/google-chrome
It's in ~/.config/mimeapps.list
application/x-java-jnlp-file=javaws.desktop;
There has to be a corresponding file /usr/share/applications/javaws.desktop with the details of how to execute javaws
add a comment |Â
up vote
0
down vote
After doing an strace of Chrome I finally found the config file it was reading and it wasn't in ~/.config/google-chrome
It's in ~/.config/mimeapps.list
application/x-java-jnlp-file=javaws.desktop;
There has to be a corresponding file /usr/share/applications/javaws.desktop with the details of how to execute javaws
add a comment |Â
up vote
0
down vote
up vote
0
down vote
After doing an strace of Chrome I finally found the config file it was reading and it wasn't in ~/.config/google-chrome
It's in ~/.config/mimeapps.list
application/x-java-jnlp-file=javaws.desktop;
There has to be a corresponding file /usr/share/applications/javaws.desktop with the details of how to execute javaws
After doing an strace of Chrome I finally found the config file it was reading and it wasn't in ~/.config/google-chrome
It's in ~/.config/mimeapps.list
application/x-java-jnlp-file=javaws.desktop;
There has to be a corresponding file /usr/share/applications/javaws.desktop with the details of how to execute javaws
answered Jul 8 at 12:47
banjo67xxx
101
101
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f450978%2fchrome-opens-wrong-application-on-linux-even-after-deleting-config-google-chr%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password