On Wed, 22 Jan 2003 02:25:50 +0200 (IST)
Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> How do I set it?
> $ xprop -set _XKB_RULES_NAMES 'something' -root
> xprop: error: unsupported conversion for _XKB_RULES_NAMES

Looks like it's harder than expected:
        xprop -root -f _XKB_RULES_NAMES 8s -set _XKB_RULES_NAMES "xfree86,..."
Now two pieces are still missing:
        - Why on eath do we need to set the property type if it is
          already known?
        - How can I set it to be the correct string (I tried
          various combinations and the quotes still don't look ok).

While searching for answer I bumped into an easy solution of the
original problem -- quoting from the setxkbmap(1) manual:
        If you want only specified options will be setted use
        -option flag with  empty argument first.

So the original poster should run:
setxkbmap -option '' -option grp:switch,grp:shift_toggle,grp_led:scroll il

However the new interesting question still remains. How can I
manipulate correctly the value of this (and maybe other)
complex properties:
        - What is it's structure (looks like it's a sequence of
          strings and not a single string)
        - How can I instruct xprop(1x) to set such a property

Anyone?


----------------------------------------------------------------
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron

But it does move!
                -- Galileo Galilei

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to