Re: [lubuntu-users]   Strange, dark, look-and-feel of qjackctl, qsynth, and      qmidiroute on Lubuntu 18.04

2019-01-10 Thread Aere Greenway

On 1/10/19 8:52 PM, Aere Greenway wrote:

On 1/10/19 6:46 PM, Israel wrote:

On 1/9/19 11:47 AM, Eric Bradshaw wrote:


...


Dear Aere,

The C4C Lubuntu 18.04 ReSpin now uses pkexec 
[https://www.freedesktop.org/software/polkit/docs/0.015/pkexec.1.html] 
in place of gksu. By utilizing the method put forth by and the 
policy files created by Allen Guarnes 
[https://www.allenguarnes.com/technology/resolving-the-missing-gksu-command-in-ubuntu-18-04/] 
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.


Eric
--
Thank you,
God bless you,
Computers4Christians
http://computers4christians.org


Hi,

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.


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).


Aere,

I did some looking around and Arch (as per usual) has a really 
helpful page about this


https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle

tl;dr

If they are Qt4 apps

echo "[Qt]

style=GTK+" >> ~/.config/Trolltech.conf

If they are Qt5

sudo apt install qt5-style-plugins

Then you need to set this variable (so I am adding it to the xinitrc)

|echo "QT_QPA_PLATFORMTHEME=gtk2" >> .~/xinitrc|

This should get you back on track :D

--
Regards


Israel:

They are definitely qt5 applications.

I have attached a screenshot of the error dialog to this e-mail as a 
".png" file.


I tried what you said to do for qt5, with results as follows:

qt5-style-plugins were already installed, and the latest version.

Your echo command didn't work.  In reading the URL info, I think it 
should have been:


|echo "QT_QPA_PLATFORMTHEME=gtk2" >> |||~/|.xinitrc
|

|But that didn't work either.  Signing-in didn't work either.
|

|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.

|

--
Sincerely,
Aere

With the helpful information you provided, I was able to finally figure 
out how to fix my systems.


I edited the ".config/lxsession/lubuntu/desxtop.conf" file of my home 
folder.


In the "[Environment]" section, I commented-out (put a period in front 
of) the following lines:


qt/force_theme=gtk

qt/platform=lxqt


I then logged-out, and signed-in again.  I can now run 
Menu...Preferences...Qt5 Settings


But I don't have to - the problem (the strange dark color scheme, and 
excessively large window sizes) has gone away.


Thank you for all your help, and also thanks for the suggestions of 
others on this list.


--
Sincerely,
Aere

-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users]   Strange, dark, look-and-feel of qjackctl, qsynth, and      qmidiroute on Lubuntu 18.04

2019-01-10 Thread Israel
On 1/9/19 11:47 AM, Eric Bradshaw wrote:
>
> ...
>
>
> Dear Aere,
>
> The C4C Lubuntu 18.04 ReSpin now uses pkexec
> [https://www.freedesktop.org/software/polkit/docs/0.015/pkexec.1.html]
> in place of gksu. By utilizing the method put forth by and the policy
> files created by Allen Guarnes
> [https://www.allenguarnes.com/technology/resolving-the-missing-gksu-command-in-ubuntu-18-04/]
> 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.
>
> Eric
> --
> Thank you,
> God bless you,
> Computers4Christians
> http://computers4christians.org
>
Hi,

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.

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).

Aere,

I did some looking around and Arch (as per usual) has a really helpful
page about this

https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle

tl;dr

If they are Qt4 apps

echo "[Qt]

style=GTK+" >> ~/.config/Trolltech.conf

If they are Qt5

sudo apt install qt5-style-plugins

Then you need to set this variable (so I am adding it to the xinitrc)

|echo "QT_QPA_PLATFORMTHEME=gtk2" >> .~/xinitrc|

This should get you back on track :D

-- 
Regards

-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users]   Strange, dark, look-and-feel of qjackctl, qsynth, and      qmidiroute on Lubuntu 18.04

2019-01-09 Thread Eric Bradshaw

Lubuntu Users Group:
(Sorry - I initially sent this from the wrong e-mail address)


To mount my NFS drive on my local client systems, I needed something to 
get ask the user for root privilege.

On Lubuntu 16.04, I used gksu, but on Lubuntu 18.04, that package 
appears to be unavailable.

So in its place, I installed lxqt-sudo, and used that.

However, after installing that, a number of applications no longer have 
their normal Gnome look-and-feel, but instead, have a dark look, and 
take up a huge (much more than necessary) amount of screen real-estate.

The applications I'm having this problem with, are:

qjackctl

qsynth

qmidiroute

Does anyone know how I can change them back to their former Gnome 
look-and-feel (or even explain what has happened)?

