[plasmalnf] Preserve environment, so that DISPLAY gets to the tool
This commit is contained in:
parent
d3ef6b07d5
commit
3bdfa63a79
@ -83,7 +83,7 @@ PlasmaLnfJob::exec()
|
||||
else
|
||||
{
|
||||
r = system->targetEnvCall( QStringList(
|
||||
{ "sudo", "-u", gs->value("username").toString(), m_lnfPath, "-a", m_id } ) );
|
||||
{ "sudo", "-E", "-u", gs->value("username").toString(), m_lnfPath, "-a", m_id } ) );
|
||||
}
|
||||
|
||||
if (r)
|
||||
|
Loading…
Reference in New Issue
Block a user