File associations 14.04

Amichai Rotman amichai at iglu.org.il
Tue Jul 1 19:47:56 UTC 2014


Do these scripts run in a terminal?

The .desktop file you posted as an exaple reades "Terminal=false"....

Also, make sure the UID is the same for the actual scripts (in their actual
locations - no the ~/bin symlink). Your UID might have changed between
upgrades...

Amichai.




2014-06-30 22:52 GMT+03:00 Johnny Rosenberg <gurus.knugum at gmail.com>:

> 2014-06-30 9:09 GMT+02:00 Toni Sissala <toni.sissala at gmail.com>:
>
> On 29.6.2014 14:22, Johnny Rosenberg wrote:
>>
>>>
>>> And where do Ubuntu Tweak store the file associations? Maybe I should
>>> just edit the files myself…?
>>>
>>
>> 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.
>>
>> 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.
>>
>> I recommend editing user-specific associations. If the file doesn't
>> exist, you may copy the one from /usr to your home-directory.
>>
>> ~/.local/share/applications/mimeapps.list:
>
> [Added Associations]
> application/x-trash=gedit.desktop;
>
> audio/flac=audacious.desktop;edit-flac-tags-manually.desktop;add-musician-info.desktop;view-flac-tags.desktop;aft.desktop;
>
> [Default Applications]
> audio/flac=audacious.desktop
>
> But it doesn't work. Bug?
>
>
>> You should also check that your scripts are executable.
>>
>
>
> 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.
>
>
>
>
>
>
>
>> On file associations:
>> http://www.libre-software.net/change-the-default-application-ubuntu-linux
>> On file permissions: https://help.ubuntu.com/community/FilePermissions
>>
>>
>>
>> Best regards,
>> Toni Sissala
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140701/2864b37a/attachment.html>


More information about the ubuntu-users mailing list