Re: Keyboard switches and awesome

2015-11-18 Thread Rastislav Barlik
I use two variants and I actually prefer the way it's working now, so
maybe the current behavior is intentional. For example in slovak layout,
I wouldn't be able to switch tags with my keyboard as numbers are
accessed with Shift key pressed.



-- 
To unsubscribe, send mail to [email protected].


Re: Keyboard switches and awesome

2015-11-17 Thread Riccardo Sven Risuleo
yes, that will indeed work perfectly... And it is one way to solve the
issue :)
However, since we have the option of grouping layouts in localectl, these
should behave as expected in awesome :)

I think this is a bug to be reported, but if it affects other
window/desktop managers as Max said, I do not really know where to file
it...

I will stick to switching via awesome hotkeys as Samuel suggested, for now!
Thanks for the help!





On Tue, Nov 17, 2015 at 11:52 PM Samuel Walladge 
wrote:

> Does it work when you switch/set the layout using just the plain
> `setxkbmap us ...` or `setxkbmap us -variant dvorak ...`, instead of its
> builtin toggling? I have those commands linked to hotkeys in awesome, and
> never had this problem.
>
> --
> *Regards,*
> *Samuel Walladge.*
>
> On 18 November 2015 at 02:02, Riccardo Sven Risuleo <
> [email protected]> wrote:
>
>> Thanks for your reply, sadly that did not solve the problem: the command
>> bindings in awesome do not follow the keyboard layout when I use groups.
>>
>> On Tue, Nov 17, 2015 at 4:10 PM [email protected] 
>> wrote:
>>
>>>
>>>
>>>
>>> Вторник, 17 ноября 2015, 9:25 UTC от Riccardo Sven Risuleo <
>>> [email protected]>:
>>>
>>>
>>>
>>> Hi all,
>>> I have a problem that has been bugging me for a while,  and I hope
>>> somebody knows how to solve it...
>>>
>>> I have a keyboard layout switch, set with
>>>
>>> setxkbmap -layout us,us -variant dvorak, -option
>>> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>>>
>>> This will allow me to toggle my layout from us to dvorak by pressing
>>> both the alts keys.
>>> This works perfectly, and the keymap switches fine, however all the
>>> bindings for awesome do not change. For instance if I move between the
>>> clients with 'hjkl' in dvorak mapping, I will move with 'jcvp' in the us
>>> mapping. It is like the command is linked to the physical key on the
>>> keyboard and not to the character sent...
>>>
>>> Does anyone know a solution to this? I have been able to replicate this
>>> behaviour on two computers.
>>>
>>> Thanks in advance for any comments or suggestions,
>>> Have a splendid day
>>> Rsrsl
>>>
>>>
>>> I found this blog
>>> http://blog.ssokolow.com/archives/2011/12/24/getting-your-way-with-setxkbmap/
>>> And this
>>> http://unix.stackexchange.com/questions/2884/toggle-between-dvorak-and-qwerty
>>>
>>> You can try switch between variants by this command :
>>> setxkbmap -layout 'us(dvorak-intl),us(alt-intl)', -option
>>> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>>>
>>> Warning I didn't check this!
>>> ---
>>> [email protected]
>>>
>>
>


Re: Keyboard switches and awesome

2015-11-17 Thread Samuel Walladge
Does it work when you switch/set the layout using just the plain `setxkbmap
us ...` or `setxkbmap us -variant dvorak ...`, instead of its builtin
toggling? I have those commands linked to hotkeys in awesome, and never had
this problem.

--
*Regards,*
*Samuel Walladge.*

On 18 November 2015 at 02:02, Riccardo Sven Risuleo 
wrote:

> Thanks for your reply, sadly that did not solve the problem: the command
> bindings in awesome do not follow the keyboard layout when I use groups.
>
> On Tue, Nov 17, 2015 at 4:10 PM [email protected] 
> wrote:
>
>>
>>
>>
>> Вторник, 17 ноября 2015, 9:25 UTC от Riccardo Sven Risuleo <
>> [email protected]>:
>>
>>
>>
>> Hi all,
>> I have a problem that has been bugging me for a while,  and I hope
>> somebody knows how to solve it...
>>
>> I have a keyboard layout switch, set with
>>
>> setxkbmap -layout us,us -variant dvorak, -option
>> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>>
>> This will allow me to toggle my layout from us to dvorak by pressing both
>> the alts keys.
>> This works perfectly, and the keymap switches fine, however all the
>> bindings for awesome do not change. For instance if I move between the
>> clients with 'hjkl' in dvorak mapping, I will move with 'jcvp' in the us
>> mapping. It is like the command is linked to the physical key on the
>> keyboard and not to the character sent...
>>
>> Does anyone know a solution to this? I have been able to replicate this
>> behaviour on two computers.
>>
>> Thanks in advance for any comments or suggestions,
>> Have a splendid day
>> Rsrsl
>>
>>
>> I found this blog
>> http://blog.ssokolow.com/archives/2011/12/24/getting-your-way-with-setxkbmap/
>> And this
>> http://unix.stackexchange.com/questions/2884/toggle-between-dvorak-and-qwerty
>>
>> You can try switch between variants by this command :
>> setxkbmap -layout 'us(dvorak-intl),us(alt-intl)', -option
>> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>>
>> Warning I didn't check this!
>> ---
>> [email protected]
>>
>


