Making Google-Chrome the default browser in Slacko 5.6.1

Please post any bugs you have found
Post Reply
Message
Author
superchook
Posts: 117
Joined: Mon 13 Mar 2006, 07:39
Location: Sydney, Australia

Making Google-Chrome the default browser in Slacko 5.6.1

#1 Post by superchook »

I have a frugal installation of Slacko 5.6.1 non PAE on a USB stick. I have installed google-chrome from the puppy-slacko 14 repository (Using it now!).
I can start it from the menu OK. On first run it asked if I wanted to make it the default browser and I ticked yes but the internet icon still launches firefox.

If I do in a terminal

# cat /usr/local/bin/defaultbrowser

I get

#! /bin/bash
exec firefox "@"

so clearly the default browser was not changed but if I launch firefox it asks if I want to make it my default browser so something has changed.

What should I change default browser to? How can I see what clicking on Google Chrome in the menu is calling?

If I run /opt/google/chrome/google-chrome in a terminal I get a message about not being able to run as root.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#2 Post by dancytron »

Look in /usr/share/applications and find the Chrome .desktop file. Open it in geany. Find the command used to start it in the exec line.

Go to usr/local/bin and find the default browser file. Open it as text. Change the command to the one you found in the .desktop file.

superchook
Posts: 117
Joined: Mon 13 Mar 2006, 07:39
Location: Sydney, Australia

#3 Post by superchook »

Many thanks dancytron that fixed it!

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

There is a program in Slacko to change default programs.
Click Setup icon on desktop.
Attachments
Screenshot1.png
(158.76 KiB) Downloaded 1871 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply