让 Manjaro 上的 Line (Chrome 扩展程序) 独立运行

  Line 官方建議若要在 Linux 上使用 Line,You can achieve this by installing the Line extension via Google Chrome,So I have always used it this way。Just now while using it,I felt that having to open Chrome first was a bit redundant,So I searched online to see if there are other solutions that can run on Manjaro,Then I found this article '在 Linux 上讓 Chrome 的 Line 擴充元件當作獨立運作程式執行的文章,剛好是我想要的(十分感謝),因此試著在 Manjaro 比照辦理以下為步驟

 

在安裝 LINE Extension 後打開Google Chrome點選「…」-「更多工具」-「擴充功能」

 

打开右上角的「开发者模式」把 Line 的 ID 复制下来,目前来看应该都是 “ophjlpahpchlmihnnnihgmmeilfjmjjc”

 

去网上找一个 Line 的图标,放在固定目录,For example “/usr/share/icons/Line/” 或 “/home/你的ID/.local/share/icons/Line/”

 

打开‘菜单编辑器(MenuLibre)’,在「互联网」项目中点击「+」来新增

 

依次设置下列栏位
◎ 图标:选择刚刚下载的图标。
◎ 标题:自行输入。
◎ 说明:自行输入
◎ 指令:输入下列指令。

google-chrome-stable --app='chrome-extension://ophjlpahpchlmihnnnihgmmeilfjmjjc/index.html'

最后点击左上方的「保存启动器」

 

之后就可以在菜单中搜索到 Line,並可以直接執行

 

Additionally,If you want to edit the launcher content just now,but cannot change it in the 'Menu Editor',
you can find the file path at the bottom of the previous screen,then go in and modify it using a text editor

 

【参考链接】

1 条留言

留下回复

您的电子邮件地址不会被公开. 必填项已标注 *

本网站使用 Akismet 来减少垃圾评论. 了解您的评论数据如何被处理.