Re: Keyboard switches and awesome

2015-11-17 Thread Max Görner
I'm using the german variant neo2 on a regular basis. To enable others
to use my computers the layout can be switched to regular german
layout.

My experience is as yours but on a much broader basis. KDE, Gnome, XFCE
and Awesome had this behaviour and it goes so far that even shortcuts as
'CTRL+C' in terminals were tied to a specific key and did not change
when changing layout.

That said, I think that it might be helpful to look how this kind of
problem is solved in other DEs.

sincerely,

Max Görner

PGP: https://wwwpub.zih.tu-dresden.de/~maxgoern/2FE6023F.asc


signature.asc
Description: This is a digitally signed message part.


Re: Keyboard switches and awesome

2015-11-17 Thread Riccardo Sven Risuleo
Thanks for your reply, sadly that did not solve the problem: the command
bindings in awesome do not follow the keyboard layout when I use groups.

On Tue, Nov 17, 2015 at 4:10 PM [email protected] 
wrote:

>
>
>
> Вторник, 17 ноября 2015, 9:25 UTC от Riccardo Sven Risuleo <
> [email protected]>:
>
>
>
> Hi all,
> I have a problem that has been bugging me for a while,  and I hope
> somebody knows how to solve it...
>
> I have a keyboard layout switch, set with
>
> setxkbmap -layout us,us -variant dvorak, -option
> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>
> This will allow me to toggle my layout from us to dvorak by pressing both
> the alts keys.
> This works perfectly, and the keymap switches fine, however all the
> bindings for awesome do not change. For instance if I move between the
> clients with 'hjkl' in dvorak mapping, I will move with 'jcvp' in the us
> mapping. It is like the command is linked to the physical key on the
> keyboard and not to the character sent...
>
> Does anyone know a solution to this? I have been able to replicate this
> behaviour on two computers.
>
> Thanks in advance for any comments or suggestions,
> Have a splendid day
> Rsrsl
>
>
> I found this blog
> http://blog.ssokolow.com/archives/2011/12/24/getting-your-way-with-setxkbmap/
> And this
> http://unix.stackexchange.com/questions/2884/toggle-between-dvorak-and-qwerty
>
> You can try switch between variants by this command :
> setxkbmap -layout 'us(dvorak-intl),us(alt-intl)', -option
> caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>
> Warning I didn't check this!
> ---
> [email protected]
>


Re: Keyboard switches and awesome

2015-11-17 Thread akv



>Вторник, 17 ноября 2015, 9:25 UTC от Riccardo Sven Risuleo 
>:
>
>Hi all,
>I have a problem that has been bugging me for a while,  and I hope somebody 
>knows how to solve it...
>
>I have a keyboard layout switch, set with
>
>setxkbmap -layout us,us -variant dvorak, -option 
>caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps 
>
>This will allow me to toggle my layout from us to dvorak by pressing both the 
>alts keys.
>This works perfectly, and the keymap switches fine, however all the bindings 
>for awesome do not change. For instance if I move between the clients with 
>'hjkl' in dvorak mapping, I will move with 'jcvp' in the us mapping. It is 
>like the command is linked to the physical key on the keyboard and not to the 
>character sent...
>
>Does anyone know a solution to this? I have been able to replicate this 
>behaviour on two computers.
>
>Thanks in advance for any comments or suggestions,
>Have a splendid day
>Rsrsl

I found this blog  
http://blog.ssokolow.com/archives/2011/12/24/getting-your-way-with-setxkbmap/
And this  
http://unix.stackexchange.com/questions/2884/toggle-between-dvorak-and-qwerty

You can try switch between variants by this command :
setxkbmap -layout  'us(dvorak-intl),us(alt-intl)' , -option 
caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps

Warning I didn't check this!
---
[email protected]