Add Chrome to menu and browser choices

Booting, installing, newbie
Post Reply
Message
Author
ChrisOfBristol
Posts: 14
Joined: Sat 17 Nov 2012, 17:30

Add Chrome to menu and browser choices

#1 Post by ChrisOfBristol »

In 5.4.2 Puppy, Google Chrome, which is to me is the most useful program, has been removed from the package manager.

I have downloaded the .deb file and installed it, but it hasn't appeared on the menu or as a browser choice. I have tried [alt]right-click on the menu but that obviously isn't the way to edit the menu.

How should I do this?

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello,
IIRC 5.4.2 is BK`s Precise, and uses Jwm.
Easy answer:
Open a terminal
copy this:
echo chrome > /usr/local/bin/defaultbrowser
Click both mouse buttons to paste it into the terminal.
Hit "Enter".
Click the "browse" icon on the desktop.

If the executable is named "chrome" it should start...
To add it to the Jwm menu, create a .desktop file in
/usr/share/applications
or just edit /root/.jwmrc
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

ChrisOfBristol
Posts: 14
Joined: Sat 17 Nov 2012, 17:30

#3 Post by ChrisOfBristol »

Thanks for the answer Puppyluvr.

The command is google-chrome but it won't run as root, it demands that I specify an alternative user-data-dir.
Post #11 on this website http://www.backtrack-linux.org/forums/s ... 975&page=2 gives the answer which is to start Chrome with
google-chrome --user-data-dir={name your directory}
For example:
google-chrome --user-data-dir=/root/my-documents/.google-chrome
The directory doesn't have to exist before you run it for the first time.

Post Reply