You are not logged in.

#26 2013-11-04 04:52:38

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: Create your own keyboard layout

Maybe you could do it with acpi - the way you could use that to catch events for sleeping etc. before systemd took over most of those functions? (Well, it still works with acpi as far as I know but it is simpler to use systemd.) That is, if these are "special" keys of some sort?

Not really sure - just a thought.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#27 2013-11-04 05:05:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Create your own keyboard layout

@cfr, I just want to point out that what you are thinking of is acpid.  There is also an acpi command in the official repos, and it simple gives a brief overview of the power/thermal state of your machine.

Offline

#28 2013-11-05 01:05:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: Create your own keyboard layout

WonderWoofy wrote:

@cfr, I just want to point out that what you are thinking of is acpid.  There is also an acpi command in the official repos, and it simple gives a brief overview of the power/thermal state of your machine.

Oops. Sorry. Thank you for correcting that.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#29 2014-01-13 20:15:20

crashandburn4
Member
Registered: 2013-03-03
Posts: 105

Re: Create your own keyboard layout

just for anyone that stumbles upon this while searching, if you would like to be able to add a new xkb file to the gnome dialog you need to modify the xml file /usr/share/x11/xkb/rules/evdev.xml to include the new file and option (that come up as a configItem and a layout, just look at how it's done and copy the format)

Offline

#30 2014-01-13 20:44:26

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Create your own keyboard layout

I'll try that, I'd really like to have a "fr_CA@euro" keyboard layout. Or something similar.
I think even better would be to patch the current fr_CA keyboard (why having $ and £ but no euro sign?)

Offline

#31 2014-01-13 21:24:36

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Create your own keyboard layout

You could also switch to bépo, a keymap that was made to type in French wink (and English, to a lesser extent, but it should be better than azerty and qwerty anyway).

Last edited by stqn (2014-01-13 21:28:15)

Offline

#32 2014-01-13 22:04:11

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Create your own keyboard layout

Very interesting! Is it good for coding too?? (That's often the flaw of new layouts)

Last edited by Creak (2014-01-13 22:05:08)

Offline

#33 2014-01-13 23:08:01

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Create your own keyboard layout

Creak wrote:

Very interesting! Is it good for coding too?? (That's often the flaw of new layouts)

Your mileage may vary depending on your language of choice, but I think it’s ok at least for C, Lua and bash, and probably most languages (maybe not brainfuck wink). A few characters require shift to be pressed unlike on the qwerty keymap (‘!’ and ‘;’ for example). Also all numbers require shift, like on the azerty keymap.

Offline

#34 2014-01-14 03:59:46

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Create your own keyboard layout

Well coming from fr_FR and fr_CA, the ! and ; manipulations don't afraid me that much. As for the numbers, I can still use numpad for long numbers.
The hardest part would be to learn this new layout with the wrong letters on the keys! hmm

Offline

#35 2014-01-14 07:55:20

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Create your own keyboard layout

Japanese layouts are almost complete to edit by your way. I splashed some water into a few keys (g,h,i) and had to reassign them.
here. Put some stickers on your new keys, you'd get to it in a day or so big_smile

Last edited by Gulver (2014-01-14 07:56:52)

Offline

#36 2014-01-14 14:22:47

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Create your own keyboard layout

Creak wrote:

The hardest part would be to learn this new layout with the wrong letters on the keys! hmm

It’s actually no big deal since with bépo you’re supposed to touch type without looking at the keyboard wink. You could also get a Typematrix with a bépo skin, but it’s not cheap.

Offline

Board footer

Powered by FluxBB