mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix!: refactored nixosModules
This commit is contained in:
parent
3753271d60
commit
18f7c70bc9
17 changed files with 25 additions and 32 deletions
39
nix/nixosModules/extra/layouts/README.md
Normal file
39
nix/nixosModules/extra/layouts/README.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
This folder contains my very awesome dvorak French layout on linux
|
||||
|
||||
# Ubuntu
|
||||
`$XDG_CONFIG_HOME/.config/xkb` doesn't work.
|
||||
[source](https://github.com/elias19r/xkb-layouts)
|
||||
|
||||
`# cp dvorak-french.xkb /usr/share/X11/xkb/symbols/`
|
||||
|
||||
`/usr/share/X11/xkb/rules/evdev.xml`
|
||||
```xml
|
||||
<layoutList>
|
||||
...
|
||||
<layout>
|
||||
<configItem>
|
||||
<name>dvorak-french</name>
|
||||
<shortDescription>Baguette</shortDescription>
|
||||
<description>French Dvorak</description>
|
||||
</configItem>
|
||||
</layout>
|
||||
...
|
||||
</layoutList>
|
||||
```
|
||||
|
||||
`/usr/share/X11/xkb/rules/evdev.lst`
|
||||
```xml
|
||||
! layout
|
||||
dvorak-french French Dvorak
|
||||
```
|
||||
|
||||
## Swap escape and capslock
|
||||
`dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']"`
|
||||
(to undo, use `dconf reset`)
|
||||
|
||||
# Notes
|
||||
Use `setxkbmap -option caps:swapescape` to swap escape and capslock
|
||||
[source](https://askubuntu.com/a/830343)
|
||||
|
||||
## Sources
|
||||
https://help.ubuntu.com/community/Custom%20keyboard%20layout%20definitions
|
||||
Loading…
Add table
Add a link
Reference in a new issue