From owner-freebsd-x11@freebsd.org Mon Jan 21 15:46:48 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FA0D14AD2F9 for ; Mon, 21 Jan 2019 15:46:48 +0000 (UTC) (envelope-from ken@ixsystems.com) Received: from mail-yw1-xc2f.google.com (mail-yw1-xc2f.google.com [IPv6:2607:f8b0:4864:20::c2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B5CD8EF4D for ; Mon, 21 Jan 2019 15:46:47 +0000 (UTC) (envelope-from ken@ixsystems.com) Received: by mail-yw1-xc2f.google.com with SMTP id k188so8176352ywa.6 for ; Mon, 21 Jan 2019 07:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:mime-version:message-id:in-reply-to:references :organization:user-agent:content-transfer-encoding; bh=9sBhNLv3x+nowrbawmU2SSJ7vw9+ZlButwINFgcBYeM=; b=NDNxV2tKYyg136vb6BRuzOoQnXkTHT32IUWlMTophxr1y0wtij/19+xV8lesepJeRj 8n9jutj6YlQTsiq34c/Qputr+rJBdIVLjS1qbxbUA7RT6sCklD4UgAFMY6HtKpg7XzlP ADXrYhea/GjfoBiVNSkynV82E0lYjrZY3Mkq18lNYkU5yx3rk4XZ733QalfIYxLaK655 OOaa8sJJBAVqg22spAiTVaIQkKpTjO4y4YAppyoLkucswhiJxGdYncX3HRh4rg6JB2vW lohyd+eq1q/WAC6K2Nwyj/7ZEqSk3taD5et1bWYHCP+OudxlWbWzK7dTAADwGMnVzs5o MRpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:mime-version:message-id :in-reply-to:references:organization:user-agent :content-transfer-encoding; bh=9sBhNLv3x+nowrbawmU2SSJ7vw9+ZlButwINFgcBYeM=; b=gZniX96nVAuWenm/iWl0CHajPej5cghQDsrT+Tx1zI4NI5KwARip6b4bhgU18MBXc2 qaSunUOuQrLVp/8+adeopEORxqzyQgGxU5gDMX3fgDIZ/3Pgw+qmDhqttqgn/Ctz1woq C69FJ56VMc0gwHplOnsGkVw8RF+fpPIGdP0Ga2v0wJCX/aRNpRxmL1inFr8uhDE99XqD Csk/H7yinJWzWlDwaB2q5d4Mk54GsAx1h8YYbYdFk+d1U7bebzqZ8wr2uvcQmlwvQV1J pepL51EZI0/YCuynQhIKxhYTGW7vONnJBJLsmVUdQUfyzYF9nac9q2Q79OTgvz+32FMt cQVQ== X-Gm-Message-State: AJcUukc/lKgUNjgS4WnhDaWdzlKuvoTUi6bdAKS3gNN8lTLfz44CBsio AuF6jvzv8kCluTCfHSFoXl1XvH0+ANEXtoj/x/gKUMCbZWTCqInGc18FeURDwBydpKVN5kCbii6 6c/V8hHRdwhxwearym74WigBBl/uuBYiep+un1Uf+z+Cved7aNXMQxAw2CVfIEFQmPQY= X-Google-Smtp-Source: ALg8bN4KyHc0GxwsOxjZjBFjpf3SpfLE69/gUspw6NlAUeW5yWZdmJl34JRb6Ui1pyWF/Z0l6+PUdg== X-Received: by 2002:a81:e401:: with SMTP id r1mr29378717ywl.381.1548085606618; Mon, 21 Jan 2019 07:46:46 -0800 (PST) Received: from localhost ([12.189.233.130]) by smtp.gmail.com with ESMTPSA id v127sm3244090ywb.96.2019.01.21.07.46.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jan 2019 07:46:45 -0800 (PST) From: Ken Moore To: Subject: Re: Lumina and env variables Date: Mon, 21 Jan 2019 10:46:44 -0500 MIME-Version: 1.0 Message-ID: In-Reply-To: <4c339ec6-b03b-dfe4-f694-af403dc5d89a@gjunka.com> References: <4c339ec6-b03b-dfe4-f694-af403dc5d89a@gjunka.com> Organization: iXsystems User-Agent: Trojita/0.7; Qt/5.12.0; xcb; AnyBSD4.4FreeBSD; Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7B5CD8EF4D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ixsystems-com.20150623.gappssmtp.com header.s=20150623 header.b=NDNxV2tK; dmarc=pass (policy=none) header.from=ixsystems.com; spf=pass (mx1.freebsd.org: domain of ken@ixsystems.com designates 2607:f8b0:4864:20::c2f as permitted sender) smtp.mailfrom=ken@ixsystems.com X-Spamd-Result: default: False [-6.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[ixsystems-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-2.78)[ip: (-9.55), ipnet: 2607:f8b0::/32(-2.41), asn: 15169(-1.86), country: US(-0.08)]; DKIM_TRACE(0.00)[ixsystems-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT3.ASPMX.L.GOOGLE.com]; DMARC_POLICY_ALLOW(-0.50)[ixsystems.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 15:46:48 -0000 On Saturday, January 19, 2019 9:33:41 AM EST, Grzegorz Junka wrote: > Hello, > Does anyone know how to set an environment variable so that=20 > it's visible when running Lumina applications? Currently I have=20 > QT_QPA_PLATFORMTHEME set in .profile and .cshrc but these are=20 > not visible when I run qt5ct from the Lumina launch menu. They=20 > only take effect when I run qt5ct from the command line=20 > (Konsole). > > This is quite strange because I start Lumina with startx and my=20 > .xinitrc looks like this > > exec /usr/local/bin/start-lumina-desktop > > I would have hoped that these environment variables should be=20 > inherited by the Lumina process and subsequently by all=20 > applications launched from the menu. Unless something overwrites=20 > them later? > > Thanks > GrzegorzJ > One other additional comment about setting environment variables for=20 Lumina. Lumina provides a special environment variable configuration file=20 (~/.config/lumina-desktop/envsettings.conf) which is just a=20 =3D list of environment variables to apply to the desktop=20= session (one variable per line). The desktop monitors that file and will automatically re-apply env changes=20= as needed when you make changes to that file. It cannot change the=20 environment for applications that are already running, but it can change=20 the default environment for applications that you launch later on. --=20 ~~ Ken Moore ~~ ken@ixsystems.com