thunar does not seem to use gamin to show file changes?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
thunar does not seem to use gamin to show file changes?
Hi all,
I found nothing similar here, but some few threads outside linuxquestions.org -- and I got to the conclusion that it probably is a Slackware configuration issue.
I just started using xfce4 that comes with Slackware 12.0 along with its file manager, thunar. While both look great, thunar doesn't reflect file changes unless I manually refresh the content. Any ideas what might cause this? The info I have checked so far, I'm not absolute sure which one of this is really necessary:
kernel is compiled with inotify enabled
rc.messagebus and rc.hald get started when the machine is powered up
HAL, DBUS and gamin are installed and running, at least that's what "ps aux" shows to me
I don't think HAL or DBUS have anything to do with this particular issue, as those are used for handling physical devices and system events, not keeping track of files.
Personally I just thought that Thunar simply didn't update in real time, since other file managers (like ROX) do on my system. Looking it up it turns out it is supposed to, but it isn't working on my system either.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Original Poster
Rep:
Thanks for answering, MS3FGX -- so at least I'm not the only one who can produce this problem Maybe I should try to just recompile gamin and xfce, but I'm confused because the ldd output looks right.
I was not sure about hal and dbus and if they might be involved some way. Thanks for that info.
Any others? I wonder if this the common thunar behaviour in Slackware 12.0. Anyone who don't have this problem at all with Slackware 12.0?
Strange, now that I tried again...it works. I know for a fact it did not during the -current phase, since I noticed a number of times that it was not updating.
I did notice that Slackware does not appear to include any configuration with the gamin package, so you could try creating a per-user configuration to jump start it. The configuration is pretty simple.
You should be able to do a real simple .gaminrc that just contains:
As a test I touched a file in the console, and it appeared immediately in thunar. Then I wrote something to a file, and saved - the no. of bytes increased immediately in thunar.
I see /usr/libexec/gam_server in my ps -ef if that helps
not sure what I have done differently to you, but I will run any test for you if you would like
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Original Poster
Rep:
Thanks to both of you. I created the .gaminrc file now and will reboot in a minute. gam_server is running here, too, that's what deeply confuses me. I did a full install again in VMWare Server to see if it makes any difference. Voilą - it works there, so I guess this functionality depends on any other stock Slackware package. I guess I will remove them one by one in my virtual machine :-/
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Original Poster
Rep:
After reboot it works for my home folder ok, but not for any subfolder of it. I'll have to dig a little bit in the configuration info you send me. Let there be wildcards
In the virtual machine it works "out of the box", like it works for tobyl. I'll get back if I have removed some packages from the full install to see if any of them makes the difference.
Hi,
I had a similar issue in slack 12.1, but had no gam_server process running. I solved starting gam_server with --notimeout switch in rc.local.
Strangely, no default initialization script ran gam on my machine.
What script does in yours?
Thanks
The gam_server is automatically started once an application require it:
From the gamin author:
Quote:
Originally Posted by Daniel Veillard
...
It was really designed so that each user gets a different
server, and when different programs runs for the same user they share
the access. The fact that gam_server got started because application A
or application B on the desktop needed the monitoring feature should
not matter, they really should share the instance.
We really do not want to see a gam_server for nautilus, one for
firefox, etc... The server is dynamically started by the first app
needing FAM, the others connect based on the user ID being shared.
the whole security design of gamin is based on the assumption that all
process running for a given UID share their filesystem permissions
and hence can share the gam_server instances. As a result the server
runs under the ID of the given user.
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.