File associations 14.04
Johnny Rosenberg
gurus.knugum at gmail.com
Sun Jun 29 11:22:11 UTC 2014
I want to associate all my FLAC files with four scripts that I made a
couple of years ago. In 10.10 this was very easy: Right click the file,
Properties, then go on associating…
In 12.04 this didn't work any more, so I needed to install Ubuntu Tweak and
go from there.
Now, in 14.04, I installed the latest Ubuntu Tweak, that is said to support
14.04, according to this:
http://blog.ubuntu-tweak.com/2014/04/21/ubuntu-tweak-0-8-7-released-14-04-ready.html
I installed it like this:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
Seems to work fine. The main window appears and there are a lot of things
to change.
However, when I right click a FLAC file, then ”open with”, none of my
scripts are in the list!
At the same time I also installed Audacious, which I associated as default
application for FLAC files. That one was actually added to the list, but
not my own scripts.
I think I done everything right, but maybe I missed something. Here's what
I checked:
☒ Make sure the script’s location is included in PATH
They are located in ~/bin
~$ echo $PATH
/home/guraknugen/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
~$
So that one seems OK.
☒ Make sure every script has a desktop file located in
~/.local/share/applications.
Here's one of them:
$ cat view-flac-tags.desktop
[Desktop Entry]
Name=FlacTaggar – Visa
Exec=/home/guraknugen/bin/view-flac-tags
Icon=/home/guraknugen/Eget/.Ikoner/FlacTags-View.svg
Terminal=false
Version=1.0
X-Ubuntu-Tweak=true
Type=Application
$
Seems OK too, right?
So what's going on? And where do Ubuntu Tweak store the file associations?
Maybe I should just edit the files myself…?
Johnny Rosenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140629/c0f4c586/attachment.html>
More information about the ubuntu-users
mailing list