25.12.2011 19:12, [email protected] пишет:
> hi,
> I use setxkbmap for changing the keyboard layout between us, and ir. It
> works almost fine but my problem is that changing the layout to ir
> breaks a lot of X shortcuts like ctrl+c, ctrl+x, ctrl+v etc. I can
> remember that this wasn't an issue in desktop managers like gnome, and
> kde and using their settings to change the layout. I want to know if
> anyone has a similar problem and knows a solution?
Hi,
I got similar problem (for awesome bindings). The answer that I got was
to use scan-codes instead of symbols for specifying keybindings.
And the part of rc.lua for example:
-- User defined keys
awful.key({ modkey, }, "#26", function ()
awful.util.spawn("emacsclient -c", false) end), -- #26 = 'e'
You could read it some treads before.
Another workaround is to setup your keyboard layouts on system level.
You can do it in xorg.conf file, or in /etc/default/keyboard file if you
use Debian system like I do. This way is better, I think, because you
don't have to change keybindings in rc.lua and you got fully working
shortkeys in other applications, such as libre/open office, etc.
Regards.
--
To unsubscribe, send mail to [email protected].