Skip to content

Reduce Spotify cache size under Linux

The Spotify client for Linux, by default, will eat away a GB of your precious disk space. Since I mostly listen to random playlists, and rarely ever hear a song twice, there is no need to store all the songs on my hard disk.

 

Unfortunately the only option you can change in the settings menu (go to Advanced Settings) is the place of the storage folder, but you can't change the size there.

Spotify: cache setting
Spotify: cache setting

The size otion however is hidden in the config file, and can only be changed using a text editor. Before changing this file, end the Spotify client.

vim .config/spotify/prefs

And change the line with "storage.size" into the new cache size you want. The size is measured in MB, therefore 1024 MB (the default setting) is 1 GB. Personally, as described at the beginning, I don't need much cache size, and changed it to 256 MB:

storage.size=256

Save the file, and start Spotify. It will clean up the cache.

  • Twitter
  • Bookmark Reduce Spotify cache size under Linux at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Reduce Spotify cache size under Linux
  • Bloglines Reduce Spotify cache size under Linux
  • Technorati Reduce Spotify cache size under Linux
  • Fark this: Reduce Spotify cache size under Linux
  • Bookmark Reduce Spotify cache size under Linux at YahooMyWeb
  • Bookmark Reduce Spotify cache size under Linux at Furl.net
  • Bookmark Reduce Spotify cache size under Linux at reddit.com
  • Bookmark Reduce Spotify cache size under Linux at blinklist.com
  • Bookmark Reduce Spotify cache size under Linux at Spurl.net
  • Bookmark Reduce Spotify cache size under Linux at Simpy.com
  • Bookmark Reduce Spotify cache size under Linux at blogmarks
  • Bookmark Reduce Spotify cache size under Linux with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options