From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cKUSALpL9WCgewEAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 11:54:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mCmYN7lL9WBTdwAAB5/wlQ (envelope-from ) for ; Mon, 19 Jul 2021 09:54:01 +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 52494E9A6 for ; Mon, 19 Jul 2021 11:54:01 +0200 (CEST) Received: from localhost ([::1]:38606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5PyK-00039B-CN for larch@yhetil.org; Mon, 19 Jul 2021 05:54:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Py9-00037E-Jo for help-guix@gnu.org; Mon, 19 Jul 2021 05:53:49 -0400 Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]:14949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Py7-0000FV-J8 for help-guix@gnu.org; Mon, 19 Jul 2021 05:53:49 -0400 X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 09CB634298E for ; Mon, 19 Jul 2021 09:53:04 +0000 (UTC) Received: from cpanel-008-lon.hostingww.com (100-96-17-89.trex.outbound.svc.cluster.local [100.96.17.89]) (Authenticated sender: instrampxe0y3a) by relay.mailchannels.net (Postfix) with ESMTPA id 25E1A342BFF for ; Mon, 19 Jul 2021 09:53:03 +0000 (UTC) X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from cpanel-008-lon.hostingww.com (cpanel-008-lon.hostingww.com [35.177.91.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.17.89 (trex/6.3.3); Mon, 19 Jul 2021 09:53:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: instrampxe0y3a|x-authuser|paul@teulu.org X-MailChannels-Auth-Id: instrampxe0y3a X-Robust-Troubled: 3a25b5442cfe2252_1626688383749_3804490307 X-MC-Loop-Signature: 1626688383749:2991133796 X-MC-Ingress-Time: 1626688383749 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=teulu.org; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=yl9L+SsW//zyn4Y0Zu9pA0VhImiy5XfpT0xXOMfAWvc=; b=Q1jh33uOGY+pPRqWG49VQXP5nG plW5xFH+ccNTbFYffh3s66rtQ0VGRzRzj9UqVp/tV1E72/rKoNFlfvK6zan7YnGwBskYRoNgXD2zE Crz3l4mpsnttGYd4s7UmRJGGE49eLARJS+2Yfex86uKAtk7JQi0ykB1lo2ZYWeCIG44Gg7waBiSUD Jqa/PQ9h2GCrcKH7lRcqGCK/J2CG0V9gep8VnQ/QIFcB0UZIeFG5RmSnlg6F0zQAzCdRjiOHr4vhn 1eRPAdJN9nYevBeVoi6GsFHDLOdDenjvmB8y14JVQe0CJF1uLmqYcBp/B54SMVfWdplWF0a8VRidE 5t3SCt+g==; Received: from 67.26.169.217.in-addr.arpa ([217.169.26.67]:36914 helo=[192.168.1.207]) by cpanel-008-lon.hostingww.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1m5PxJ-0001rm-86 for help-guix@gnu.org; Mon, 19 Jul 2021 19:53:01 +1000 Subject: Re: xmodmap doesn't before pressing any button keyboard To: help-guix@gnu.org References: <87tukrd6qt.fsf@gmail.com> From: Paul Jewell Message-ID: <0f7973bc-dd5a-ae72-afcc-37c3a89cec9e@teulu.org> Date: Mon, 19 Jul 2021 10:52:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87tukrd6qt.fsf@gmail.com> Content-Language: en-GB X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: paul@teulu.org Received-SPF: softfail client-ip=23.83.212.47; envelope-from=paul@teulu.org; helo=cyan.elm.relay.mailchannels.net X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.07, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: , 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=1626688441; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ePDgMogjZbVCaeKUpjP41w99FOvMtqtivyKroULSa18=; b=XJwZTRYo3UvACcaEz8HrZblVoJe1ZIZXKe19q5S6y10O2nfxe1DBM0OCgEamQFUA3atf2q QWQaXlWU70nPLhYcynwj/ZJUKPo4Sc/Kzka97S+fL0HW0kTaZspiEcPkGN49fLw66tH9tC DUsMHFwVknr04ypTopz5+QGfJazV9bIooANLXCkNT0rvpevOBQwhw9g5s/x6hrpJv8eT8Y gK/4KhPZKS7590WQjlWhJEy0W50ybS5bWUxwotJn8o0ZDUAFLnBLSoibpcfP2b7NWxZ55E iwBABwVVJ2qJXfiDlt2/r+shwH8pLOJxuUdnX7mHX5oRLTEDUw5xaY69NkrPpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626688441; a=rsa-sha256; cv=none; b=CLVDnFgrjflZ0iS4TP6KhAK3kFMJC7wsDO59sfNb9xjwYJuFbriNhxXqZxYwY0f2Zl9l4+ sWCe+lEDoMVu/QSIbmOPFj+ivx5zy0UqeJBK7+nN0YDGPkMBdARYFqDMa50J5i5uOBqKvg C84x2yjY/snTGz4URIa8PAQ8qAgPk1dlpxRSk7vGPU9Bs2ohRIhEhTfgdggKMq34wElWF4 Tpv6zJw+KQut0ZeBN4FapQK2Sj6xEcfQ13lg/9e98lwcCLgWUgjOHZovN1Ps2luObSWrDE yxMpRNQWjw+6+M/1o8lSR+iB11pbhOE+gq5gDl55sO4qWABOHz3R6+Cgxua30A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teulu.org header.s=default header.b=Q1jh33uO; 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: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teulu.org header.s=default header.b=Q1jh33uO; dmarc=none; 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: 52494E9A6 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: TzciBoWm4SK8 On 18/07/2021 15:41, Akib Azmain Turja wrote: > 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? > I started looking at this, following your email, and came across the following: https://librehacker.com/2020/12/23/caps-lock-as-ctrl-guix-system-configuration/ This swaps the ctrl key with the capslock key. This could possibly be expanded to cover other changes (I am not sure what others you are looking at). Using the keyboard-layout option should mean your changes are working in the different virtual terminals as well as any X session.