Comments (4)
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.
demonstration.mp4
from bigbagkbdtrixxkb.
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 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)
- Copy,Cut,Paste on Extend HOT 4
- Ext + Q not registering as Escape HOT 6
- Option to change original XKB files location HOT 4
- Changing the arrangement in geometry/pc does has no effect. HOT 1
- Suggestion: Left Alt as Extend HOT 2
- Applications seeing a mix of symbols through the extend layer, and of the original keypress, triggering unwanted keybindings HOT 3
- equal symbol is not working HOT 3
- install script restore appears not to work HOT 3
- setxkb.sh disables most F1 - F12 keys in all apps, but any modifier(s) + (F1 - F12) keys are working fine HOT 3
- Help Image in Linux HOT 1
- DH mod for Portuguese (Brazil) Layout HOT 4
- How to Restore to Original Layout? HOT 7
- Ok for me to manually Implement Angle Mod? HOT 1
- Broken xkb/rules/evdev.xml HOT 1
- No more menu entry for Wayland in Gnome login screen after installing new files in /usr/share/X11/xkb HOT 1
- Extend and backspace issues with Linux in most applications HOT 10
- How to set "u" and "o" keys to toggle over word instead of beginning/end of line. (and assign N and "." the functionality of original "u" and "o") HOT 3
- Convert EPKL layout to XKB HOT 1
- The installation script broke my layouts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigbagkbdtrixxkb.