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

xkalamine remove doesn't work #192

Open
Alex-V69 opened this issue Oct 20, 2024 · 0 comments
Open

xkalamine remove doesn't work #192

Alex-V69 opened this issue Oct 20, 2024 · 0 comments
Labels
bug Something isn't working linux

Comments

@Alex-V69
Copy link

I wanted to install a new version of my layout, so I tried to delete the old one first, but it didn't work.

After I enter this line in the terminal:

sudo env "PATH=$PATH" xkalamine remove "*"

I enter my password, and I get this:

... /usr/share/X11/xkb/rules/base.xml
... /usr/share/X11/xkb/rules/evdev.xml

It wasn't very informative, so I decided to check the above-mentioned files as well as the contents of my /usr/share/X11/xkb/symbols/ directory and discovered that everything is in place and nothing was removed...

I don't have the original .toml file, but the metadata of this layout from /usr/share/X11/xkb/symbols/ua looks like this:

ua
// KALAMINE::UKR-W-RUS::BEGIN
// Generated by kalamine on 2024-10-20
//
// This XKB symbols file should be copied to:
//     /usr/share/X11/xkb/symbols/custom
// or
//     $XKB_CONFIG_ROOT/symbols/custom
//
// File          : ukr-w-rus.xkb_symbols
// Project page  : https://OneDeadKey.github.com/kalamine
// Author        : AlexV69
// Version       : 0.0.1
// License       : WTFPL - Do What The Fuck You Want Public License
//
// custom Ukrainian with ЫЭЪ layout
//
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━━┓
// │ ~   │ !   │ @   │ #   │ $   │ %   │ ^   │ &   │ *   │ (   │ )   │ _   │ +   ┃          ┃
// │ ' ` │ 1   │ 2   │ 3 № │ 4*ˇ │ 5*^ │ 6   │ 7   │ 8   │ 9   │ 0   │ -   │ =   ┃ ⌫        ┃
// ┢━━━━━┷━━┱──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┺━━┳━━━━━━━┫
// ┃        ┃ Й   │ Ц   │ У   │ К   │ Е   │ Н   │ Г   │ Ш   │ Щ   │ З   │ Х   │ Ї   ┃       ┃
// ┃ ↹      ┃     │   = │   _ │   + │   ё │   \ │   4 │   5 │   6 │   ; │     │   ъ ┃       ┃
// ┣━━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓  ⏎   ┃
// ┃         ┃ Ф   │ І   │ В   │ А   │ П   │ Р   │ О   │ Л   │ Д   │ Ж   │ Є   │ Ґ / ┃      ┃
// ┃ ⇬       ┃   ' │   ы │   . │   , │   " │   ! │   1 │   2 │   3 │   - │   э │   | ┃      ┃
// ┣━━━━━━┳━━┹──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┲━━┷━━━━━┻━━━━━━┫
// ┃      ┃ |   │ Я [ │ Ч ] │ С   │ М   │ И   │ Т   │ Ь   │ Б „ │ Ю “ │ , ? ┃               ┃
// ┃ ⇧    ┃ \   │   { │   } │   : │   ? │   ( │   ) │   0 │   « │   » │ . / ┃ ⇧             ┃
// ┣━━━━━━┻┳━━━━┷━━┳━━┷━━━━┱┴─────┴─────┴─────┴─────┴─────┴─┲━━━┷━━━┳━┷━━━━━╋━━━━━━━┳━━━━━━━┫
// ┃       ┃       ┃       ┃                                ┃       ┃       ┃       ┃       ┃
// ┃ Ctrl  ┃ super ┃ Alt   ┃ ␣                              ┃ AltGr ┃ super ┃ menu  ┃ Ctrl  ┃
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┻━━━━━━━┛

partial alphanumeric_keys modifier_keys
xkb_symbols "UKR-w-RUS" {
    name[group1]= "custom Ukrainian with ЫЭЪ layout";
    key.type[group1] = "FOUR_LEVEL";

Environment info

kalamine was installed via uv tool install

It runs on an editable Live USB system:


System:
  Kernel: 6.1.0-25-amd64 [6.1.106-3] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht nosplash lang=en_US kbd=us tz=Europe/Kiev
    persist_all hwclock=local dostore savestate live_swap=off splasht video=1024x768
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_x64 Libretto September 15  2024 base: Debian GNU/Linux 12
    (bookworm)

@trilowy trilowy added bug Something isn't working linux labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux
Projects
None yet
Development

No branches or pull requests

2 participants