The issue has been solved. I had to run to run this once:
update-mime-database /usr/share/mime
After that, all works as expected. Why all my 15.2 installs start life
requiring that I run this command is anyone's guess...
On Thu, Feb 18, 2021 at 2:23 PM Roger Oberholtzer
On Thu, Feb 18, 2021 at 1:32 PM Bengt Gördén
wrote: On 2021-02-17 13:33, Roger Oberholtzer wrote:
On both systems, the .desktop file looks reasonable: [Desktop Entry] Exec=/opt/rsoft/bin/remark.tcl
Shouldn't it be something like
Exec=/opt/rsoft/bin/remark.tcl %U
My thought is that it should do something with the file it associates with. I also vaguely remember that some years ago it worked without %U but I had to switch to %U.
How do start remark.tcl from command line? I'm thinking that remark.tcl needs a file as argument to operate on.
Ex. remark.tcl myfile.tcl
Exactly. But it seems that when KDE makes the association, it does not do this.
Also I'm no expert in tcl but I remember starting tcl-files with "wish" or "tclsh" depending on window or cli.
That part works fine. It has the proper shebang and all.
This specific app has been working in this way in previous Leap releases, and is working correctly in Tumbleweed.
It makes no matter what file and association I want to do. For example, jpeg files do not have an association on 15.2. Probably for the same basic reason. So if I make an association to, say, gwenview, it is also not kept. The problem is not limited to our own files and apps.
-- Roger Oberholtzer
-- Roger Oberholtzer