The strange thing is, on some of my 18.04 systems, this didn't happen - 
those applications still have their usual Gnome look-and-feel.

I have been unable to determine why it is okay on some of my systems, 
and not on other systems.

- Aere

-- 
Sincerely,
Aere


Dear Aere,

The C4C Lubuntu 18.04 ReSpin now uses pkexec 
[https://www.freedesktop.org/software/polkit/docs/0.015/pkexec.1.html] in place 
of gksu. By utilizing
  the method put forth by and the policy files created by Allen Guarnes 
[https://www.allenguarnes.com/technology/resolving-the-missing-gksu-command-in-ubuntu-18-04/]
 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.
Eric--Thank you,God bless 
you,Computers4Christianshttp://computers4christians.org-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Strange, dark, look-and-feel of qjackctl, qsynth, and qmidiroute on Lubuntu 18.04

2019-01-09 Thread Israel
On 1/8/19 5:04 PM, Aere Greenway wrote:
> On 1/8/19 2:07 PM, Israel wrote:
>> On 1/7/19 10:06 PM, Aere Greenway wrote:
>>> Lubuntu Users Group:
>>>
>>> (Sorry - I initially sent this from the wrong e-mail address)
>>>
>>>
>>> To mount my NFS drive on my local client systems, I needed something
>>> to get ask the user for root privilege.
>>>
>>> On Lubuntu 16.04, I used gksu, but on Lubuntu 18.04, that package
>>> appears to be unavailable.
>>>
>>> So in its place, I installed lxqt-sudo, and used that.
>>>
>>> However, after installing that, a number of applications no longer
>>> have their normal Gnome look-and-feel, but instead, have a dark look,
>>> and take up a huge (much more than necessary) amount of screen
>>> real-estate.
>>>
>>> The applications I'm having this problem with, are:
>>>
>>> qjackctl
>>>
>>> qsynth
>>>
>>> qmidiroute
>>>
>>> Does anyone know how I can change them back to their former Gnome
>>> look-and-feel (or even explain what has happened)?
>>>
>>> The strange thing is, on some of my 18.04 systems, this didn't happen
>>> - those applications still have their usual Gnome look-and-feel.
>>>
>>> I have been unable to determine why it is okay on some of my systems,
>>> and not on other systems.
>>>
>>> - Aere
>>>
>> Aere,
>>
>> Those are Qt apps, are you using LXDE or LXQt?
>>
>> If you are using LXDE then, installing lxqt-sudo probably installed some
>> more things, and changed a Qt setting.
>>
>> You can make sure you have the Qt GTK+ engine
>>
>> sudo apt install qt5-gtk-platformtheme
>>
>> This hopefully will fix it.  If not, look for a Qt settings (or KDE
>> settings) in your /usr/share/applications/
>>
>> Then launch this and change it to the qt gtk+ engine
>>
> Israel:
>
> Thank you for your expertise, and your ideas.
>
> I am using LXDE.
>
> I performed the apt install qt5-gtk-platformtheme statement.  It
> indicated the latest version of it was already installed, and the
> newest version.
>
> I launched qjackctl, and it still has the strange, dark, look-and-feel.
>
> I couldn't find anything in /usr/share/applications/ that resembled QT
> settings, or KDE settings.  In Synaptic Package Manager, I searched
> for "kde-settings", "kdesettings", "qt-settings", and "qtsettings",
> but none of those searches found anything.
>
> Is there something I could install that would allow me to change the
> settings?
>
Hi Aere,

I am not 100% sure what needs to be installed, but I found an answer. 
The main thing you need to do is change the Qt theme to use the Qt GTK+
engine.  I am sure there is a way to change the theme from the terminal
(like with GTK), but I don't use Qt as much as FLTK/GTK toolkits.

I found this question on AskUbuntu:

https://askubuntu.com/questions/716714/change-qt5-theme

tl;dr

Use either of these:

lxqt-config

qt5ct

-- 
Regards


-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Strange, dark, look-and-feel of qjackctl, qsynth, and qmidiroute on Lubuntu 18.04

2019-01-08 Thread Aere Greenway

On 1/8/19 2:07 PM, Israel wrote:

On 1/7/19 10:06 PM, Aere Greenway wrote:

Lubuntu Users Group:

(Sorry - I initially sent this from the wrong e-mail address)


To mount my NFS drive on my local client systems, I needed something
to get ask the user for root privilege.

On Lubuntu 16.04, I used gksu, but on Lubuntu 18.04, that package
appears to be unavailable.

So in its place, I installed lxqt-sudo, and used that.

However, after installing that, a number of applications no longer
have their normal Gnome look-and-feel, but instead, have a dark look,
and take up a huge (much more than necessary) amount of screen
real-estate.

The applications I'm having this problem with, are:

qjackctl

qsynth

qmidiroute

Does anyone know how I can change them back to their former Gnome
look-and-feel (or even explain what has happened)?

The strange thing is, on some of my 18.04 systems, this didn't happen
- those applications still have their usual Gnome look-and-feel.

I have been unable to determine why it is okay on some of my systems,
and not on other systems.

- Aere


Aere,

Those are Qt apps, are you using LXDE or LXQt?

If you are using LXDE then, installing lxqt-sudo probably installed some
more things, and changed a Qt setting.

You can make sure you have the Qt GTK+ engine

sudo apt install qt5-gtk-platformtheme

This hopefully will fix it.  If not, look for a Qt settings (or KDE
settings) in your /usr/share/applications/

Then launch this and change it to the qt gtk+ engine


Israel:

Thank you for your expertise, and your ideas.

I am using LXDE.

I performed the apt install qt5-gtk-platformtheme statement.  It 
indicated the latest version of it was already installed, and the newest 
version.


I launched qjackctl, and it still has the strange, dark, look-and-feel.

I couldn't find anything in /usr/share/applications/ that resembled QT 
settings, or KDE settings.  In Synaptic Package Manager, I searched for 
"kde-settings", "kdesettings", "qt-settings", and "qtsettings", but none 
of those searches found anything.


Is there something I could install that would allow me to change the 
settings?


--
Sincerely,
Aere


--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Strange, dark, look-and-feel of qjackctl, qsynth, and qmidiroute on Lubuntu 18.04

2019-01-08 Thread Israel
On 1/7/19 10:06 PM, Aere Greenway wrote:
> Lubuntu Users Group:
>
> (Sorry - I initially sent this from the wrong e-mail address)
>
>
> To mount my NFS drive on my local client systems, I needed something
> to get ask the user for root privilege.
>
> On Lubuntu 16.04, I used gksu, but on Lubuntu 18.04, that package
> appears to be unavailable.
>
> So in its place, I installed lxqt-sudo, and used that.
>
> However, after installing that, a number of applications no longer
> have their normal Gnome look-and-feel, but instead, have a dark look,
> and take up a huge (much more than necessary) amount of screen
> real-estate.
>
> The applications I'm having this problem with, are:
>
> qjackctl
>
> qsynth
>
> qmidiroute
>
> Does anyone know how I can change them back to their former Gnome
> look-and-feel (or even explain what has happened)?
>
> The strange thing is, on some of my 18.04 systems, this didn't happen
> - those applications still have their usual Gnome look-and-feel.
>
> I have been unable to determine why it is okay on some of my systems,
> and not on other systems.
>
> - Aere
>
Aere,

Those are Qt apps, are you using LXDE or LXQt?

If you are using LXDE then, installing lxqt-sudo probably installed some
more things, and changed a Qt setting.

You can make sure you have the Qt GTK+ engine

sudo apt install qt5-gtk-platformtheme

This hopefully will fix it.  If not, look for a Qt settings (or KDE
settings) in your /usr/share/applications/

Then launch this and change it to the qt gtk+ engine

-- 
Regards


-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Strange, dark, look-and-feel of qjackctl, qsynth, and qmidiroute on Lubuntu 18.04

2019-01-08 Thread Nio Wiklund

Den 2019-01-08 kl. 05:06, skrev Aere Greenway:

Lubuntu Users Group:

(Sorry - I initially sent this from the wrong e-mail address)


To mount my NFS drive on my local client systems, I needed something to 
get ask the user for root privilege.


On Lubuntu 16.04, I used gksu, but on Lubuntu 18.04, that package 
appears to be unavailable.


So in its place, I installed lxqt-sudo, and used that.

However, after installing that, a number of applications no longer have 
their normal Gnome look-and-feel, but instead, have a dark look, and 
take up a huge (much more than necessary) amount of screen real-estate.


The applications I'm having this problem with, are:

qjackctl

qsynth

qmidiroute

Does anyone know how I can change them back to their former Gnome 
look-and-feel (or even explain what has happened)?


The strange thing is, on some of my 18.04 systems, this didn't happen - 
those applications still have their usual Gnome look-and-feel.


I have been unable to determine why it is okay on some of my systems, 
and not on other systems.


- Aere



Hi Aere,

I think it would work better, if you use

sudo -H

instead of lxqt-sudo. At least it is worth trying.

If it works without changing the looks of things, you can make a 
function and/or a desktop file for it, to make it easier to use (and to 
avoid forgetting the -H), particularly if other people are to use it for 
setting up the KeyMusician system.


Best regards
Nio

--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users