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 ms11 with LMTPS id YFeGDUAoU19dCwAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 05:55:12 +0000 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 eKU9CUAoU1+wfwAAbx9fmQ (envelope-from ) for ; Sat, 05 Sep 2020 05:55:12 +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 49A19940366 for ; Sat, 5 Sep 2020 05:55:11 +0000 (UTC) Received: from localhost ([::1]:37408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kERAM-0005SE-8K for larch@yhetil.org; Sat, 05 Sep 2020 01:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kERAE-0005RP-SX for guix-patches@gnu.org; Sat, 05 Sep 2020 01:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kERAE-0000cj-Jc for guix-patches@gnu.org; Sat, 05 Sep 2020 01:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kERAE-0001q3-Ir for guix-patches@gnu.org; Sat, 05 Sep 2020 01:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43210] [PATCH] gnu: lxqt-config: Wrapping the lxqt-config and lxqt-config-input and setting the setxkbmap PATH for fixing save added layout Resent-From: "Hamzeh Nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Sep 2020 05:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43210@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15992852837034 (code B ref -1); Sat, 05 Sep 2020 05:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 05:54:43 +0000 Received: from localhost ([127.0.0.1]:41378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kER9u-0001pO-Vz for submit@debbugs.gnu.org; Sat, 05 Sep 2020 01:54:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:44740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kER9t-0001pH-7c for submit@debbugs.gnu.org; Sat, 05 Sep 2020 01:54:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kER9s-0005CE-U7 for guix-patches@gnu.org; Sat, 05 Sep 2020 01:54:40 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kER9r-0000Yd-0h for guix-patches@gnu.org; Sat, 05 Sep 2020 01:54:40 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6DDD25C00FF for ; Sat, 5 Sep 2020 01:54:38 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Sat, 05 Sep 2020 01:54:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=o9QBXl8GhC0hZDQxycTa5RU7+pRP35ESR7HWSp2benY=; b=iR2+Y5Ax 52n65e/cAnVm9xJ5c+M67OE7JdxaWu5tKlbXk5rtT999fLWdpyUbenHf5KYUxmPh 1JEPkgHMvVGIenX0sTUfWNMWLmr/CAKs0HwhuHmSEHVDKBi/4LGQjG7lIdFoS0qQ fnVGMUtG5Okf116Cw+v+n+pWX/bCXjkIQQYYXA4qxs2rXZl98B0GtiLJu3JLITZn aOu3rD+JqOhq2oiSFsBp6MEs3TSePC9NwJvViN2rBhYo0pkx0EiQxLIgAO6iaBet 13LslIePEsF3yIffhmuOTXMM8ES3qnpvl5dIYc+oPNb686VFUTYG8x/nvk3izcKo EGHamVYyasA+iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=o9QBXl8GhC0hZDQxycTa5RU7+pRP3 5ESR7HWSp2benY=; b=TPsn4V0sykJpNI8ufpGT/8zAoom15ozh/9hLePYpu7D36 12ONacoOfNv4yUJof2/QJOzyshZiOrWRC2vE02HqFSMHTDHEd1cEeSEAFmrCXh/A kxSKJbJHhF/JzAcv6Xj/EGV0N673B3U1cxrqAC7QQ1xR1dh6Cbv4k+RLx76lCaP+ Zze6u7S7LlE2W26dddqGidTfwHnBuMvbZigC1f6mQJq2dOyzTyvs7QpFN096+yu5 euhsLm9PNc1uKmZennHz0bpu8Y7R8JUq1RcZr+y4ncnWHPtG77uWdK1uT1GZCtfT m8etWHW726MGlAn5MFz1RHn+/UAXodsuPMAvXN87w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeggedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefofgggkfffhffvufgtsehttdertderreejnecuhfhrohhmpedfjfgrmhii vghhucfprghsrghjphhouhhrfdcuoehhrdhnrghsrghjphhouhhrsehprghnthhhvghrgi drohhrgheqnecuggftrfgrthhtvghrnhepvdffvdevtdetheeglefhheffleehueehffeg jeekveelfeeigedvhefgleeukedvnecuffhomhgrihhnpehgihhthhhusgdrihhonecuve hluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhephhdrnhgrshgr jhhpohhurhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4146D5C0099; Sat, 5 Sep 2020 01:54:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: <2a9af2f5-62b9-45c9-bfa5-430241158521@www.fastmail.com> Date: Sat, 05 Sep 2020 10:24:14 +0430 From: "Hamzeh Nasajpour" Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=h.nasajpour@pantherx.org; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 01:53:02 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.6 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pantherx.org header.s=fm3 header.b=iR2+Y5Ax; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=TPsn4V0s; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.00 X-TUID: gMumCzC4iIpr diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index 21587609ce..baa2ee6795 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -379,6 +379,7 @@ the operating system LXQt is running on.") ("qtbase" ,qtbase) ("qtsvg" ,qtsvg) ("qtx11extras" ,qtx11extras) + ("setxkbmap" ,setxkbmap) ("solid" ,solid) ("xf86-input-libinput" ,xf86-input-libinput) ("xkeyboard-config" ,xkeyboard-config) @@ -418,7 +419,16 @@ the operating system LXQt is running on.") (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) - #t))))) + #t)) + (add-after 'install 'wrap-for-setxkbmap-path + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (setxkbmap (assoc-ref %build-inputs "setxkbmap"))) + (wrap-program (string-append out "/bin/lxqt-config") + `("PATH" ":" prefix (,(string-append setxkbmap "/bin/")))) + (wrap-program (string-append out "/bin/lxqt-config-input") + `("PATH" ":" prefix (,(string-append setxkbmap "/bin/")))) + #t)))))) (home-page "https://lxqt.github.io") (synopsis "Tools to configure LXQt and the underlying operating system") (description "lxqt-config is providing several tools involved in the