Google-Chrome-Portable-maker-for-linux icon indicating copy to clipboard operation
Google-Chrome-Portable-maker-for-linux copied to clipboard

Can not run after install

Open namnguyen2091 opened this issue 5 years ago • 5 comments

I've installed successfully but after that I open by sudo ./chromeGCPM.desktop but I get an error:

./chromeGCPM.desktop: 1: ./chromeGCPM.desktop: [Desktop: not found
./chromeGCPM.desktop: 2: ./chromeGCPM.desktop: Portable: not found
./chromeGCPM.desktop: 4: ./chromeGCPM.desktop: -c: not found

And then I try double click to icon but I still can not open it.

namnguyen2091 avatar Apr 23 '19 11:04 namnguyen2091

This is how I solved it.

In the same directory as the chromeGCPM.desktop file, create a file named chrome or something you like and paste this into it:

sh -c 'env HOME="$(dirname "$*")"/data/VHOME "$(dirname "$*")"/data/launcher' dummy %k

Then run

chmod +x chrome

To run chrome, you can then double cliick on the file or type ./chrome in the terminal in the same directory.

flawiddsouza avatar Dec 27 '19 11:12 flawiddsouza

Despite this, localStorage doesn't seem to persist on browser exit. That's definitely an issue.

flawiddsouza avatar Dec 27 '19 11:12 flawiddsouza

This file have to be open by double click, not by terminal. if you really want open it in terminal use
env HOME=./data/VHOME data/launcher >/dev/null 2>&1 &

nkpro2000sr avatar Mar 19 '20 20:03 nkpro2000sr

This file have to be open by double click, not by terminal. if you really want open it in terminal use env HOME="$(dirname "$*")"/data/VHOME data/launcher >/dev/null 2>&1 &

Thx a lot <3

Hita6 avatar May 08 '20 02:05 Hita6

This is how I solved it.

In the same directory as the chromeGCPM.desktop file, create a file named chrome or something you like and paste this into it:

sh -c 'env HOME="$(dirname "$*")"/data/VHOME "$(dirname "$*")"/data/launcher' dummy %k

Then run

chmod +x chrome

To run chrome, you can then double cliick on the file or type ./chrome in the terminal in the same directory.

If we need to create our own .desktop file or script to launch it then what was the point of creating a .desktop file in the first place?

DraconicNEO avatar Mar 30 '23 05:03 DraconicNEO