• You are not logged in.

    Trouble installing BigBag to emulate DH mod

    • Started by Game9859
    • 5 Replies:
    • Reputation: 0
    • From: Poland
    • Registered: 13-Mar-2025
    • Posts: 3

    I am trying to install the Dreymar BigBag mod in order to emulate Colemak-DH on my laptop's keyboard (X220 ThinkPad).

    I cloned the repository https://github.com/DreymaR/BigBagKbdTrixXKB and ran the installation script. I got a lot of errors...

    debian% sh install-dreymar-xmod.sh 
    install-dreymar-xmod.sh: 166: [[: not found
    
    @@@ DreymaR's Big Bag Of Tricks install script (by OeBeAa, 2016-) @@@
    ¤ Found mod root dir './xkb-data_xmod'
    install-dreymar-xmod.sh: 179: [: all: unexpected operator
    ¤ Subdirectories to mod: 'all'
    install-dreymar-xmod.sh: 188: [: ifnone: unexpected operator
    install-dreymar-xmod.sh: 190: [: ifnone: unexpected operator
    ¤ Backing up: None
    install-dreymar-xmod.sh: 208: [: Illegal number: 
    install-dreymar-xmod.sh: 232: [: no: unexpected operator
    install-dreymar-xmod.sh: 232: [: /usr/share/X11: unexpected operator
    ¤ Installing mod files in '/usr/share/X11/dall'
    
    @@@ WARNING: It seems that setxkbmap w/ local dir isn't working now?! @@@
    
    
    @@@ install-dreymar-xmod.sh - ERROR: Local files copy error! @@@

    It was said on the repo to run this script first, so I did. Please help.

    Offline
    • 0
    • Reputation: 217
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,384

    You ran it with sh, and it's a bash script.

    It says so in its help, but if you run it with the wrong shell you won't see the help either... dilemma.

    If you'd run it with ./install-dreymar-xmod.sh it'd have selected bash as per its shebang/hashbang (on the first line).

    I've now added 'BASH' to its description string, so you'll see it even when run with sh.

    On a side note: It's not an emulation. It's an xkb-data addition, which is what all the other X11/xkb layouts use too.

    Last edited by DreymaR (14-Mar-2025 10:46:53)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 0
    • From: Poland
    • Registered: 13-Mar-2025
    • Posts: 3

    Ok @DreymaR, the script ran. Ugh, not sure the mention worked... there is no info how to mention people on the site.

    I was abloe to use xce4-keyboard-settings program to select two preffered colemak[eD] layouts, but they have not been applied? I still have the qwerty layout.

    From what I understand, `setkb.sh` does just this but via command-line. Acorrding to my `setxkbmap` settings the changes through GUI were applied:

    debian%  setxkbmap -v 9
    Setting verbose level to 9
    locale is C
    Trying to load rules file ./rules/evdev...
    Trying to load rules file /usr/share/X11/xkb/rules/evdev...
    Success.
    Applied rules from evdev:
    rules:      evdev
    model:      pc105
    layout:     pl,pl,gb
    variant:    cmk_ed_us,,cmk_ed_us
    Trying to build keymap using the following components:
    keycodes:   evdev+aliases(qwerty)
    types:      complete
    compat:     complete
    symbols:    pc+pl(cmk_ed_us)+pl:2+gb(cmk_ed_us):3+inet(evdev)
    geometry:   pc(pc105)

    So what's next? Should this be working now? Why doesn't it?

    GUI settings picture: https://www.idrive.com/idrive/sh/sh?k=c2p9p2m0k7

    Last edited by Game9859 (19-Mar-2025 18:10:34)
    Offline
    • 0
    • Reputation: 217
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,384

    That picture is of your boot manager. You won't get alt layouts into that without recompiling the layouts for boot manager (I haven't done that).

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 0
    • From: Poland
    • Registered: 13-Mar-2025
    • Posts: 3
    DreymaR said:

    That picture is of your boot manager. You won't get alt layouts into that without recompiling the layouts for boot manager (I haven't done that).

    Haha, sorry. I shared the wrong link: https://www.idrive.com/idrive/sh/sh?k=y1t2c7h3k3.

    To be clear, we're on the OS level on Debian 12.

    Last edited by Game9859 (20-Mar-2025 20:53:25)
    Offline
    • 0
    • Reputation: 217
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,384

    To be honest, I have no idea why your settings don't take. I haven't used that Debian settings GUI for years. I'm sorry.

    Last edited by DreymaR (21-Mar-2025 11:29:07)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 1