LXQt, Qterminal, lxqt-sudo

Begonnen von dibl, 2017/06/05, 22:18:06

Vorheriges Thema - Nächstes Thema

dibl

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!
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

melmarker

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'
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

melmarker

@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.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

dibl


Zitat von: 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.


System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

melmarker

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

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

dibl

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.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.