Skip to content

A slightly modified layout#23

Open
zhenya1007 wants to merge 2 commits intojackrosenthal:masterfrom
zhenya1007:master
Open

A slightly modified layout#23
zhenya1007 wants to merge 2 commits intojackrosenthal:masterfrom
zhenya1007:master

Conversation

@zhenya1007
Copy link
Copy Markdown

Here is a slight modification to your layout, for your consideration.

@jackrosenthal
Copy link
Copy Markdown
Owner

Can you add as a variant to the layout? See the 3l-cros variant as an example. You can put in the same 3l file, no need to worry about making a separate file.

(Instead of making a separate file for it.)
@zhenya1007
Copy link
Copy Markdown
Author

Sure. I have moved it into the 3l file.

Comment thread linux/xkb/symbols/3l
xkb_symbols "alt" {
name[Group1] = "English (3l alternative)";

key.type[Group1] = "ONE_LEVEL";
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you include 3l(basic) instead and drop the repeated base layout? Or is there a specific reason for not including the Greek and extended symbols?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is my first foray into working with xkb, so I wanted something I can easily grok. The EIGHT_LEVEL_SEMIALPHABETIC key type looked a bit overwhelming on the first go-round.

Copy link
Copy Markdown
Owner

@jackrosenthal jackrosenthal Nov 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, xkb is a little bit cryptic. If you can get it working with the include, it'll be easier to send a patch to xkeyboard-config.

Comment thread linux/xkb/symbols/3l
// "regular CapsLock" behaviour
// 5. In this layout, Escape is on Cur-Space as well as on Sym-Space
partial alphanumeric_keys modifier_keys
xkb_symbols "alt" {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better name than "alt" we can use?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the two main characteristics of this layout are that it uses Shift keys as Sym modifiers, and moves Cur modifier to CapsLock. So maybe "shift_as_sym" for the name?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, but lets use hyphens instead of underscores. ;)

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

Successfully merging this pull request may close these issues.

3 participants