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

--- Comment #5 from [email protected] ---
Hi Toni, 

First, thank you for your informative responses.

I tried:
- Write your `sudo -u username-f16 /usr/bin/kate` command in "Settings >
Configure Krusader > General > Viewer/Editor > Editor field".
- Exit Krusader.
- Execute `sudo -i krusader`.
- Double-click on a text file.

and it loaded Xed instead of Kate.

I then tried:
If the problem persists, could you perform the same steps although writing
`sudo -u username-f16 -H /usr/bin/kate` (instead of `sudo -u username-f16
/usr/bin/kate`) in "Settings > Configure Krusader > General > Viewer/Editor >
Editor field"?

and it loaded Xed instead of Kate.

But it worked when I:
If you use F4 to edit the text file (instead of double-clicking the file), do
you find any problem?

So, hitting F4 loads Kate instead of Xed, but double-clicking on a file loads
Xed.

I also tried:
root@framework-16:~# xdg-mime query default text/plain
org.x.editor.desktop
root@framework-16:~# 

I checked the file /usr/share/applications/org.x.editor.desktop.
At the bottom it says:

Exec=xed %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;application/x-zerosize;
Icon=accessories-text-editor
Categories=GTK;Utility;TextEditor;
Keywords=xed;text;editor;tabs;highlighting;code;multiple;files;pluggable;notepad;
X-MATE-DocPath=xed/xed.xml
Actions=new-window;

[Desktop Action new-window]
Name=New Window
Exec=xed --new-window %U

If I were to replace xed with kate, would that enable double-clicking on a file
in Krusader to use kate all the time?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to