Deezer Arch Linux package

June 9, 2026 ยท View on GitHub

These files are build instructions for the Arch Linux build system how to create an installable Deezer package for the desktop application. However, the patches are not specific to Archlinux, and can be used for other Linux environments.

For Windows, Deezer distributes a version of the Electron run time (Windows binary) and the source code of their application itself. The build process of this package extracts the application source from the Windows installer.

This package applies several patches for:

  • Compatibility with newer Electron versions
  • Compatibility with a Linux environment in general.
  • Fixing bugs

To install on Arch Linux, use your favourite AUR helper or build manually with:

git clone https://github.com/SibrenVasse/deezer
cd deezer
makepkg -si

Usage

OptionDescription
--start-in-trayStart the app in the tray (see patch)
--disable-systrayQuit the app when the window is closed (see patch)
--keep-kernelUse the exact kernel version (see patch)
This feature impacts privacy.
--disable-featuresDisable some features (see patch)
--hide-offline-bannerHide the "Application is offline" banner that appears when using a VPN or DNS blocker (see patch)
--disable-animationsDisable animations (see patch)
--disable-notificationsDisable notifications (see patch)
--sync-themeSync the app's theme (dark/light) to the OS theme (see patch)
--disable-hardware-accelerationDisable hardware acceleration (useful for systems with GPU issues) (see patch)
--log-levelSet the log level (silly,debug,verbose,info,warn,error) (see patch)
--enable-wayland-imeEnable IME keyboard support on Wayland (use with --ozone-platform-hint=auto --wayland-text-input-version=3)
Environment variableOptionsDescription
DZ_START_IN_TRAYyes,noStart the app in the tray (see patch)
DZ_DISABLE_SYSTRAYyes,noQuit the app when the window is closed (see patch)
DZ_KEEP_KERNELyes,noUse the exact kernel version (see patch)
DZ_LOG_LEVELsilly...errorSet the log level (see patch)
DZ_HIDE_OFFLINE_BANNERyes,noHide the "Application is offline" banner (see patch)
DZ_DISABLE_ANIMATIONSyes,noDisable animations (see patch)
DZ_DISABLE_NOTIFICATIONSyes,noDisable notifications (see patch)
DZ_DEVTOOLSyes,noEnable the developer console (ctrl+shift+i)
DZ_SYNC_THEMEyes,noSync the app's theme to the OS theme (see patch)
DZ_DISABLE_HARDWARE_ACCELERATIONyes,noDisable hardware acceleration (see patch)
DZ_TRAY_ICON/path/to/iconForce a custom icon path for the systray (see patch)

Debugging

Running the application from the commandline will show verbose logging.

deezer-desktop

To run the application with devtools by running

env DZ_DEVTOOLS=yes electron41 /usr/share/deezer/app.asar

To debug node, you can extract the source files to a directory and inspect the node process by attaching using the chromium debugging tools. (https://www.electronjs.org/docs/tutorial/debugging-main-process)

asar extract /usr/share/deezer/app.asar $dest
electron41 --inspect-brk=$port $dest