You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+88-23Lines changed: 88 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,58 @@ It packages the app in a number of formats:
20
20
21
21
## Installation
22
22
23
-
You can find all of the packages on [the release page](https://github.com/aunetx/deezer-linux/releases/latest).
23
+
> [!TIP]
24
+
> The easiest way to install is from **Flathub** or the **Snap Store**. One click, automatic updates, and it works on any distro. Just pick a button below.
24
25
25
-
To install the flatpak version, you can simply go to https://flathub.org/apps/dev.aunetx.deezer (or use your favorite flatpak package manager).
26
+
<divalign="center">
26
27
27
-
Other packages can be installed from your package manager, either by clicking on them or from the command-line.
|**Flatpak**\*| Sandboxed, auto-updated, works everywhere |[**Install from Flathub**](https://flathub.org/apps/dev.aunetx.deezer) or `flatpak install flathub dev.aunetx.deezer`|
43
+
|**Snap**\*| Ubuntu and Snap-based distros |[**Install from the Snap Store**](https://snapcraft.io/deezer-desktop) or `sudo snap install deezer-desktop`|
44
+
|**AppImage**| A single portable file, no installation needed |[Download from the releases page](https://github.com/aunetx/deezer-linux/releases/latest)|
45
+
|**`.deb`**| Debian, Ubuntu, Pop!\_OS, elementary OS… |[Download from the releases page](https://github.com/aunetx/deezer-linux/releases/latest)|
46
+
|**`.rpm`**| Fedora, Red Hat, CentOS, openSUSE… |[Download from the releases page](https://github.com/aunetx/deezer-linux/releases/latest)|
47
+
|**`.tar.xz`**| Any other distro. Set up and run |[Download from the releases page](https://github.com/aunetx/deezer-linux/releases/latest)|
48
+
49
+
All packages for every release are listed on the [**releases page**](https://github.com/aunetx/deezer-linux/releases/latest).
50
+
51
+
**\*** Flatpak and Snap packages are sandboxed, which means they have limited access to your system. This is a security feature, but it can cause some issues with certain features. You may have to grant additional permissions to the app using **[Flatseal](https://flathub.org/apps/com.github.tchx84.Flatseal)** (for Flatpak) or `snap connect` (for Snap).
52
+
53
+
### Using the AppImage
54
+
55
+
An AppImage is a single, portable file: mark it executable and run it. Because it is not integrated into your desktop environment on its own, we recommend managing it with a helper so you get a proper app icon and menu entry:
56
+
57
+
-[**Gear Lever**](https://github.com/mijorus/gear-lever): a modern GUI to install, update and manage AppImages ([also on Flathub](https://flathub.org/apps/it.mijorus.gearlever))
58
+
-[**AppImageLauncher**](https://github.com/TheAssassin/AppImageLauncher): integrates AppImages into your system on first launch
59
+
60
+
> [!NOTE]
61
+
> Prefer to register the AppImage manually instead of using a helper? See the [detailed steps below](#appimage). If login does not redirect back to the app, see the [FAQ](#the-browser-doesnt-launch-the-app-after-login-how-do-i-log-in-manually).
62
+
63
+
### Launching the app
64
+
65
+
After installing, launch **Deezer** from your applications menu, or from a terminal:
|`.tar.xz` / AppImage |`./deezer-desktop` (from the extracted folder or the AppImage file) |
73
+
74
+
You can tweak how the app behaves with the [launch options](#usage) below (start in tray, sync theme, disable animations, and more).
28
75
29
76
## Usage
30
77
@@ -36,7 +83,7 @@ Other packages can be installed from your package manager, either by clicking on
36
83
|`--hide-offline-banner`| Hide the "Application is offline" banner that appears when using a VPN or DNS blocker (see [patch](./patches/08-hide-offline-banner.patch)) |
37
84
|`--disable-animations`| Disable animations (see [patch](./patches/09-disable-animations.patch)) |
38
85
|`--disable-notifications`| Disable notifications (see [patch](./patches/10-disable-notifications.patch)) |
39
-
|`--sync-theme`| Sync the app's theme (dark/light) to the OS theme (see [patch](./patches/15-sync-theme.systempatch)) |
86
+
|`--sync-theme`_\*_| Sync the app's theme (dark/light) to the OS theme (see [patch](./patches/15-sync-theme.systempatch)) |
40
87
|`--disable-hardware-acceleration`| Disable hardware acceleration (useful for systems with GPU issues) (see [patch](./patches/13-disable-hardware-acceleration.patch)) |
41
88
|`--log-level`| Set the log level (`silly`,`debug`,`verbose`,`info`,`warn`,`error`) (see [patch](./patches/06-control-log-level.patch)) |
42
89
|`--enable-wayland-ime``--ozone-platform-hint=auto``--wayland-text-input-version=3`| Enable IME keyboard support on Wayland |
@@ -50,11 +97,13 @@ Other packages can be installed from your package manager, either by clicking on
50
97
|`DZ_HIDE_OFFLINE_BANNER`|`yes`,`no`| Hide the "Application is offline" banner (see [patch](./patches/08-hide-offline-banner.patch)) |
51
98
|`DZ_DISABLE_ANIMATIONS`|`yes`,`no`| Disable animations (see [patch](./patches/09-disable-animations.patch)) |
52
99
|`DZ_DISABLE_NOTIFICATIONS`|`yes`,`no`| Disable notifications (see [patch](./patches/10-disable-notifications.patch)) |
53
-
|`DZ_SYNC_THEME`|`yes`,`no`| Sync the app's theme to the OS theme (see [patch](./patches/15-sync-theme.patch)) |
100
+
|`DZ_SYNC_THEME`_\*_|`yes`,`no`| Sync the app's theme to the OS theme (see [patch](./patches/15-sync-theme.patch)) |
54
101
|`DZ_DISABLE_HARDWARE_ACCELERATION`|`yes`,`no`| Disable hardware acceleration (see [patch](./patches/13-disable-hardware-acceleration.patch)) |
55
102
|`DZ_RESOURCES_PATH`|_path_| Override the default resources path (see [patch](./patches/14-override-resources-path.patch)) |
56
103
|`DZ_DEVTOOLS`|`yes`,`no`| Enable the developer console (ctrl+shift+i) |
57
104
105
+
_\*_ This feature does not work on Flatpak because of strict sandboxing.
106
+
58
107
## Building from source
59
108
60
109
### Available targets
@@ -65,8 +114,8 @@ Other packages can be installed from your package manager, either by clicking on
65
114
| deb | ⚠️ | ✅ |
66
115
| rpm | ⚠️ | ✅ |
67
116
| tar.xz | ⚠️ | ✅ |
68
-
| snap |⚠️| ✅ |
69
-
| flatpak |⚠️| ✅ |
117
+
| snap |✅| ✅ |
118
+
| flatpak |✅| ✅ |
70
119
71
120
✅ Available ; ⚠️ Not tested ; ❌ Not available ; ⛔ Not planned
72
121
@@ -75,7 +124,7 @@ Other packages can be installed from your package manager, either by clicking on
75
124
76
125
### Requirements
77
126
78
-
- Node.js (22+ recommended)
127
+
- Node.js (24+ recommended)
79
128
- npm (or yarn, see [FAQ](#i-want-to-use-yarn-instead-of-npm-is-it-possible))
80
129
- 7z (try installing `p7zip` and `p7zip-full`)
81
130
- make
@@ -103,17 +152,7 @@ make build_appimage_x64
103
152
Artifacts will be generated in `artifacts/x64`.
104
153
105
154
> [!WARNING]
106
-
> You _may_ encounter a problem with the AppImage, where you are not able to login. This is a known issue, and is due to the way AppImage works. In this case, you can copy the link shown in `https://www.deezer.com/desktop/login/electron/callback`.
107
-
>
108
-
> In the same directory as the AppImage file, use:
109
-
>
110
-
> ```sh
111
-
> deezer-desktop-*.AppImage deezer://autolog/...
112
-
>```
113
-
>
114
-
> You should now be logged in.
115
-
>
116
-
> For more information, see [issue #29](https://github.com/aunetx/deezer-linux/issues/29)
155
+
> You _may_ encounter a problem with the AppImage, where you are not able to login. This is a known issue, and is due to the way AppImage works. See [The browser doesn't launch the app after login, how do I log in manually?](#the-browser-doesnt-launch-the-app-after-login-how-do-i-log-in-manually) in the FAQ for how to complete the login manually.
117
156
118
157
> [!NOTE]
119
158
> Unlike the packaged builds, an AppImage is a standalone file that is not integrated into your desktop environment. For the app to show an icon and to handle deep links (such as `deezer://` login callbacks), you either need to use a launcher (like [Gear Lever](https://github.com/mijorus/gear-lever) or [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher)), or need to create and register a desktop entry manually:
@@ -130,9 +169,6 @@ Artifacts will be generated in `artifacts/x64`.
130
169
>
131
170
> or simply by reloading your user session (log out and back in). The app should now display its icon and correctly open `deezer://` deep links.
132
171
133
-
> [!Caution]
134
-
> If you want to open an issue about this, please do not share your own `deezer://autolog/...` link, as it would allow anyone to log into your account without your consent.
135
-
136
172
### rpm / deb / tar.xz
137
173
138
174
To generate the `rpm`/`deb`/`tar.xz` packages, you can use:
@@ -202,7 +238,7 @@ To run it, you can use:
202
238
flatpak run dev.aunetx.deezer
203
239
```
204
240
205
-
## Development
241
+
## Contributing
206
242
207
243
If you want to contribute to this project, please read the [contribution guidelines](CONTRIBUTING.md) file.
208
244
@@ -243,6 +279,35 @@ DZ_DEVTOOLS=yes ./deezer-desktop # or any other way to launch the app
243
279
244
280
Once the old data is cleared, kill the app completely (make sure it is not running in the background) and relaunch it. You should now be able to log in successfully.
245
281
282
+
### The browser doesn't launch the app after login, how do I log in manually?
283
+
284
+
When you log in, the browser is supposed to open a `deezer://autolog/<id>` callback URL that hands the session over to the app. If your browser fails to launch the app automatically (for example, the `deezer://` handler is not registered, which is common with AppImages), you can trigger the callback manually.
285
+
286
+
1. Complete the login flow in your browser. Copy the callback URL by right-clicking on the "Open Deezer" button and copying the link address. It should look like this:
287
+
288
+
```
289
+
deezer://autolog/<id>
290
+
```
291
+
292
+
2. Open that URL manually in your terminal. You can use `xdg-open`, `gio open` or pass it directly to the app executable. For example:
293
+
294
+
```
295
+
xdg-open deezer://www.deezer.com/autolog/<id>
296
+
```
297
+
298
+
If the plain `deezer://autolog/<id>` form does not work, use the full web URL variant instead: `deezer://www.deezer.com/autolog/<id>`.
299
+
300
+
This is especially common with the AppImage, since it is not integrated into your desktop environment and the `deezer://` handler is often not registered. In that case, you can pass the URL directly to the AppImage from its directory:
For more information, see [issue #29](https://github.com/aunetx/deezer-linux/issues/29).
307
+
308
+
> [!Caution]
309
+
> Never share your `deezer://autolog/...` link with anyone, as it would allow them to log into your account without your consent. If you open an issue about this, make sure to remove your link first.
310
+
246
311
### How can I use my IME/virtual keyboard on Deezer under Wayland?
247
312
248
313
_IME: Input Method Editor. Usually used for languages like Chinese, Japanese, Korean, etc._
0 commit comments