Details about modelock and keyboard language switch

24 views
Skip to first unread message

Joel Carnat

unread,
Oct 13, 2024, 6:28:49 PM10/13/24
to Window Maker Users
Hi,

I just discover the expert user preference "enable keyboard language switch button in window titlebars" but couldn't find much documentation about it. From the sources, I could find a few modelock references but I couldn't read the code enough to actually understand all it does.

I have an Xorg configuration that allows me to switch between 3 layouts using "grp:win_space_toggle" and I see the icon changing when I switch the layout with my keyboard. The keyboard shortcut changes the layout for all the windows, but only the current window has its icon changed. I end up with windows having the wrong layout indicator in their title. Is this expected? Is there a way for all windows icon to get synced?

Is it possible to change the icon without modifying the sources ?

Thanks.

Rodolfo Martin Baumler

unread,
Oct 22, 2024, 8:49:46 AM10/22/24
to wmake...@googlegroups.com
sorry for the late reply and the kinda off-topic since I am not actually answering your specific question:

While my native language is Spanish I love using English keyboards, both standard and international versions:

rudy@rudy:~/bin$ cat us.sh  
#!/bin/bash
setxkbmap us  
rudy@rudy:~/bin$ cat usint.sh  
#!/bin/bash
setxkbmap us -variant intl

What I did was to create a sub-menu with two menu entries executing each script, then assign Alt-Ctrl-I and Alt-Ctrl-K  to each menu entry as shortcut, that way I can switch keyboards and write ñ or á when I need to. And since I work as a programmer I normally need the keyboard configured to English standard. I think I took that shortcuts from KDE.

hope it helps.
--
You received this message because you are subscribed to the Google Groups "Window Maker Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wmaker-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wmaker-user/2b09ee2f-2aae-431d-aa59-47d88d53da38n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages