Siduction Forum

Siduction Forum => Software - Support => Topic started by: dibl on 2017/06/05, 22:18:06

Title: LXQt, Qterminal, lxqt-sudo
Post by: dibl on 2017/06/05, 22:18:06
I put an Intel SSD into an old Dell Inspiron N5110, installed Patience LXQt on it, and have everything but one item working as expected.  I installed lxqt-sudo and I observed that it is linked to both "lxsu" and "lxsudo".  So, using Alt-F2 "lxsu" I can start pcmanfm-qt or juffed with root privileges and it works great.  But qterminal is different.  Alt-F2 "lxsu qterminal" fails silently.  Investigating, I was surprised to find that Alt-F2 "qterminal" actually opens qterminal with root privileges (the # prompt).  Clicking on the dock icon for Qterminal opens it as a user with a $ prompt.


Obviously the laptop is fully usable with this configuration, but I decided to report it in case it is a bug, or a user error.


Thanks!
Title: Re: LXQt, Qterminal, lxqt-sudo
Post by: melmarker on 2017/06/06, 01:19:37
it's no bug, it's only the history functionality of the runner :) - and lxsu qterminal should just work. There might be some bug in it where our developers are not exactly sure about inherited (or inheriting ) environment variables. The trick is: If you type `lxsu qterminal` next time you type qterminal in the runner this will be the first item in runner history (the blue one) - if one hit enter the runner will use the marked entry.

Edit: one can change this behaviour in the runners settings (the tree horizontal bars) - the hook in 'show history first'
Title: Re: LXQt, Qterminal, lxqt-sudo
Post by: melmarker on 2017/06/06, 01:45:39
@dibl: that was a really nice one - i filed two bugs:
* Add a Setting for disable the history completely
* Make the shown lines in pulldown configurable

Thanks.
Title: Re: LXQt, Qterminal, lxqt-sudo
Post by: dibl on 2017/06/07, 02:05:11

Quote from: melmarker
@dibl: that was a really nice one - i filed two bugs:


Alf, it is ever my pleasure to make such massive contributions to siduction.


(http://landofthebuckeye.net/roflanimated.gif)
Title: Re: LXQt, Qterminal, lxqt-sudo
Post by: melmarker on 2017/06/07, 19:55:30
Not only to siduction - to LXQt at all - worldwide, all distributions will contain the changes you requested :D
> https://github.com/lxde/lxqt-runner/pull/58
> https://github.com/lxde/lxqt-runner/pull/59

Title: Re: LXQt, Qterminal, lxqt-sudo
Post by: dibl on 2017/06/07, 21:13:18
Well, that is impressive, and thank you Alf for supporting LXQt.  The more I use it on these older laptops, the better I like it.  Fast and light, but with all needed features for common users like me.