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

Avro-Dvorac #163

Open
BahaTanvir opened this issue Feb 11, 2021 · 8 comments
Open

Avro-Dvorac #163

BahaTanvir opened this issue Feb 11, 2021 · 8 comments

Comments

@BahaTanvir
Copy link

BahaTanvir commented Feb 11, 2021

I use Dvorak for English typing. I used to type both Bangla and English with Dvorak layout on windows now I can't on ubuntu . Please help me.

@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Feb 11, 2021

Does this work? This is about typing Chinese in ibus with the Dvorak layout, the process for writing Bangla with the Dvorak layout would be analogous.
https://askubuntu.com/q/695659/124466

@sarim
Copy link
Owner

sarim commented Feb 11, 2021

What is the exact problem you are encountering? Please explain in detail.

@gunnarhj
Copy link
Contributor

It may differ depending on which desktop environment you are using. On GNOME it seems to work to open /usr/share/ibus/component/ibus-avro.xml for editing and change the line

<layout>us</layout>

to

<layout>us+dvorak</layout>

@gunnarhj
Copy link
Contributor

@apandada1 wrote:

Does this work? This is about typing Chinese in ibus with the Dvorak layout, the process for writing Bangla with the Dvorak layout would be analogous.
https://askubuntu.com/q/695659/124466

Not quite. pinyin.xml has default as the layout value, while ibus-avro.xml has us. So at least the first of those Ask Ubuntu answers does not apply.

@sarim
Copy link
Owner

sarim commented Feb 12, 2021

Seems like I have to research again about this us vs default layout. We had a discussion about that. I don't remember why I choose us over default. I have to dig out that issue again

@gunnarhj
Copy link
Contributor

gunnarhj commented Feb 12, 2021

@sarim: There are pros and cons with both. As an example, a user whose only input sources are Russian and Avro Phonetic wouldn't be so happy with the default layout. :)

But I have no own opinion on what's the best choice.

Edit:

Well, actually I have an opinion. ibus-anthy lets the user select the layout in preferences. That's probably the ideal solution. The question is if it's worth the extra work.

@sarim
Copy link
Owner

sarim commented Feb 12, 2021

Well, actually I have an opinion. ibus-anthy lets the user select the layout in preferences. That's probably the ideal solution. The question is if it's worth the extra work.

I'll list it as a todo for v2. The xml file is not user editable, so if they're letting user select it, maybe they are converting layout / keycode etc.. inside engine code. I'll look into it later.

@gunnarhj
Copy link
Contributor

gunnarhj commented Feb 12, 2021

They seem to watch two xml files:

$ cat /usr/share/ibus/component/anthy.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- filename: anthy.xml -->
<component>
	<name>org.freedesktop.IBus.Anthy</name>
	<description>Anthy Component</description>
	<exec>/usr/lib/ibus/ibus-engine-anthy --ibus</exec>
	<version>1.5.11</version>
	<author>Peng Huang &lt;[email protected]&gt;</author>
	<license>GPL</license>
	<homepage>https://github.com/ibus/ibus/wiki</homepage>
	<textdomain>ibus-anthy</textdomain>

	<!-- for engines -->
	<observed-paths>
		<path>~/.config/ibus-anthy/engines.xml</path>
		<path>/usr/share/ibus-anthy/engine/default.xml</path>
	</observed-paths>
	<engines exec="/usr/lib/ibus/ibus-engine-anthy --xml" />
</component>

So the user is offered to change the one in $HOME, and they have a dconf value with predefined options.

Not sure if something similar would make sense for ibus-avro. Maybe it would be to overdo it, after all.

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

4 participants