Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Ubuntu 22.04 #11

Closed
Aliallameh opened this issue Aug 23, 2022 · 13 comments
Closed

Not working on Ubuntu 22.04 #11

Aliallameh opened this issue Aug 23, 2022 · 13 comments

Comments

@Aliallameh
Copy link

I can confirm that both Automatic and manual ways will not work anymore.
it will add the option in the layout setting, and you can add it, but it will not work as switching to this language is not working.

@tsalehm
Copy link
Contributor

tsalehm commented Nov 9, 2022

@rez4mt

HI. It's ok and it works on ubuntu 22 very well

it will add the option in the layout setting, and you can add it, but it will not work as switching to this language is not working.

when you add the files (you'd better use curl) you have to remove all Persian layouts from the settings and then, add this one

@sinadarvi
I think It's because it has the same name as the old layout of ubuntu when we add it
and its name shouldn't be 'ir'. it should be something like 'ir-win'

@sinadarvi
Copy link
Owner

@tsalehm interesting,
I had no issue with Ubuntu 22, I will check some more and if the issue happened, I will consider your solution for the test.

@sinadarvi
Copy link
Owner

@Aliallameh could you please also check and test this as well? if changing 'ir' to 'ir-win' works, I could change it in repo. thanks.

@tsalehm
Copy link
Contributor

tsalehm commented Nov 13, 2022

@sinadarvi

if changing 'ir' to 'ir-win' works, I could change it in repo.

when we add a new layout with the name 'ir', ubuntu settings will look for the old layout in the new file 'ir'
so it somehow screws the layouts. new setting files shouldn't have the same name as the old ones

when we remove Persian layouts and add them again, we're actually reloading layouts

sinadarvi added a commit that referenced this issue Dec 3, 2022
fix switch language in ubuntu ^22.04, thread issue link : #11
@sinadarvi
Copy link
Owner

The issue has been solved with a new PR. if you did have other problem, feel free to reopen this issue. thank you all.

@hamed-ahangari
Copy link

Hi. It sill doesn't work on Ubuntu 22.04. With this keyboard layout selected, I only can write English.
Also, when I click on "View Keyboard Layout" in the keyboard settings, Ubuntu encounters an error and wants to send reports.
Specs: Ubuntu 22.04.1 LTS, 64-bit, GNOME Version 42.5.
Thanks.

@sinadarvi sinadarvi reopened this Jan 30, 2023
@sinadarvi
Copy link
Owner

sinadarvi commented Jan 30, 2023

@hamed-ahangari could you please try again with new changes?

@hamed-ahangari
Copy link

I tried but it still doesn't work.
However, I think all previously installed versions should be completely removed first. Would you please tell me how I can remove the installed layout from the OS? Now I have two "Persian" layouts and two other "Persian (Windows layout)" layouts.

@MasterKia
Copy link

MasterKia commented Feb 2, 2023

@sinadarvi The layout doesn't work anymore on Fedora 37 KDE.

This still works for me (ir_win should be changed back to ir):
https://github.com/sinadarvi/windows-persian-keyboard-for-linux/blob/85adce98b48b98e6cc964f644e5953843f5557c8/install

wget https://raw.githubusercontent.com/sinadarvi/windows-persian-keyboard-for-linux/master/ir_win -P /usr/share/X11/xkb/symbols/
mv  /usr/share/X11/xkb/symbols/ir_win  /usr/share/X11/xkb/symbols/ir
mv /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml-back
wget https://raw.githubusercontent.com/sinadarvi/windows-persian-keyboard-for-linux/master/evdev.xml -P /usr/share/X11/xkb/rules/

@sinadarvi
Copy link
Owner

@MasterKia I don't have access to a Linux system for a while, could you make a pull request with new changes?

MasterKia added a commit to MasterKia/windows-persian-keyboard-for-linux that referenced this issue Feb 6, 2023
@tsalehm
Copy link
Contributor

tsalehm commented Feb 6, 2023

@sinadarvi PR #15 will fix this bug
PLEASE DON'T merge any other PR related to this bug. because they will cause another bug

@tsalehm
Copy link
Contributor

tsalehm commented Feb 15, 2023

@sinadarvi yo!?

@sinadarvi
Copy link
Owner

@tsalehm have been merged. thanks for your contribution. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants