kumakichi / Deepl-linux-electron

DeepL(https://www.deepl.com/) Integration for Linux. Select text in any application and simply press Ctrl+C and another shortcut to translate it.
MIT License
100 stars 13 forks source link

Doesnt' work with Kubuntu 24.4 #21

Open lucode opened 1 month ago

lucode commented 1 month ago

In version 23.10 it did work well, but in v24.4 it does not start. I couldn't find any config files or logs for the app so I can't provide more infos. The checked version is Deepl-Linux-Electron-1.4.3 and older.

If I start it in the konsole the following error appears [9743:0628/113125.920065:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_Deepl-WP4iQu/chrome-sandbox is owned by root and has mode 4755.

lucode commented 1 month ago

Got it working, it is a common problem with sandboxing under Ubuntu 24.4. You need to run it with --no-sandbox command. Below is a possible menu entry for Kubuntu: /usr/share/applications/Deepl-Electron.desktop

[Desktop Entry]
Name=Deepl-Desktop
GenericName=Deepl-Translation
Comment=Translation
Exec=/opt/appimage/Deepl-Linux-Electron-1.4.3.Appimage --no-sandbox
Terminal=false
Type=Application
Icon=dropbox
Categories=Office;Utility;
Keywords=translation;
StartupNotify=false