You are not logged in.
Pages: 1
my xbindkeys config file looks like this:
"dmenu_run -g 4 -l 6"
Mod1 + p
"setxkbmap -layout us,gr -option 'grp:alt_shift_toggle'"
Mod4 + Space
"maim -s | xclip -selection clipboard -t image/png"
Mod1 + s
"slock"
Mod4 + lHowever, the only bind that works is the first one. When i run "xbindkeys -s" it says the following:
Warning: unknown key in RC file : /home/zaxas/.xbindkeysrc
"dmenu_run -g 4 -l 6"
Alt + pWhen I omit this bind from the config file to see if the rest will work, when running the same command it says this:
Warning: unknown key in RC file : /home/zaxas/.xbindkeysrc
Error in alocation of keysHow can i fix this?
Last edited by zaxarakys (2024-08-09 23:50:40)
Offline
There's probably a stray CRLF?
Upload the file
cat /home/zaxas/.xbindkeysrc | curl -F 'file=@-' 0x0.stSidebar:
"setxkbmap -layout us,gr -option 'grp:alt_shift_toggle'"
wtf is this supposed be become?
You've a shortcut to setxkbmap a layout which is a multi-layout using a different shortcut as toggle???
Offline
Here is the file http://0x0.st/XWPU.txt
About that setxkbmap command im not sure how it works i just copied and pasted it from a post somewhere lmao i just wanted to be able to switch languages
edit: by removing the setxkbmap command i was able to fix the rest of the commands but i still want to be able to switch languages with mod4 and space because alt shift makes it so that i cant open or close terminals in dwm
Last edited by zaxarakys (2024-08-09 23:32:24)
Offline
https://wiki.archlinux.org/title/Xorg/K … tion_files
The file only has LFs, that's not it.
Regardless of the above (ultimately don't do this at all) try
Mod4 + spacew/ a lowerkey "space", that's what "xbindkeys -k" reports.
Edit: then don't use grp:alt_shift_toggle, running that command is inefficient, breaking AND will get you the undesired toggle.
grep toggle /usr/share/X11/xkb/rules/base.lstPick one.
Edit: base.lst will provide a more readable list
Last edited by seth (2024-08-09 23:40:41)
Offline
Changing the grp:alt_shift_toggle to grp:win_space_toggle and adding the command to my .xinitrc instead of my .xbindkeysrc did the trick. Thank you so much for the help
Offline
Pages: 1