helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.58k stars 2.49k forks source link

Desktop entry missing #10664

Closed yutanagano closed 6 months ago

yutanagano commented 6 months ago

Summary

Helix used to have a desktop entry on linux so that the application could be discovered and launched through Gnome/KDE desktops. Now I see that on all my linux machines helix no longer shows up in the application list, and also when I look inside the /usr/share/applications directory the helix desktop entry file is missing.

Reproduction Steps

I tried this: 1. On both Gnome and KDE plasma 6 desktop environments, I open up the launcher and type in `helix` I expected this to happen: A desktop entry for helix to appear Instead, this happened: The desktop entry is missing ### Helix log
~/.cache/helix/helix.log ``` 2024-03-03T23:05:12.385 helix_view::editor [ERROR] Failed to initialize the language servers for `source.md` - `marksman` { cannot find binary path } 2024-03-04T18:43:29.969 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path } 2024-03-04T18:46:02.622 helix_view::editor [ERROR] editor error: no such command: '2q' 2024-03-04T18:51:23.221 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(19)), original request likely timed out 2024-03-04T18:51:23.239 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(20)), original request likely timed out 2024-03-04T18:57:37.480 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(58)), original request likely timed out 2024-03-04T19:01:19.569 helix_view::editor [ERROR] editor error: No code actions available 2024-03-05T18:37:09.313 helix_view::editor [ERROR] editor error: align cannot work with multi line selections 2024-03-05T18:48:03.752 helix_view::editor [ERROR] editor error: Register [@] empty 2024-03-07T10:20:12.412 helix_view::editor [ERROR] editor error: lsp did not respond to prepare rename request 2024-03-07T11:05:31.315 helix_view::editor [ERROR] editor error: No configured language server supports range formatting 2024-03-07T13:22:07.212 helix_lsp::transport [ERROR] marksman err <- "[13:22:07 INF] Starting Marksman LSP server: {}\n" 2024-03-09T16:00:50.081 helix_lsp::transport [ERROR] marksman err <- "[16:00:50 INF] Starting Marksman LSP server: {}\n" 2024-03-09T17:25:26.144 helix_lsp::transport [ERROR] marksman err <- "[17:25:26 INF] Starting Marksman LSP server: {}\n" 2024-03-10T16:02:46.846 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path } 2024-03-10T16:02:53.062 helix_view::editor [ERROR] editor error: Register [@] empty 2024-03-10T16:10:31.271 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(4)), original request likely timed out 2024-03-10T16:11:03.238 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(28)), original request likely timed out 2024-03-10T16:37:11.106 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(28)), original request likely timed out 2024-03-12T20:50:40.961 helix_view::editor [ERROR] editor error: 1 unsaved buffer(s) remaining: ["[scratch]"] 2024-03-12T20:50:45.969 helix_view::editor [ERROR] editor error: 1 unsaved buffer(s) remaining: ["[scratch]"] 2024-03-12T20:50:48.869 helix_view::editor [ERROR] editor error: no such command: 'Bc' 2024-03-12T20:50:50.447 helix_view::editor [ERROR] editor error: 1 unsaved buffer(s) remaining: ["[scratch]"] 2024-03-12T22:34:00.115 helix_lsp::transport [ERROR] marksman err <- "[22:34:00 INF] Starting Marksman LSP server: {}\n" 2024-03-17T16:52:20.418 helix_view::editor [ERROR] Failed to initialize the language servers for `source.bash` - `bash-language-server` { cannot find binary path } 2024-03-17T16:53:06.992 helix_view::editor [ERROR] Failed to initialize the language servers for `source.bash` - `bash-language-server` { cannot find binary path } 2024-03-17T16:53:17.475 helix_view::editor [ERROR] Failed to initialize the language servers for `source.bash` - `bash-language-server` { cannot find binary path } 2024-03-19T19:17:50.700 helix_view::theme [WARN] Theme: invalid modifier: "normal" 2024-03-19T19:17:50.700 helix_view::theme [WARN] Theme: invalid modifier: "normal" 2024-03-19T19:17:50.803 helix_view::theme [WARN] Theme: invalid modifier: "normal" 2024-03-19T19:17:50.803 helix_view::theme [WARN] Theme: invalid modifier: "normal" 2024-03-21T15:09:06.986 helix_lsp::transport [ERROR] marksman err <- "[15:09:06 INF] Starting Marksman LSP server: {}\n" 2024-03-21T17:57:34.305 helix_lsp::transport [ERROR] marksman err <- "[17:57:34 INF] Starting Marksman LSP server: {}\n" 2024-03-24T00:10:28.615 helix_lsp::transport [ERROR] marksman err <- "[00:10:28 INF] Starting Marksman LSP server: {}\n" 2024-03-24T00:42:13.299 helix_lsp::transport [ERROR] marksman err <- "[00:42:13 INF] Starting Marksman LSP server: {}\n" 2024-03-24T00:43:46.218 helix_lsp::transport [ERROR] marksman err <- "[00:43:46 INF] Starting Marksman LSP server: {}\n" 2024-03-24T13:18:25.975 helix_view::editor [ERROR] Failed to initialize the language servers for `source.perl` - `perlnavigator` { cannot find binary path } 2024-03-24T13:39:43.779 helix_view::editor [ERROR] Failed to initialize the language servers for `source.perl` - `perlnavigator` { cannot find binary path } 2024-04-02T17:26:30.714 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server Caused by: channel closed) 2024-04-02T17:26:30.714 helix_lsp::transport [ERROR] texlab err: <- StreamClosed 2024-04-02T22:06:52.557 helix_view::editor [ERROR] Failed to initialize the language servers for `source.go` - `gopls` { cannot find binary path } 2024-04-03T18:30:25.228 helix_lsp::transport [ERROR] texlab err: <- StreamClosed 2024-04-03T18:31:13.107 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server Caused by: channel closed) 2024-04-03T18:32:31.393 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server Caused by: channel closed) 2024-04-03T18:32:31.393 helix_lsp::transport [ERROR] texlab err: <- StreamClosed 2024-04-03T20:09:39.393 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path } 2024-04-03T20:33:31.363 helix_lsp::transport [ERROR] gopls <- ServerError(0): 28:24: missing ',' before newline in composite literal 2024-04-03T20:33:31.363 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 28:24: missing ',' before newline in composite literal 2024-04-03T21:29:26.291 helix_view::editor [ERROR] Failed to initialize the language servers for `source.bash` - `bash-language-server` { cannot find binary path } 2024-04-03T21:30:16.610 helix_view::editor [ERROR] Failed to initialize the language servers for `source.bash` - `bash-language-server` { cannot find binary path } 2024-04-06T18:04:04.011 helix_lsp::transport [ERROR] marksman err <- "[18:04:03 INF] Starting Marksman LSP server: {}\n" 2024-04-06T18:41:15.179 helix_lsp::transport [ERROR] marksman err <- "[18:41:15 INF] Starting Marksman LSP server: {}\n" 2024-04-07T13:18:34.584 helix_lsp::transport [ERROR] marksman err <- "[13:18:34 INF] Starting Marksman LSP server: {}\n" 2024-04-07T21:18:46.861 helix_lsp::transport [ERROR] marksman err <- "[21:18:46 INF] Starting Marksman LSP server: {}\n" 2024-04-08T19:45:42.660 helix_lsp::transport [ERROR] marksman err <- "[19:45:42 INF] Starting Marksman LSP server: {}\n" 2024-04-13T21:10:59.810 helix_view::editor [ERROR] editor error: No more matches 2024-04-13T21:11:00.298 helix_view::editor [ERROR] editor error: No more matches 2024-04-13T21:11:00.470 helix_view::editor [ERROR] editor error: No more matches 2024-04-13T21:11:00.610 helix_view::editor [ERROR] editor error: No more matches 2024-04-13T21:52:17.831 helix_lsp::transport [ERROR] marksman err <- "[21:52:17 INF] Starting Marksman LSP server: {}\n" 2024-04-13T21:54:01.311 helix_view::editor [ERROR] editor error: Register [@] empty 2024-04-17T20:08:09.728 helix_lsp::transport [ERROR] gopls <- ServerError(0): 25:2: expected operand, found '}' (and 1 more errors) 2024-04-17T20:08:09.775 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 25:2: expected operand, found '}' (and 1 more errors) 2024-04-17T20:13:25.062 helix_lsp::transport [ERROR] gopls <- ServerError(0): 24:6: expected boolean expression, found assignment (missing parentheses around composite literal?) 2024-04-17T20:13:25.063 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 24:6: expected boolean expression, found assignment (missing parentheses around composite literal?) 2024-04-17T20:13:34.453 helix_lsp::transport [ERROR] gopls <- ServerError(0): 24:6: expected boolean expression, found assignment (missing parentheses around composite literal?) 2024-04-17T20:13:34.453 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 24:6: expected boolean expression, found assignment (missing parentheses around composite literal?) 2024-04-17T20:56:04.419 helix_view::editor [ERROR] editor error: No more matches 2024-04-17T20:56:05.720 helix_view::editor [ERROR] editor error: No more matches 2024-04-17T20:56:07.663 helix_view::editor [ERROR] editor error: No more matches 2024-04-17T21:05:54.473 helix_lsp::transport [ERROR] gopls <- ServerError(0): 25:2: expected 1 expression 2024-04-17T21:05:54.473 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 25:2: expected 1 expression 2024-04-17T21:06:29.094 helix_lsp::transport [ERROR] gopls <- ServerError(0): 25:13: expected ';', found uint8 2024-04-17T21:06:29.094 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 25:13: expected ';', found uint8 2024-04-17T21:06:44.837 helix_lsp::transport [ERROR] gopls <- ServerError(0): 25:13: expected ';', found uint8 2024-04-17T21:06:44.837 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 25:13: expected ';', found uint8 2024-04-17T21:07:43.709 helix_lsp::transport [ERROR] gopls <- ServerError(0): 25:17: expected ';', found uint8 2024-04-17T21:07:43.709 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 25:17: expected ';', found uint8 2024-04-17T21:07:58.909 helix_lsp::transport [ERROR] gopls <- ServerError(0): 26:16: expected ';', found uint8 2024-04-17T21:07:58.909 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 26:16: expected ';', found uint8 2024-04-17T21:23:02.895 helix_lsp::transport [ERROR] gopls err: <- StreamClosed 2024-04-20T20:31:58.335 helix_lsp::transport [ERROR] gopls <- ServerError(0): renaming "pieceMask" to "occupiedMask" not possible because "example.com/karei" has errors 2024-04-20T20:31:58.382 helix_view::editor [ERROR] editor error: protocol error: ServerError(0): renaming "pieceMask" to "occupiedMask" not possible because "example.com/karei" has errors 2024-04-20T20:47:15.773 helix_lsp::transport [ERROR] gopls <- ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:47:15.773 helix_view::editor [ERROR] editor error: protocol error: ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:47:34.751 helix_lsp::transport [ERROR] gopls <- ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:47:34.751 helix_view::editor [ERROR] editor error: protocol error: ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:48:48.804 helix_lsp::transport [ERROR] gopls <- ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:48:48.804 helix_view::editor [ERROR] editor error: protocol error: ServerError(0): renaming "getPiece" to "getPieceType" not possible because "example.com/karei" has errors 2024-04-20T20:53:58.610 helix_view::editor [ERROR] editor error: No more matches 2024-04-20T20:53:58.852 helix_view::editor [ERROR] editor error: No more matches 2024-04-20T20:53:58.987 helix_view::editor [ERROR] editor error: No more matches 2024-04-20T20:53:59.123 helix_view::editor [ERROR] editor error: No more matches 2024-04-20T20:53:59.251 helix_view::editor [ERROR] editor error: No more matches 2024-04-21T11:28:26.604 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(75)), original request likely timed out 2024-04-21T11:28:41.437 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(80)), original request likely timed out 2024-04-21T11:42:02.709 helix_lsp::transport [ERROR] gopls <- ServerError(0): 149:2: expected declaration, found 'return' 2024-04-21T11:42:02.709 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 149:2: expected declaration, found 'return' 2024-04-21T11:50:59.031 helix_lsp::transport [ERROR] gopls err: <- StreamClosed 2024-04-21T11:53:06.861 helix_lsp::transport [ERROR] gopls <- ServerError(0): 72:1: expected declaration, found funct 2024-04-21T11:53:06.862 helix_view::document [WARN] LSP formatting failed: protocol error: ServerError(0): 72:1: expected declaration, found funct 2024-04-21T11:57:45.236 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(17)), original request likely timed out 2024-04-21T12:09:28.289 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(204)), original request likely timed out 2024-04-21T12:12:58.217 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(224)), original request likely timed out 2024-04-25T21:26:26.476 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(3)), original request likely timed out 2024-04-25T21:26:26.629 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(4)), original request likely timed out 2024-04-25T21:26:26.782 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(5)), original request likely timed out 2024-04-25T21:26:26.935 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(6)), original request likely timed out 2024-04-25T21:26:27.088 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(7)), original request likely timed out 2024-04-25T21:26:27.240 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(8)), original request likely timed out 2024-04-25T21:26:27.392 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(9)), original request likely timed out 2024-04-25T21:26:27.548 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(10)), original request likely timed out 2024-04-25T21:26:27.701 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(11)), original request likely timed out 2024-04-25T21:26:27.853 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(12)), original request likely timed out 2024-04-25T21:26:28.005 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(13)), original request likely timed out 2024-04-25T21:26:28.257 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(14)), original request likely timed out 2024-04-25T21:26:28.421 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(15)), original request likely timed out 2024-04-25T21:26:28.573 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(16)), original request likely timed out 2024-04-25T21:26:28.725 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(17)), original request likely timed out 2024-04-25T21:26:28.877 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(18)), original request likely timed out 2024-04-25T21:26:29.030 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(19)), original request likely timed out 2024-04-25T21:26:29.274 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(20)), original request likely timed out 2024-04-25T21:26:29.426 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(21)), original request likely timed out 2024-04-25T21:26:29.591 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(22)), original request likely timed out 2024-04-25T21:26:29.761 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(23)), original request likely timed out 2024-04-25T21:26:36.759 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(29)), original request likely timed out 2024-04-25T21:26:36.911 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(30)), original request likely timed out 2024-04-25T21:26:37.063 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(31)), original request likely timed out 2024-04-25T21:26:40.154 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(35)), original request likely timed out 2024-04-25T21:26:40.306 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(36)), original request likely timed out 2024-04-25T21:26:40.463 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(37)), original request likely timed out 2024-04-25T21:26:52.759 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(42)), original request likely timed out 2024-04-25T21:26:52.911 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(43)), original request likely timed out 2024-04-25T21:26:53.063 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(44)), original request likely timed out 2024-04-25T21:26:54.438 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(47)), original request likely timed out 2024-04-25T22:01:09.081 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server Caused by: channel closed) 2024-04-25T22:01:09.081 helix_lsp::transport [ERROR] texlab err: <- StreamClosed 2024-04-25T22:01:24.668 helix_lsp::transport [ERROR] marksman err <- "[22:01:24 INF] Starting Marksman LSP server: {}\n" ```
### Platform Linux (Fedora) ### Terminal Emulator Konsole/Gnome Terminal ### Installation Method dnf copr repo ### Helix Version 23.10
pascalkuthe commented 6 months ago

We don't provide that kind of setup and don't maintain any packages. You need to report that to whoever is maintaining that copr package.

BTW. Helix is now available from the mainline fedora repos so you may want to switch