Bug 456395 - .desktop files do not start in folder view
Summary: .desktop files do not start in folder view
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: 5.24.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 10:53 UTC by wolf
Modified: 2022-07-07 15:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolf 2022-07-06 10:53:48 UTC
When crating a folder view on desktop which contains .desktop files, they will be not executed when double click on them.
Comment 1 David Edmundson 2022-07-06 13:08:25 UTC
Is there a big orange exclamation mark on the icon?
Is the .desktop file executable?
Comment 2 wolf 2022-07-06 13:20:14 UTC
Dear David
No, there is no big orange exclamation mark on the icon.
.desktop file is executable

But I found this after running "kioclient5 exex myFile.desktop" on command line:

grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
WSL Interopability is disabled. Please enable it before using WSL.
grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory
[error] WSL Interoperability is disabled. Please enable it before using WSL.
/usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: No such file or directory
/usr/bin/wslview: line 308: [: -ge: unary operator expected
[error] This protocol is not supported before version 1903.
Comment 3 David Edmundson 2022-07-06 13:22:08 UTC
So we are starting the program and you have some other client related issue.
Comment 4 wolf 2022-07-06 13:23:56 UTC
What does that mean?
This is as installed.
Only kioclient5 i have installed because on KUBUNTU 20 I had a similar issue which could be solved by installing kioclient5.
Comment 5 David Edmundson 2022-07-06 13:32:22 UTC
Let me rephrase.

If you create a desktop file on the desktop that opens dolphin does everything work correctly?
Comment 6 wolf 2022-07-06 13:34:43 UTC
I tried to use dolphin. But the click from the desktop doesn't work either.
Dolphin from command line works but not by double click on desktop icon.
! File Associations have been adapted to dolphin !
Comment 7 wolf 2022-07-06 13:36:40 UTC
if I open the .desktop file from the dolphin application itself (double click onto the file within the dolphin window) - that works.
Comment 8 David Edmundson 2022-07-06 13:47:27 UTC
please attach your .desktop file
Comment 9 wolf 2022-07-06 13:49:52 UTC
one example:

[Desktop Entry]
Encoding=UTF-8
Icon=/home/wolf/icons/money_compass.png
Type=Link
URL[$e]=file://$HOME/wdata/privat/anlagen/Dividenden/Div.ods
Comment 10 Nicolas Fella 2022-07-06 14:39:29 UTC
When I create a file like that (and replace the URL with a file that exists) it opens fine

It looks like the app for opening that file starts and crashes/quits immediately
Comment 11 wolf 2022-07-06 16:55:12 UTC
But this is not only the case when .desktop files should be executed, this is also the case when I just drop a file onto the desktop and choose "icon". After that, and I double click the icon, nothing happen either!
Comment 12 wolf 2022-07-06 17:01:26 UTC
[Desktop Entry]
Exec=/usr/bin/soffice /home/wolf/wdata/temp/firefighting.odg
Icon=/home/wolf/icons/fire.png
Name=fire
Path=/usr/bin
StartupNotify=true
Terminal=false
Type=Application

That works fine, because the application is specified.
Without specification of the app it doesn't work
Comment 13 wolf 2022-07-07 15:24:46 UTC
Dear David,
Better we close that issue.
Due to a lot of other "unexplainable" issues on my system I have erased it from the hard disc and installed it brand new. Now everything is working fine.
Mot likely during some kind of trials of my side, the system was contaminated with some rubbish which I cannot trace anymore.
So let's close it.
Thank you for your try to help me.

Best regards

Wolf