delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/03/23/19:39:44

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=x-received:mime-version:in-reply-to:references:from:date:message-id
:subject:to:content-type;
bh=bAdOQlpJ1i6qKr4Dqn6hydEMEEIIugkW05YdUTJDgMM=;
b=nB0u/d7J8RqecS0L2PhXXRgYbxUJQ8neS2rbf/HXuvDZXn5YF2FpqzOqEqj8vj3QH+
wcyX+EBSlG6QQEMzw2eYVR+Jw8206TrAZ9wf4+hvxI91ZDfLYYOJPRA5YbrM4WiWYuWk
6MbyeobHWyIlDcwzN3v+JhsJwljYswtkisl/3MlFp6cXvDfxhU3XDbo1+LRLvXUQUpqF
fFgWFEjEhqyfKyAmU+w1i2J4xa6MnTkumZtYhnQ8bD5O9EpJqvZ8SRJzrJGmRBuBcGX7
5CSqjrGHgi2B/7XhKAQyNRe6D0gjd65HJ2YPtMEXRU8/Spv5JEZEFreQ8cxJfpcKkzRn
eDbg==
X-Received: by 10.194.170.165 with SMTP id an5mr10410389wjc.41.1364081916038;
Sat, 23 Mar 2013 16:38:36 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <20130323214757.GA3584@localhost.localdomain>
References: <CAHk6ah54kjhwewN17ZPpLhnke3rP9CLHDjdPSetmv_WQ70SU9A AT mail DOT gmail DOT com>
<20130323214757 DOT GA3584 AT localhost DOT localdomain>
From: Sneetsher <sneetsher AT gmail DOT com>
Date: Sun, 24 Mar 2013 00:38:15 +0100
Message-ID: <CAHk6ah5SLxB6RhdM_g88Z0yC87Sk+DwLBApSnQhqAPzhNW831g@mail.gmail.com>
Subject: Re: [geda-user] gschem shortcuts do not work with non-latin keyboard layout.
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Got it, Thank you guys.
--
Abdellah Ch.

On Sat, Mar 23, 2013 at 10:47 PM, Vladimir Zhbanov <vzhbanov AT gmail DOT com> wrote:
> On Sat, Mar 23, 2013 at 01:28:25AM +0100, Sneetsher wrote:
>>    Hi,
>>    Actually, I use gEDA in Arabic and most of the time Arabic keyboard
>>    layout active. So the shortcuts do not works till I switch back to
>>    English. Is the any way to fix this behavior by mapping Arabic keys to
>>    the corresponding English within gschem.
>
> Yes, modern gschem (at least the latest git version which I use, and
> probably 1.8.x series) will provide this functionality if you spend some
> time on this.
> First find your system-gschemrc. If you don't know where it is, use the
> 'locate' command:
>   locate system-gschemrc
> Location of mine is /usr/local/share/gEDA/system-gschemrc.
> Then open that file in your text editor and find the "Keymapping"
> section. You will see lots of global-set-key functions, for example:
>   (global-set-key "A C" 'add-component)
> Select them all and copy in a new file, let's call it "local_keymap".
> Thereafter, you need to find your Arabic key names corresponding to
> English keys.  Type "xev" in your preferred X terminal (mine is uxterm)
> and play with it a little. When you type some keys there, you'll probably
> see keysym names like Arabic_xxx (I suspect). Change corresponding
> English letters in global-set-key definitions to your key names. I have
> a file with definitions looking like this (I use Cyrillic alphabet):
>   (global-set-key "Cyrillic_ef Cyrillic_es" 'add-component)
>
> After all is done you need to load this file. Place the "local_keymap"
> file to your ~/.gEDA directory and add the following line to
> ~/.gEDA/gschemrc:
>   (load "local_keymap")
>
> Now when you run gschem, your keys should behave the same way regardless
> of selected keymap, English or Arabic.
>
> You can add the global-set-key definitions directly to your gschemrc.
> Just don't edit system-gschemrc! If you change the functions there,
> English keymap will be lost. If you add them to user's or local
> project's rc file, they will work in addition to the default keymap.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019