Announcements

Help Wizard

Step 1

NEXT STEP

Local Files Do Not Work On Linux

Local Files Do Not Work On Linux

 

Plan

Free

Country

US

Device

PC

Operating System

Pop!_os

 

My Question or Issue

My local Files will not pop up no matter what i'll do. it doesnt go onto my library. it's extremely annoying and i want to fix it.

Reply
1 Reply

Hey @AfterBurner2002,

 

Thanks for reaching out.

 

Keep in mind that Spotify is not fully supported on Linux. However, we did some digging on this matter and here's what we found that could theoretically help out:

 

  • The issue might be present due to Sandboxing: If Spotify is installed via Snap or Flatpak, it's sandboxed and can't read files outside its container. Here's a possible unconfirmed fix (Note: We can't fully guarantee these are the exact technical steps to take on Linux. Make sure to verify if they are up to date first.):

Spoiler

Snap: snap connect spotify:removable-media

Flatpak: flatpak override --user --filesystem=/path/to/music com.spotify.Client

Or switch to the .deb install via Spotify's apt repo (no sandbox)

Other potential culprits include:

  • The file path not being added: Go to Settings > Local Files > toggle "Show songs from" and add the exact directory. Linux won't auto-detect.
  • Permissions: Make sure Spotify is provided read access to the files. Check with ls -la /path/to/files.
  • Symlinks: Spotify on Linux often can't follow symlinks. Use the real absolute path.
  • Unsupported formats: Use .mp3/ .m4a/ .m4p/ .flac/ .ogg. Note that .wav and oddly-encoded files may not appear. This also includes converted files.

As a step further, you can also do the following:

Spoiler

# Uninstall snap version
sudo snap remove spotify

# Install .deb
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update && sudo apt install spotify-client


When this is done, add the local files path in settings - they should work immediately.

Hope this helps! Keep us posted.

VasilModerator
Help others find this answer and click "Accept as Solution".
If you appreciate an answer, maybe give it a Like.
Are you new to the Community? Take a moment to introduce yourself!

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random