google-chrome --app=chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html
When opening LINE in a Linux environment
It was troublesome twice like this.
About each command
google-chrome
: When applying to icons such as KDE's Quick Launch, check the actual path with which chrome
.
In my environment it was / usr / bin / google-chrome-beta
.
--app =
: This option removes the URL bar and so on. It will open in a new window.
chrome-extension: //ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html
: The substance of LINE Extension is a 32-character ID, which can be confirmed on the extension details screen.
Also, index.html is not the same for all apps, and it varies from home.html to app.html depending on the type of extension.
Other
--new-window
: With this option it will open in a new window.
Example) Open in a new tab (with URL bar, treated the same as a normal link):google-chrome chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html
Example) Open in a new window (with URL bar, treated the same as a normal link):
google-chrome --new-window chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html
Example) Open like an app (URL bar or something):
google-chrome --app-id=chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html