I use Spotify for my every day listening, and I decided to use it on a big screen : My 42″ LCD TV. Simply launch Spotify in a one-line .xinitrc script. It fit perfectly in full screen mode without any tweak. But of course nothing is perfect, we have to live with a very small font on a such big screen. Spotify use a skin for the client app, so changing QT4 fonts doesn’t change anything, we have to fix the skin directly.
So, first step : search the file resources.zip (in /opt/spotify/spotify-client/Data/ on Debian). Extract the file skin.xml. In this file, search for line like this.
<font ci="FriendsListFont" color="#dddddd" shadow="#333333" size="11" />
So change all font sizes, save the file, re-pack the ressources file .. and Voila. You can fix this manually (or with a special XML editor), but the file contain 245 font definitions. I decided to fix with a Python script.
import xml.etree.ElementTree as xml tree = xml.parse("./skin.xml") root = tree.getroot() for f in root.findall('font'): taille = f.get('size') if taille: taille = int(taille) + 4 f.set('size',str(taille)) file = open("new_skin.xml", 'w') xml.ElementTree(root).write(file)
This should be a easier for the big screen :)
Thanks, nice script. :)
This is amazing. Thank you. :)
Fixed some of the essential screens for me. Thanks.