From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jone Subject: Re: xkblayout-state Date: Thu, 26 Apr 2018 17:40:22 +0000 Message-ID: <87d0ylj27t.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBi4I-0006cv-I7 for help-guix@gnu.org; Thu, 26 Apr 2018 10:40:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBi4E-0005e1-K0 for help-guix@gnu.org; Thu, 26 Apr 2018 10:40:18 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:43082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBi4E-0005dj-Bl for help-guix@gnu.org; Thu, 26 Apr 2018 10:40:14 -0400 Received: by mail-lf0-x242.google.com with SMTP id g12-v6so15032544lfb.10 for ; Thu, 26 Apr 2018 07:40:14 -0700 (PDT) In-Reply-To: (message from =?utf-8?Q?G=C3=A1bor?= Boskovits on Thu, 26 Apr 2018 10:13:09 +0200) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: help-guix@gnu.org > Please point the author to > https://www.gnu.org/licenses/gpl-howto.html. Not with my level of English :( I somehow launched xkblayout-state from my previous build. My method switching keyboard layout: 1. get current window name (xdotool) 2. if Emacs then xdotool->emacs_shortcut if not Emacs then ~/bin/xkblayout-state set -1 It's a dirty hack, but.. works!