A client for deepl in Linux, using Electron.
Tested under ubuntu 20.04 only.
Clone this repo and build it, or just simply download the prebuilt binary from Release Page
Open deepl-linux-electron, select text in any application, press Ctrl+c to copy selected content into clipboard, then use shortcut Control+Alt+D to translate
You can change this shortcut on the program menu: Settings -> Shortcut
Support user-defined css, just put your css code into
~/.config/Deepl-Linux-Electron/user_theme.css
a simple dark mode implementation, thanks to NotJ3st3r:
html {
filter: invert(90%) hue-rotate(180deg) brightness(110%) contrast(110%);
background: white;
}
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
yarn
# for dev
yarn dev
# for ubuntu 24.04 dev
yarn dev --no-sandbox
# for build
yarn dist:dir # generated file : dist/linux-unpacked/deepl-linux-electron
# run docker in repo dir
docker run -it --rm --name deepl-linux -v $(pwd):/app -w /app --entrypoint /bin/bash node:18
# build
yarn install
yarn dist
Deepl may not start with the error
FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn’t usable. Goodbye.
If you encounter this, try running
deepl --in-process-gpu
Error message likes:
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 dev/shm/tmpdir.mount_Deepl-iCQgY6/chrome-sandbox is owned by root and has mode 4755.
just run with parameter:
./Deepl-Linux-Electron-1.5.0.AppImage --no-sandbox
see: Doesnt’ work with Kubuntu 24.4
Obsidian AppImage - The SUID sandbox helper binary was found, but is not configured correctly