cluster
December 22, 2020, 1:40pm
1
I use some custom env rules in /etc/environment
export QT_LOGGING_RULES="*=false"
export EDITOR='nano'
export QT_PLUGIN_PATH=/usr/lib/qt/plugins
urh
the rules work but why are these error messages displayed?
22.12.20 14:01 systemd /usr/lib/environment.d/99-environment.conf:7: invalid variable name "export QT_LOGGING_RULES", ignoring.
22.12.20 14:01 systemd /usr/lib/environment.d/99-environment.conf:8: invalid variable name "export EDITOR", ignoring.
22.12.20 14:01 systemd /usr/lib/environment.d/99-environment.conf:9: invalid variable name "export QT_PLUGIN_PATH", ignoring.
cluster
December 22, 2020, 1:51pm
3
thanks, do I have to remove the quotation too or is this part correct?
QT_LOGGING_RULES="*=false"
EDITOR='nano'
QT_PLUGIN_PATH=/usr/lib/qt/plugins
urh
linesma
December 22, 2020, 2:20pm
4
@cluster In your response, you changed nothing. If you look at your own error logs, it is skipping all three of your variables. The Arch wiki is clear on what needs to be done. I suggest you read it. Also, @jonathon even gave you the answer. HINT - It needs to be applied to ALL the variables to work.
1 Like
mike
December 22, 2020, 2:26pm
5
But he did change it? He removed the invalid "export"s
1 Like
linesma
December 22, 2020, 2:32pm
6
Right, I notice that now. Thank you for pointing it out. My apologies to the OP.
2 Likes
ReemZ
December 22, 2020, 2:33pm
7
He did, though. He removed export from all three lines and is now asking about the quotation marks.
Not sure, but I don’t think so. Give it a try and see what happens?
1 Like
linesma
December 22, 2020, 2:35pm
8
From the reading of the Arch Wiki, and my own variables with plasma, I do not have any quotation marks, tick marks, or any other stuff just blah=blah.
1 Like