From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4PGOFzdV9GBDUgEAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 18:22:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 86sdEzdV9GDNMAAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 16:22:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B27856496 for ; Sun, 18 Jul 2021 18:22:14 +0200 (CEST) Received: from localhost ([::1]:39856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m59YT-0007fc-Mx for larch@yhetil.org; Sun, 18 Jul 2021 12:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m59YK-0007fT-CJ for help-guix@gnu.org; Sun, 18 Jul 2021 12:22:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m59YH-00012F-VN for help-guix@gnu.org; Sun, 18 Jul 2021 12:22:03 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 75904240105 for ; Sun, 18 Jul 2021 18:21:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1626625318; bh=1Sirlr6Yan1EYFGqdEkBokZ276BuvPP5LK0q1a4kXRE=; h=From:To:Cc:Subject:Date:From; b=qKRoabRjJ+pPnlZjAkGRLk5KHPANnwglzn8lv7iQXUrCHpx8GoGzxP0ENHtd3jSW3 mk+12PZE+lMYnska8wHfGoilNwmI7X80Tr+OWZkXtitUcrbPY89Gztk+0UPS6gIoM7 +qXGsIKO4cotoSMMHo2bn4ES0Q6V50oTBv5I8GvaRcnS/YWRBHEdsPCAhZaYEinTud gpj3Q9YbKwnmVXVM9vKn7H1Z+5fxOvQMMmcDT4GMCV+m9NhqZrto2cSW2kCrdCBGg+ KsyARx8yUWBOEqPw9ttLFPVzYQcZjGgQHZ05R8TgrgNUpegEN4+RLLmERRpahJoXSg Xq1dy3xeYGBQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GSVc55fTzz9rxX; Sun, 18 Jul 2021 18:21:57 +0200 (CEST) References: <87tukrd6qt.fsf@gmail.com> From: Mekeor Melire To: Akib Azmain Turja Subject: Re: xmodmap doesn't before pressing any button keyboard Date: Sun, 18 Jul 2021 16:14:33 +0000 In-reply-to: <87tukrd6qt.fsf@gmail.com> Message-ID: <87bl6zwq1o.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626625334; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1bTfPRSmud6FbE8TbcKldY1eSmxIOT1h23PFSZdCwVw=; b=IPbaypLiVqXqBgeiey2Nm6oeXfKGOAsgtnbCiMKNymT2zjazNTyt44kb1mGkmWCdtn6MwT VxQEB8sV+vfLluPG9DPqpkI/vpF2EWaMQMGY8t4uwUu2PFFhqbockIySp0bGysrku3u0De 4VW3Lq+sOakHyd7WhUAP7I/XHR+Hpv0ihECotP/ULiMn3mnZsPdHAXgZ/uYgk6ePLE1Zll T945CVtNWHedKMeNs/UbDyLmbLDnJoFNUHGqnmoTEFs4WeLFhnlVv+IUedolT+J35yHhgy DA0ZONAWcvTZ20tfpJUk6aSTW80KNfSdS6js6rWkm4oERT0MjBbRgx2j2mr22A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626625334; a=rsa-sha256; cv=none; b=M53AQqSI8xvjAljJzX2FPl0VtqkC2oS2MJGqeqjfmed2td9vNzCwX5uqJk4QhTnUv52rQz erhShmmkhg9dKffHhbjmNCCG/ryiEhJMs6hKCxNd7tKnfs5GXmaQaOt2omzkczam0XKw6t /Zy+EunFY24B6nJuavC4pKT1RuVCZ3X+Tfv7kOzGYy2XLYrNd5XhioUf0TXZQDCFgJYd+x QIouJoYvUw05jTkZeZamnn8o+cwqGhPHHwLFJaswOHiuMl5EhHd+InYxIsC5WiObVbfxUN NIVCd41EF0IAc+PtI1VtfEgUd3xq8Rm4myzM0xQanASlf+PPq5M/Jfd8+ivkPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=qKRoabRj; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=qKRoabRj; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B27856496 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: jQI50ZOeDsHm hello! you are using Guix-system, right? you might want to add some extra X.org-configuration to your systems declaration. for example, if you're using the Slim login-manager, here's a snippet from my Guix-system-declaration which makes X.org map caps-lock to ctrl while using the german keyboard layout: --8<---------------cut here---------------start------------->8--- (slim-service #:startx (xorg-start-command #:configuration-file (xorg-configuration-file #:extra-config (list "Section \"InputClass\" Identifier \"Keyboard Defaults\" MatchIsKeyboard \"on\" Option \"XkbLayout\" \"de\" Option \"XkbOptions\" \"ctrl:nocaps\" EndSection")))) --8<---------------cut here---------------end--------------->8--- how do you start EXWM? if you start it with an ~/.xsession file, that's also a good place to put your keyboard-initialization code in, as far as i know. ciao mekeor 2021-07-18 / 20:41 / akib8492@gmail.com: > [[PGP Signed Part:Undecided]] > I have setup my Emacs iwth EXWM. I am trying to remap several keys to > avoid repetitive strain injury (RSI), also known as Emacs pinky. To > accomplish that, I am using xmodmap. It works perfectly when I invoke > the command directly. However it doesn't work when I put it in Emacs > startup files. After several days of research, I discovered that > xmodmap only works when I have pressed atleast one key in my keyboard. > Any solutions?