Page 1 of 1

Add Chrome to menu and browser choices

Posted: Sat 08 Dec 2012, 18:06
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?

Posted: Sat 08 Dec 2012, 18:24
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

Posted: Sat 08 Dec 2012, 18:37
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.