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 UKwEO7CA8F+HWAAA0tVLHw (envelope-from ) for ; Sat, 02 Jan 2021 14:18:24 +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 yOS8NrCA8F/SWwAAbx9fmQ (envelope-from ) for ; Sat, 02 Jan 2021 14:18:24 +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 67F51940149 for ; Sat, 2 Jan 2021 14:18:20 +0000 (UTC) Received: from localhost ([::1]:36810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvhjW-0006e5-7f for larch@yhetil.org; Sat, 02 Jan 2021 09:18:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvhjK-0006ba-Uj for help-guix@gnu.org; Sat, 02 Jan 2021 09:18:06 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:40309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvhjJ-0004Hd-02 for help-guix@gnu.org; Sat, 02 Jan 2021 09:18:06 -0500 Received: from bababa (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 989C0200003; Sat, 2 Jan 2021 14:17:59 +0000 (UTC) From: Pierre Neidhardt To: Olivier Rojon , help-guix@gnu.org Subject: Re: EXWM: file or program not found, ls In-Reply-To: <48099c1e-63b9-d252-bb48-8c11f90a45ee@posteo.net> References: <48099c1e-63b9-d252-bb48-8c11f90a45ee@posteo.net> Date: Sat, 02 Jan 2021 15:17:55 +0100 Message-ID: <87pn2nmnho.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@ambrevar.xyz; helo=relay12.mail.gandi.net X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.274, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 67F51940149 X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: fzTv3Yn/SHja --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Olivier, What's your login shell? If it's Bash, did you edit ~/.bashrc by any chanc= e? The default file contains this snippet: =2D-8<---------------cut here---------------start------------->8--- if [[ $- !=3D *i* ]] then # We are being invoked from a non-interactive shell. If this # is an SSH session (as in "ssh host command"), source # /etc/profile so we get PATH and other essential variables. [[ -n "$SSH_CLIENT" ]] && source /etc/profile # Don't do anything else. return fi # Source the system-wide file. source /etc/bashrc =2D-8<---------------cut here---------------end--------------->8--- You need to source /etc/profile if you want the environment variables like PATH to be set properly. You can do this from ~/.bashrc as is done in the snippet, or from other files such ~/.profile or ~/.xinitrc. Hope that helps! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/wgJMSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/1+gH/Aj0tIs3Xy0P6vcFu7o0nExvX8dGaDPc wMqf0J12zvFayMpOal28qtmKD46qIFJba1DbH+ntFHLlLfh7pcVyKetUUqVZ9Pll M7foE5PE9WB4NQTJEowg6yJA6hv5guzAnTW2vnvl+auzMywyBqUcOBs7uaxpumU2 pTOrUhzDqpWFoS+NPXH1XRei0wFjTnU5kV6O9A/Cy6ID9ORXvoy66bTPYMpVrp54 JpwG4TvTDf6rq+MZgcqliXfwGa7vXRw5wN9tOp+vsb9RiiyVsBxEads5pZcMjAmf tw7t0vnOmXbTlfxIai3233evzodLkZNPAQytLSErsoG0bDGgxu3OmPQ= =JwrB -----END PGP SIGNATURE----- --=-=-=--