https://github.com/zicstardust/spotify-debfixes
Includes enhancements and fixes to spotify official .DEB
https://github.com/zicstardust/spotify-debfixes
deb debian ffmpeg linux spotify ubuntu
Last synced: 2 months ago
JSON representation
Includes enhancements and fixes to spotify official .DEB
- Host: GitHub
- URL: https://github.com/zicstardust/spotify-debfixes
- Owner: zicstardust
- Created: 2026-01-10T21:24:35.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-03-20T22:16:35.000Z (3 months ago)
- Last Synced: 2026-03-21T04:41:43.741Z (3 months ago)
- Topics: deb, debian, ffmpeg, linux, spotify, ubuntu
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Linux Client .DEB fixes
This script includes enhancements and fixes to Spotify official .DEB:
- Built-in FFMPEG libraries for playing local files
- Persistent flags configuration file
- Persistent environment variables configuration file
## Tested on:
- Debian (official .deb package)
- Ubuntu (official .deb package)
## Dependencies
- spotify-client (official .deb)
- curl
- bash
- tar
- grep
## Install
```sh
curl https://raw.githubusercontent.com/zicstardust/spotify-debfixes/main/install.sh > /tmp/spotify-debfixes.sh; sudo bash /tmp/spotify-debfixes.sh
```
After installation, Spotify is already fixed.
Whenever the spotify package updates, it will be necessary to run the command:
```sh
spotify-debfixes
```
## Uninstall
It will remove all the fixes.
```sh
spotify-debfixes --uninstall
```
## Usage
### Making flags persistent
Flag file `~/.config/spotify/spotify-flags.conf`
Below is an example spotify-flags.conf file that defines the flags --force-device-scale-factor:
```conf
~/.config/spotify/spotify-flags.conf
# This line will be ignored.
--force-device-scale-factor=1.5
```
### Making environment variables persistent
Flag file `~/.config/spotify/spotify.env`
Below is an example spotify.env file that defines the environment variables WAYLAND_DISPLAY
```conf
~/.config/spotify/spotify.env
# This line will be ignored.
WAYLAND_DISPLAY=
```