SUMMARY Since new applications, kate closes the file being edited as sudoedit before being able to edit it STEPS TO REPRODUCE 1. Launch sudoedit with EDITOR=kate sudoedit /etc/somesystemfile OBSERVED RESULT Empty temp file is shown on editor instead of the file being edited and sudoedit tells file has no changes EXPECTED RESULT File being edited show on kate SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.2.12-1-cachyos-bore (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7A37 System Version: 1.0
Hi, you need to start it with -b, that should solve your issue.