状況
マルチプラットフォームでMarkdownテキストを無料で同期できる Simplenote を使っているのだが、Ubuntu 22.04, Linux Mint 21 にアップデートしたら起動できなくなった。
対策方法は... とIssueを探したら、 --disable-gpu-sandbox
オプションを付けよとあったので、これを付けて実行したら起動できた。
メニューバーなどのアイコンにもオプションを付けたい。
どこに設定あるんだっけ...と思ってたら、先日同じIssueにAuthorの人がやり方をコメントしてくれていた。
https://github.com/Automattic/simplenote-electron/issues/3106#issuecomment-1298781947
/usr/share/applications/simplenote.desktop
を、下記のように編集する。
[Desktop Entry] Name=Simplenote Exec=/opt/Simplenote/simplenote %U --disable-gpu-sandbox Terminal=false Type=Application Icon=simplenote StartupWMClass=Simplenote Comment=Simplenote is an easy way to keep notes, lists, ideas and more. Your notes stay in sync with all your devices for free. GenericName=Note Taking Application StartupNotify=true Categories=Utility; MimeType=x-scheme-handler/simplenote;
差分はここかな。
+Exec=/opt/Simplenote/simplenote %U --disable-gpu-sandbox -Exec=/opt/Simplenote/simplenote %U
やっとまた気楽に使えるようになった。