You are not logged in.

#1 2025-11-22 14:20:18

redbeanw
Member
Registered: 2024-07-31
Posts: 7

[SOLVED] Something resets the theme every time Fcitx5 starts.

Hello everyone, I've encountered a strange problem: whenever Fcitx5 starts, the theme is reset to `plasma`.

KDE version is 6.5.3.

$ plasmashell --version
plasmashell 6.5.3

I use `Fcitx 5 Wayland Launcher (Experimental)` to launch IM.

I created `classicui.conf` using kcm, and it looks like this: (The theme I want to use is `Simple-dark`)

$ cat ~/.config/fcitx5/conf/classicui.conf
# Vertical Candidate List
Vertical Candidate List=False
# Use mouse wheel to go to prev or next page
WheelForPaging=True
# Font
Font="Sans 10"
# Menu Font
MenuFont="Sans 10"
# Tray Font
TrayFont="Sans Bold 10"
# Tray Label Outline Color
TrayOutlineColor=#000000
# Tray Label Text Color
TrayTextColor=#ffffff
# Prefer Text Icon
PreferTextIcon=False
# Show Layout Name In Icon
ShowLayoutNameInIcon=True
# Use input method language to display text
UseInputMethodLanguageToDisplayText=True
# Theme
Theme=Simple-dark
# Dark Theme
DarkTheme=Simple-dark
# Follow system light/dark color scheme
UseDarkTheme=False
# Follow system accent color if it is supported by theme and desktop
UseAccentColor=True
# Use Per Screen DPI on X11
PerScreenDPI=False
# Force font DPI on Wayland
ForceWaylandDPI=0
# Enable fractional scale under Wayland
EnableFractionalScale=True

Every time Fcitx5 starts, `~/.local/share/fcitx5/themes/plasma` will automatically created and its original contents will be overwritten (I even tried renaming `Simple-dark` to `plasma`).

---

Any suggestions? Thanks in advance.

---

Edit: Resetting means that .`classicui.conf` will take no effect, and the actual theme used will always be `plasma`.

Last edited by redbeanw (2025-11-23 12:34:13)

Offline

#2 2025-11-23 12:33:26

redbeanw
Member
Registered: 2024-07-31
Posts: 7

Re: [SOLVED] Something resets the theme every time Fcitx5 starts.

I've solved this problem, thanks to the help from members of the Chinese archlinux user group.

The theme is forced to be plasma when certain conditions are met:
https://github.com/fcitx/fcitx5/blob/39 … 193...L213

In short, simply delete the Input Method Panel widget in KDE edit mode!

Offline

Board footer

Powered by FluxBB