<div dir="ltr">2014-06-30 9:09 GMT+02:00 Toni Sissala <span dir="ltr"><<a href="mailto:toni.sissala@gmail.com" target="_blank">toni.sissala@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 29.6.2014 14:22, Johnny Rosenberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And where do Ubuntu Tweak store the file associations? Maybe I should just edit the files myself…?<br>
</blockquote>
<br></div>
I should first point out that I'm not using Ubuntu Tweak. But here are my two cents on file associations. These tweaks seem to work perfectly in Xubuntu.<br>
<br>
Some file associations are stored system-wide in /usr/share/applications/defaults.list. User-specific file associations are stored in ~/.local/share/applications/mimeapps.list.<br>
<br>
I recommend editing user-specific associations. If the file doesn't exist, you may copy the one from /usr to your home-directory.<br>
<br></blockquote><div>~/.local/share/applications/mimeapps.list:</div><div> </div><div>[Added Associations]<br>application/x-trash=gedit.desktop;<br>audio/flac=audacious.desktop;edit-flac-tags-manually.desktop;add-musician-info.desktop;view-flac-tags.desktop;aft.desktop;<br>
<br>[Default Applications]<br>audio/flac=audacious.desktop</div><div><br></div><div>But it doesn't work. Bug?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You should also check that your scripts are executable.<br></blockquote><div><br></div><div><br></div><div>They have been executable for years and still are. In ~/bin there are links to them, since they are located elsewhere. That worked in 12.04 and I can't see a reason why that wouldn't work now.</div>
<div><br></div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On file associations: <a href="http://www.libre-software.net/change-the-default-application-ubuntu-linux" target="_blank">http://www.libre-software.net/change-the-default-application-ubuntu-linux</a><br>
On file permissions: <a href="https://help.ubuntu.com/community/FilePermissions" target="_blank">https://help.ubuntu.com/community/FilePermissions</a><br>
<br>
<br>
<br>
Best regards,<br>
Toni Sissala<span class=""><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote><br></div>