From owner-freebsd-x11@freebsd.org Mon Jan 21 15:41:08 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 7011E14ACF92 for ; Mon, 21 Jan 2019 15:41:08 +0000 (UTC) (envelope-from ken@ixsystems.com) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 4EC028E86B for ; Mon, 21 Jan 2019 15:41:07 +0000 (UTC) (envelope-from ken@ixsystems.com) Received: by mail-yb1-xb31.google.com with SMTP id s17so7322713ybp.6 for ; Mon, 21 Jan 2019 07:41:07 -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=orJRZJ2OmR5m2NiHTToVdhZ6cGzhFss3eBFLOr7BqFs=; b=uB8qvjJMCNl3dKNawtyMgAfYwZXWYh36awdPXHOlfXfMSzjUgayjWiFdHyCyvc6yf0 uq/925I4LAu/fB881nQ6/Q6Tm/12EbvFjxRrzzF2xhp1rdbhxVBx5MRyyBFuFiUuU6rU aaGqMvLr2KWgIHcItXwe41ytccesYik4iX1Ac2dYH6sqI1hIMFmq+diIDQ6+g5+DWvcm fpEH5BzeeU2otDpX9Zd0f2cDDUK+PRZnTKNOWhG9eM4stH1aJn39uKEBsuAbG23XLB6z vrLVcaQLldd7xsHIggBwPussj5+rhzw8ZiDNb3igDVeONXf1an1nG9qDQ2pmlPWxnNad qMqA== 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=orJRZJ2OmR5m2NiHTToVdhZ6cGzhFss3eBFLOr7BqFs=; b=BXrFsxqtE7SsYwxTPCV/G7BudG5E0XfyQuC4qbqWQsNdi8zsy1uaronzpI4B9JxCyY M6usN82y3fkZ/6Ir3zeyzNYL46NSGqg2FthfU+Ej1u4zV6wfffY7QwTGIk9rYrYHDI51 s0P4qtdlCHyJCTV1GwfNjSAq30NgzjnWP+qEHySflx4pOa55lfE9PS+X7PZ9ZbtQ5ubG /6TYfq7nEKWVd/JjidWuqQ63V8F56FnLoMBzRQh9RpOZy+AU4ZLDR4Kw/cEdCw02SgQo vlRCKY+K+oDUeP1hDDNtw3dpgKjl38HTIhtvNQPgZOYc7qS2fByei0r2zqik1uje8nl5 3xbg== X-Gm-Message-State: AJcUukeTm32ruGG4BwQtGNl3joyUkgPe1ksOqbEWB/T7t0NL77E5CZ7t 7WTImNsCxXf5YW3TbMVCkvQb/5LEog6ZhD5BzH3qRByQfjxdezRmHCU0X3ssvc2jUoMhRVSJHqf iExszSTBnZRMthZXp313Ag8vA+mLDdaINZkLUQTswiDIGC9YYqHHSkocMVPOAiidnXlI= X-Google-Smtp-Source: ALg8bN4So+7XmrX4qAyNy9LXobiGHUQ8mJHmhxwzcGocwXAh50QGV/FkHmZl3t9S4vpwgsFhqgVr+A== X-Received: by 2002:a25:3294:: with SMTP id y142mr17758232yby.15.1548085266379; Mon, 21 Jan 2019 07:41:06 -0800 (PST) Received: from localhost ([12.189.233.130]) by smtp.gmail.com with ESMTPSA id o124sm5115370ywe.75.2019.01.21.07.41.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jan 2019 07:41:04 -0800 (PST) From: Ken Moore To: Subject: Re: Lumina and env variables Date: Mon, 21 Jan 2019 10:41:03 -0500 MIME-Version: 1.0 Message-ID: <54013c32-3b8e-4911-bc53-faca7d255c7a@ixsystems.com> 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: 4EC028E86B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ixsystems-com.20150623.gappssmtp.com header.s=20150623 header.b=uB8qvjJM; dmarc=pass (policy=none) header.from=ixsystems.com; spf=pass (mx1.freebsd.org: domain of ken@ixsystems.com designates 2607:f8b0:4864:20::b31 as permitted sender) smtp.mailfrom=ken@ixsystems.com X-Spamd-Result: default: False [-4.81 / 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.995,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(-0.87)[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)[1.3.b.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.93)[-0.934,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:41:08 -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 > The QT_QPA_PLATFORMTHEME environment variable is special to Lumina and will=20= automatically get overwritten when the desktop starts up. Lumina will automatically change that variable to "lthemeengine" (Lumina=20 theme engine), which is a custom fork of the qt5ct theme engine with=20 additional support/features specifically for desktop/application theming=20 (such as more color palette support, ability to scan system-installed=20 palette and theme files for availability, things of that nature). TLDR: Don't use qt5ct with Lumina. Just make your changes in the Lumina=20 theme engine utility instead (nearly identical to qt5ct and behaves the=20 same way). --=20 ~~ Ken Moore ~~ ken@ixsystems.com