<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <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">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/">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">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">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>
  </body>
</html>