From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meiyo Peng Subject: Package for LXQt. Help wanted. Date: Mon, 22 Oct 2018 12:57:06 +0800 Message-ID: <87va5ushnh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gESHI-0007ZD-JQ for guix-devel@gnu.org; Mon, 22 Oct 2018 00:57:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gESHF-0007Jy-1U for guix-devel@gnu.org; Mon, 22 Oct 2018 00:57:20 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:33865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gESHE-0007Jj-PW for guix-devel@gnu.org; Mon, 22 Oct 2018 00:57:16 -0400 Received: by mail-pg1-x52d.google.com with SMTP id g12-v6so18438424pgs.1 for ; Sun, 21 Oct 2018 21:57:16 -0700 (PDT) Received: from dinosaur (192.135.185.35.bc.googleusercontent.com. [35.185.135.192]) by smtp.gmail.com with ESMTPSA id a21-v6sm12393022pfh.164.2018.10.21.21.57.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Oct 2018 21:57:14 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello everyone, I made a series of packages for LXQt. The code is at: https://github.com/meiyopeng/guix/tree/lxqt I did this beacuse I want to run i3 window manager within lxqt session. Currently most things work great except lxqt-panel. I have two problems. 1. The $QT_PLUGIN_PATH environment variable points to /run/current-system/profile/lib/qt5/plugins. I don't know where it's set. So qtsvg has to be installed into syetem profile, or all the lxqt applications can not properly display icons. Should I add qtsvg to lxqt applications' propagated-inputs? If so, should I add qtbase too, since qtbase also provides lib/qt5/plugins, although lxqt works without qtbase in system profile but I can never be sure. 2. lxqt-panel complains about "Warning: Could not find any platform plugin". (lxqt-runner also prints this message but it works.) I found out this message was printed by kwindowsystem. The related code in kwindowsystem: https://github.com/KDE/kwindowsystem/blob/9f88c9a5d25ff7909c25ce399572ca348b5706b1/src/pluginwrapper.cpp#L79 Qt's document (https://doc.qt.io/qt-5/qcoreapplication.html#libraryPaths) says "entries of the QT_PLUGIN_PATH environment variable are always added to libraryPaths". So I install kwindowsystem into system profile, and add /run/current-system/profile/lib/plugins to QT_PLUGIN_PATH. Then this error message disappear. But lxqt-panel still does not work. I still have no idea how to fix lxqt-panel. This does not affect me because I use i3, so lxqt-panel is useless to me. But there may be other people interested in LXQt and I want to help them get this fixed. Can anybody help me? Will anybody help me review the code? I'd appreciate it. -- Meiyo Peng