<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 1/10/19 6:46 PM, Israel wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c086e3ce-74ae-2e8e-7dc8-ccedb9e3fa76@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">On 1/9/19 11:47 AM, Eric Bradshaw
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:E1ghIB3-0007zw-W7@huckleberry.canonical.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <div><br>
        </div>
        <div style="font-size:100%;color:#000000"><!-- originalMessage -->...<br>
        </div>
        <br>
        <br>
        Dear Aere,<br>
        <div><br>
        </div>
        <div>The C4C Lubuntu 18.04 ReSpin now uses pkexec [<a
            class="moz-txt-link-freetext"
href="https://www.freedesktop.org/software/polkit/docs/0.015/pkexec.1.html"
            moz-do-not-send="true">https://www.freedesktop.org/software/polkit/docs/0.015/pkexec.1.html</a>]
          in place of gksu. By utilizing the method put forth by and the
          policy files created by Allen Guarnes
          [<a class="moz-txt-link-freetext"
href="https://www.allenguarnes.com/technology/resolving-the-missing-gksu-command-in-ubuntu-18-04/"
            moz-do-not-send="true">https://www.allenguarnes.com/technology/resolving-the-missing-gksu-command-in-ubuntu-18-04/</a>]
          you should be able to do what you want and have everything
          look just the same as it did. In ebery case I've tried, I've
          been able to replace gksu with pkexec. For example, the
          command gksu pcmanfm can be replaced with pkexec pcmanfm.
          <div dir="auto"><br>
          </div>
          <div dir="auto">Eric</div>
          <div dir="auto">--</div>
          <div dir="auto">Thank you,</div>
          <div dir="auto">God bless you,</div>
          <div dir="auto">Computers4Christians</div>
          <div dir="auto"><a class="moz-txt-link-freetext"
              href="http://computers4christians.org"
              moz-do-not-send="true">http://computers4christians.org</a></div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
      </blockquote>
      <p>Hi,</p>
      <p>I agree that pkexec is the current best practice.  You will
        need to make a pkexec file for the programs if they do not have
        one, though.</p>
      <p>I am not sure though if systemd is replacing PolicyKit (they've
        replaced many many many things).  So this may be a temporary
        solution (should work for a few years at least).</p>
      <p>Aere,</p>
      <p>I did some looking around and Arch (as per usual) has a really
        helpful page about this</p>
      <p><a class="moz-txt-link-freetext"
href="https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle"
          moz-do-not-send="true">https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle</a></p>
      <p>tl;dr</p>
      <p>If they are Qt4 apps</p>
      <p><tt>echo "[Qt]</tt></p>
      <p><tt>style=GTK+" >> ~/.config/Trolltech.conf</tt></p>
      <p>If they are Qt5</p>
      <p><tt>sudo apt install qt5-style-plugins</tt></p>
      <p>Then you need to set this variable (so I am adding it to the
        xinitrc)</p>
      <p><code>echo "QT_QPA_PLATFORMTHEME=gtk2" >> .~/xinitrc</code></p>
      <p>This should get you back on track :D<br>
      </p>
      <pre class="moz-signature" cols="72">-- 
Regards</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    <p>Israel:</p>
    <p>They are definitely qt5 applications.  <br>
    </p>
    <p>I have attached a screenshot of the error dialog to this e-mail
      as a ".png" file.  <br>
    </p>
    <p>I tried what you said to do for qt5, with results as follows:</p>
    <p>qt5-style-plugins were already installed, and the latest
      version.  <br>
    </p>
    <p>Your echo command didn't work.  In reading the URL info, I think
      it should have been: <br>
    </p>
    <p><code>echo "QT_QPA_PLATFORMTHEME=gtk2" >> </code><code><code>~/</code>.xinitrc
        <br>
      </code></p>
    <p><code>But that didn't work either.  Signing-in didn't work
        either.  <br>
      </code></p>
    <p><code>If I could just figure out where lxqt-sudo is defining
        QT_STYLE_OVERRIDE, and remove it, I think I would be able to fix
        my systems.  <br>
      </code></p>
    <pre class="moz-signature" cols="72">-- 
Sincerely,
Aere</pre>
  </body>
</html>