I did log out of the graphical session, I pretty much do everything from GUI unless for some reason I find a CLI more convenient. In this case only GUI was needed until I opened the terminal (after logging back in) and tried libreoffice command just to see if it was an inconsistency at the file association end.
What I understand is:
this:
is now set in the environment.
And still you have issues.
But I donāt know what these are.
When I launch from terminal libreoffice sees that variable, when I launch libreoffice by double clicking an associated file in thunar (the default file manager installed when I installed the XFCE package) the variable seems to have been scrubbed out as though itās been put in a flatpak session (yet the libreoffice I have installed is not listed under flatpak but official repositories).
Let me rephrase that:
What is the actual problem that you have?
The instance of libreoffice that is dark is opened from main menu, I saved the empty file I opened into my home directoryās documents folder. Then I went to thunar and double clicked the file to open it in libreoffice again (the bright one saying read only mode). Both instances should have the same dark theme applied via gtk3 but for whatever reason the instance launched via thunarās double click method (and probably by hitting enter when itās selected) never has the theme applied. Adding the variable to .pam_environment
fixed the issue until the .pam_environment
got disabled. Iād like to force that instance from thunar to also see that globally set variable via whatever method is now recommended over .pam_environment
since I donāt want to expose myself to that security hole (author of pam didnāt seem to want to fix it since he was disabling it altogether anyways).
Aha - a theming problem.
I also find the virtual white sheet of paper annoying.
But:
I do not ever use libreoffice - not the writer.
So:
I never bothered to investigate - since I donā use it, I also donāt even notice it.
I use Lyx
for my writing needs. Letters, mostly.
I cannot provide further guidance or assistance. Sorry!
Well at least you tried, and at least you taught me a few new files to be aware of.
It should work if you uncomment the respective value from the /etc/profile.d/libreoffice-fresh.sh
file and reboot.
Already did that as it was suggested above. Had no effect on the thunar launched libreoffice. No idea if it effected the terminal and main menu launched instances, I donāt normally open libreoffice that way.
Edit: Do you mean a full reboot? As in not just log out but restart the whole laptop?
This seems to be a Cinnamon-specific issue. There is a question on StackOverflow from 9 years ago which is not really answered.
https://superuser.com/questions/881102/etc-profile-not-being-sourced-at-login
A relogin should be enough, it was when I just tested it but to be safe, try with a reboot.
Will do then, after I finish with my daily job search that is.
Edit: Nope, a full reboot didnāt resolve it either
Iām giving up for tonight, with any luck thereāll be a response by midday 2mw with a new idea to try. Otherwise I might just have to fork pam and try to fix whatever the security issue was so I can re-enable the .pam_enviroment
file
I thought your issue was a visual one, with libreoffice
ā¦
bold statement
You could also try in /etc/environment
It is. If it werenāt for that security issue I wouldāve just re-enabled .pam_environment
and checked if that resolves the issue like it used to. Iām a hobbyist C programmer so attempting to fix the issue isnāt that leap for me to try. The average user probably wouldnāt be able to try that but I imagine thereās plenty like me who could if only they could be bothered (assuming they could find the time for it). Iām not dissing them by any means, I have an issue with focus myself which is likely a result of ADHD. Havenāt got the assessment yet but too many of the listed ADHD traits lined up with my own for me to think I donāt have it.
Youāre gonna have to clue me in on that one since I have no such directory and Iām terrible at finding path based information. Functions and commands are one thing but paths are just harder for me to look up.
Itās a file.
something to work on, not something to parade
ah, edited in the variable now. Do I need to do a full reboot again or will a logout suffice?
What made you think I was parading it? Just pointing out why I wasnāt holding lack of interest or being bothered against