GithubHelp home page GithubHelp logo

Comments (4)

i-c-u-p avatar i-c-u-p commented on July 22, 2024 1

I found a "fix". I set the layout persistently by plugging in the options for the setxkbmap command into localectl set-x11-keymap, which looks like this for 4cw us us: sudo localectl --no-convert set-x11-keymap "us(cmk_ed_us)" "pc104angle-z" "" "misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu,misc:cmk_curl_dh" (the "" is because in set-x11-keymap the options have to be set in a specific order, so it prevents setting a variant since the setxkbmap command doesn't. The Xorg Arch Wiki Article explains it well (and --no-convert, which avoids setting the console font; I recommend adding it to the command in README's TODO)). After doing this, the super shortcuts work, and the system uses the big bag layout everywhere including the login screen. The shortcut problem seems to be related to changing layouts AFTER logging in. I uninstalled big bag by restoring from backup and persistently set the Colemak-DH version built into setxkbmap (curl angle) with localectl --no-convert set-x11-keymap us pc105 colemak_dh caps:swapescape,compose:rwin (prob should've been pc104 since I have an ANSI keyboard), then rebooted. The shortcuts worked in DH, but not in qwerty, which I switched to with setxkbmap -option && setxkbmap -model pc105 -layout us -variant altgr-intl -option caps:swapescape,compose:rwin.

On a tangential note, for setting the console font, which is used in TTYs (and the LUKS password prompt if you have that set up, although for that to change, rebuild the initramfs with mkinitcpio -P after changing the layout), I cloned them from the mod-dh repo, gzip'd each .map, made the dir "colemak-dh" with 755 perms in /usr/share/kbd/keymaps/i386/ then moved them all there (I made a basic script to automate this). Then, following this Arch wiki article I set the keymap using localectl set-keymap --no-convert colemak_dh_ansi_us

Edit: seems like with the persistent configuration, extend doesn't work properly and keys don't repeat when held down. I'll just use the colemak dh built into vanilla xkeyboard-config for now.

from bigbagkbdtrixxkb.

i-c-u-p avatar i-c-u-p commented on July 22, 2024
demonstration.mp4

from bigbagkbdtrixxkb.

DreymaR avatar DreymaR commented on July 22, 2024

Really not sure what's going on there. DId or did you not test other Super shortcuts though? And have you tried the BigBag on your Arch host OS too, or is it only in the VM?

Could you please describe what's happening, as I don't quite follow the video.

from bigbagkbdtrixxkb.

i-c-u-p avatar i-c-u-p commented on July 22, 2024

I installed the big bag on my Arch host (XFCE desktop environment) the exact same as I did in the vm, but I ran setxkb.sh without -a so I could test the shortcuts while focused on a terminal window before activating it, to make sure the shortcut's problems weren't also mirrored in qwerty. All the shortcuts below were made in xfce4-keyboard-settings ("Keyboard" app) or, if mentioned otherwise, xfwm4-settings ("Window Manager" app) I wrote the results below:

Shortcuts that don't work at first and just type the letter in the terminal (Except Super+Alt+b)(Ex: Super+L will just type L; see 1:02 in vid), but work correctly after changing the shortcut to something else and reverting (Ex: Going into xfce4-keyboard-settings, changing Super+L to Super+/, then back to Super+L (This "fix" goes away after logging out and must be done on every login)):
Super+b
Super+r
Super+c
Super+Alt+b (doesn't type "b', instead functions like Alt+b)
Shortcuts that do nothing until after changing the shortcut to something else and reverting (again, must be done on every login):
Ctrl+Alt+F
Shortcuts that make the terminal cursor transparent, which usually indicates the shortcut will go through (to see what I mean by transparent, see 0:12 and 0:47 in the video where it changes from a solid white rectangle to a thin white outline after the super commands (shown by key-mon on the bottom right)), but nothing happens, even after changing the shortcut to something else and reverting:
Super+f
Super+d
(The above 2 shortcuts were set in xfwm4-settings (Same functions as in the vid; Super+f toggles window maximization, Super+D shows desktop), unlike all the other shortcuts, which were for opening applications. Not sure if that has anything to do with it.)
Shortcuts that worked correctly on login:
Super+a
Super+e
Super+p
Super+w
Super+\
Ctrl+Alt+T
Window manager (xfwm4-settings) shortcuts:
Super+1 (Workspace 1)
Super+2 (Workspace 2)
Super+3 (Workspace 3)
Super+4 (Workspace 4)
Super+Tab (Switch window for same application)
Super+Up (Tile window to the top)
Super+Down (Tile window to the bottom)
Super+Left (Tile window to the left)
Super+Right (Tile window to the right)
Super+g (Hide window)
Super+Home (Tile window to the top-left)
Super+Pgup (Tile window to the top-right)
Super+End (Tile window to the bottom-left)
Super+Pgdn (Tile window to the bottom-right)

Besides shortcuts, there's problems I had with Extend+Q. It didn't close nomacs (nomacs has an option to bind esc to this. Pressing the real esc key does close it), and Extend+Q doesn't close popup windows/menus in Anki (installed via anki-bin), Krita, or Kdenlive, while esc is able to. In GIMP, neovim, Notepad++ (Wine) and elsewhere it does function like esc.

from bigbagkbdtrixxkb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.