Reinstalling OS from the scratch with standard Arc Dark theme doesn’t solve the problem. The problem still persist and I do not know what to do. Posted the bug on Thunar GitLab.
After reinstalling the OS did you upgrade the glib2 again?
What do you mean by Upgrade glib2? Did you do a sudo pacman -Syu or you did sudo pacman -S glib2?
I’ve been using XFCE/Thunar for ages now even upgraded to 4.18. Everything works with no issues at all. In your bug report, you say it worked for one day after installing it from scratch.
First of all, there are a few things that are seriously wrong here. The package glib is no longer available in the official repo and AUR, and the latest version of thunar depends on glib2, not glib (if you run pactree thunar, you can see that it depends on glib2, not glib).
The error message referenced a file on your system named ../glib/gio/gmenuexporter.c, but this file should not be there if you’d upgraded your system correctly. For glib2, the gmenuexporter file is a C header file (with .h extension) as opposed to a C source file.
This means that for some reason, glib is still installed on your system, which shouldn’t be the case because the package glib is no longer on the AUR or official repo. It also means that the version of thunar that is currently installed on your system is somehow still using glib even though the latest version of thunar in the official repo depends on glib2, not glib.
thunar and glib2 has the same Build Date (thunar was built after glib2), so it’s possible that thunar has been rebuilt to use glib2 when glib was replaced with glib2 in the official repo. From this, we can infer that you have somehow upgraded glib to glib2 without also upgrading thunar. In other words, you have likely performed a partial upgrade.
Here are a few things that you can do.
Run sudo find / -name gmenuexporter.c to obtain the full path of the file reported in the error message. Then, use pacman to check which package owns that file (by running pacman -Qo /full/path/to/glib/gio/gmenuexporter.c). If you are using glib2 that file shouldn’t even be there? On glib2 the file should be /usr/include/glib-2.0/gio/gmenuexporter.h
Run pacman -Qi thunar to see if you have the latest version of thunar. The latest version in the official repo (at the time of this writing) is 4.18.1-1.
If your thunar isn’t up-to-date, run sudo pacman -Syu. Hopefully this would resolve the issue.
@anthony93@s4ndm4n
Guys, hi! First of all, thank you for coming by and for answers.
But second, why do you read from my post something what it doesn’t contain? Maybe it is my English. Sorry if so. I will try to clarify everything in this message.
In short:
I didn’t do a partial upgrade.
I don’t have the old version of thunar.
I don’t have an old glib in my system.
I am very grareful that you came by, but you choose the wrong direction.
I tried to be more specific with my question so I found the package in upgrade what caused the problem. It was glib2 2.74.3-1 update to glib2 2.74.4-1 (with the yay -Syu command). I don’t know where to go further to solve a problem.
Thank you again for answers. I still don’t know what to do else.
As you see, now I even reinstalled EnOS with the latest ISO. And thunar worked one day. On the second day it gave me the same error with glib.
That’s exactly why we all suspect a partial upgrade. Thunar was working fine when you first installed Endeavour, and then it broke the next day. Something must have happened in between to mess up its dependencies.
If you did something before you reinstalled EOS and it broke thunar, and then do something similar after u reinstall EOS, thunar will likely break again, which is exactly what happened in your case.
Thunar was working fine after you reinstalled EOS. U used the system for one day (you do stuff in between, install packages? Upgrade system), and then thunar broke exactly the same way it broke before u reinstall.
Yes, performed, of course. Everything is up to date.
I believe it might be something with vala-panel-appmenu, you can read my thoughts about it in the thunar gitlab issue post. It uses the DBus, maybe there is the place where the problem occurs?
Of course. This is the reason I mentioned that I did standart Arc Dark theming and vala-panel-appenu install. But I had it working for many months before experiencing this problem.
I do not think the problem in a way I installed it, but in a way vala-panel-appmenu works, But it’s only recent indea derived in my head from thunar contributor message.