From c1c743f2ff92fb6a9362806baddc4bb47534ffc8 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 22 Nov 2024 09:17:56 +0800 Subject: [PATCH] readme: add tips for Linux users Signed-off-by: leo --- README.md | 1 + src/Native/Linux.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2a613f3..cd5d869d 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ For **Linux** users: * `xdg-open` must be installed to support open native file manager. * Make sure [git-credential-manager](https://github.com/git-ecosystem/git-credential-manager/releases) is installed on your linux. * Maybe you need to set environment variable `AVALONIA_SCREEN_SCALE_FACTORS`. See https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI. +* If you can NOT type accented characters, such as `ê`, `ó`, try to set the environment variable `AVALONIA_IM_MODULE` to `none`. ## OpenAI diff --git a/src/Native/Linux.cs b/src/Native/Linux.cs index 76711bf2..a24f1b65 100644 --- a/src/Native/Linux.cs +++ b/src/Native/Linux.cs @@ -13,7 +13,7 @@ namespace SourceGit.Native { public void SetupApp(AppBuilder builder) { - builder.With(new X11PlatformOptions()); + builder.With(new X11PlatformOptions() { EnableIme = true }); } public string FindGitExecutable()