[konsole] [Bug 471004] New: ctrl-clicking a .txt file does not open the editor I expect.

Andy bugzilla_noreply at kde.org
Wed Jun 14 04:22:31 BST 2023


https://bugs.kde.org/show_bug.cgi?id=471004

            Bug ID: 471004
           Summary: ctrl-clicking a .txt file does not open the editor I
                    expect.
    Classification: Applications
           Product: konsole
           Version: 21.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kde.20.andromodon at spamgourmet.com
  Target Milestone: ---

I have vscode set up as my mimetype for text files:
```
[andromodon at potens cs]$ xdg-mime query default text/plain
code.desktop
```
I can test that with this command and the file opens correctly in vscode:

```
[andromodon at potens cs]$ ls -l *.txt
-rw------- 1 andromodon andromodon 12527 Jun 14 10:09 todo.txt
[andromodon at potens cs]$ kde-open todo.txt
```

Just as another sanity check, if I click on the file in dophin it also opens in
vscode.

Yet, when I ctrl-click on that same `todo.txt` entry in konsole, it opens in
kate.  Why is that?  Why wouldn't konsole respect the same application settings
as other KDE applications?  

What I would love help with:
1. Help me find some temporary fix so I can get konsole to open these files 
using `code`
2. Figure out if konsole is doing the "right thing" right now and if it's not,
let's fix it.

Thanks for your help.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list