<div dir="ltr">2014-07-01 21:47 GMT+02:00 Amichai Rotman <span dir="ltr"><<a href="mailto:amichai@iglu.org.il" target="_blank">amichai@iglu.org.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="rtl"><div dir="ltr">Do these scripts run in a terminal? </div><div dir="ltr"><br></div><div dir="ltr">The .desktop file you posted as an exaple reades "Terminal=false"....</div></div></blockquote><div>
<br></div><div>Yes, they do, I just don't want the terminal to show up. The scripts communicate to the user via Yad (a Zenity fork), so I find it disturbing if the terminal would show up as well. Since I couldn't get this to work, however, I'm forced to run them from a terminal at the moment, and they work flawlessly.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr"><br></div>

<div dir="ltr">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...</div></div></blockquote><div><br></div><div>When I started using Ubuntu in 2007, I could easily find things like my UID, but now it's not even available in the account manager (or whatever it's called in English). All I could find was that ”XDG_RUNTIME_DIR=/run/user/1000”, so I guess UID=1000, which it has always been.</div>
<div><br></div><div>Anyway, just to make sure this isn't a bug, did anyone on this list successfully associate a file type to one or more scripts? Maybe it just can't be done anymore…</div><div><br></div><div>I got an Ubuntu Tweak update a few minutes ago. I guess I should try again and come back here if it suddenly works…</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr"><br></div><div dir="ltr">Amichai. <br>

<br><br></div><div href="http://WISESTAMP_SIG_gmail_session"><img src="http://ws-stats.appspot.com/ga/pixel.png?yes__count=true+&e=legacy_impression"></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div dir="ltr">2014-06-30 22:52 GMT+03:00 Johnny Rosenberg <span dir="ltr"><<a href="mailto:gurus.knugum@gmail.com" target="_blank">gurus.knugum@gmail.com</a>></span>:</div><div><div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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>:<div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>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><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> </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><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>
<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><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></div>
<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>
<br></blockquote></div></div></div><br></div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">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>
<br></blockquote><br></div>