I'm not sure what to try next. The system is up-to-date. So I would
think that anyone else with the same should see the same thing.
Could there be an issue with getting any packages from KDE Extras?
Otherwise all is standard packages.
On Wed, Feb 17, 2021 at 1:33 PM Roger Oberholtzer
On Wed, Feb 17, 2021 at 9:41 AM Bengt Gördén
wrote: On 2021-02-17 09:08, Roger Oberholtzer wrote:
On a recent Leap 15.2 install, I seem not to be able to get KDE to remember file associations. More specifically, which application to run for the file.
If I select a file in Konqueror, and then select an application in the dialog Konqueror provides, and click the box that says to remember this, when I click again on that same file, it once again asks which application to use. It never remembers the association. It does run the application after I select it. But never again unless I select the application again.
When I say that the association should be remembered, I get the status window saying that something is being updated. There is no error. In the X log, I see this when the association is selected and being remembered:
kbuildsycoca4 running...
So if there is an error, it is not presented anywhere I see.
Has anyone else seen this?
No. But have you checked the files that it should change?
I've got some a associations and they turn up in
$HOME/.config/mimeapps.list
and the associated desktop-file in /home/bengan/.local/share/applications/
-- /bengan
On Tumbleweed (where it works), in $HOME/.config, I see this after the association:
[Added Associations] application/x-wine-extension-set=remark.tcl.desktop;
[Default Applications] application/x-wine-extension-set=remark.tcl.desktop;
On 15.2 (where is does not work), I see this:
[Added Associations] application/vnd.rst.rsoft-data-set=remark.tcl-5.desktop; inode/directory=konqbrowser.desktop;
[Default Applications] application/vnd.rst.rsoft-data-set=remark.tcl-5.desktop; inode/directory=konqbrowser.desktop;
The application I want to use is called remark.rcl.
On both systems, the .desktop file looks reasonable: [Desktop Entry] Exec=/opt/rsoft/bin/remark.tcl MimeType=application/vnd.rst.rsoft-data-set; Name=remark.tcl NoDisplay=true Type=Application
The thing is, on the 15.2 system, there are a number of desktop files for this:
find .local/ -name remark*.desktop -ls 917964 4 -rw------- 1 rst users 142 Feb 15 15:26 .local/share/RecentDocuments/remark.tcl[2].desktop 917924 4 -rw------- 1 rst users 136 Feb 15 15:24 .local/share/RecentDocuments/remark.tcl.desktop 1441825 4 -rw------- 1 rst users 140 Feb 15 15:26 .local/share/applications/remark.tcl-5.desktop 1441821 4 -rw------- 1 rst users 140 Feb 15 14:35 .local/share/applications/remark.tcl.desktop 1441824 4 -rw------- 1 rst users 140 Feb 15 15:24 .local/share/applications/remark.tcl-4.desktop 1441822 4 -rw------- 1 rst users 140 Feb 15 14:40 .local/share/applications/remark.tcl-2.desktop 1441823 4 -rw------- 1 rst users 140 Feb 15 14:41 .local/share/applications/remark.tcl-3.desktop
It's like it doesn't find the existing file, but when it writes it, it finds the old ones and uses a unique name.
-- Roger Oberholtzer
-- Roger Oberholtzer