Google-Chrome-Portable-maker-for-linux
Google-Chrome-Portable-maker-for-linux copied to clipboard
Can not run after install
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.
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.
Despite this, localStorage doesn't seem to persist on browser exit. That's definitely an issue.
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 &
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
This is how I solved it.
In the same directory as the
chromeGCPM.desktop
file, create a file namedchrome
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?