A problem to type Persian in Linux

I faced a problem in Linux to type Persian. I installed the Persian language in setting and after changing my keyboard, I couldn’t type Farsi. After investigating many websites, I noticed that this was a horrible bug. To solve this issue, you need to run a command runner (alt+f2) and type “r“. Then, you could choose Persian language and type Farsi in your Ubuntu.

I had this horrible bug (before downgrading to 3.32) where I would start an app normally (through Super-key menu or “command runner” (alt+f2)) and every time I refreshed my session (alt+f2 –> type “r”) gnome would just kill some of my apps.