How to autostart ibus at login?

,

Hello!

I accidentally removed the .bash*** files and have put them back in place fyi.
I am using Fedora 35 KDE spin.

Been trying to autostart ibus for input at login.

Tried to add these lines to the .bashrc file:

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

Did not work.

I then tried to make a ibus.desktop file in ~/.config/autostart

[Desktop Entry]
Comment=Start Ibus
Exec=ibus-daemon -drx --panel=/usr/lib/kimpanel-ibus-panel
Name=Ibus
Type=Application 

Got deleted upon re-login.

So I added this command manually in the kde settings autostart section:

ibus-daemon -drxR

Did not work.

But it did make a file like this in .config/autostart

[Desktop Entry]
Exec=ibus-daemon -drxR
Icon=
Name=ibus-daemon
Path=
Terminal=False
Type=Application

Btw, if I run this in the terminal is does work in starting the ibus process and panel.

What do you think is preventing kde autostart from running the .desktop file? I autostart my browser and that works.

Maybe it is related to this?
https://bugzilla.redhat.com/show_bug.cgi?id=1956022

This post on this forum.

You can find the initial version of these files in /etc/skel/.

I can’t say much about the KDE problems.

Indeed that is where I put them back from, apparently KDE is just broken in terms of autostart.