/etc/gamin/gaminrc with reasonable values by default ?

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

/etc/gamin/gaminrc with reasonable values by default ?

Post by witek »

Hi,

Couldn`t Salix installation provide the file /etc/gamin/gaminrc by default with reasonable values?
This file doesn`t exist and this make systems chokes from time to time. The solution is simply to create this file with reasonable values as described: http://www.salixos.org/forum/viewtopic.php?f=16&t=2385
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: /etc/gamin/gaminrc with reasonable values by default ?

Post by gapan »

There is already a gaminrc, with exactly those settings.
Image
Image
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: /etc/gamin/gaminrc with reasonable values by default ?

Post by witek »

What do you mean already? I`m using updated Salix 13.1 and there was not.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: /etc/gamin/gaminrc with reasonable values by default ?

Post by gapan »

I don't remember about 13.1, but it's there in 13.37.
Image
Image
User avatar
dab1414
Posts: 30
Joined: 2. Jun 2011, 19:26

Re: /etc/gamin/gaminrc with reasonable values by default ?

Post by dab1414 »

gapan wrote:I don't remember about 13.1, but it's there in 13.37.
13.1 does not include the gaminrc that i posted in http://www.salixos.org/forum/viewtopic.php?f=16&t=2385. The gaminrc that i posted is the default one from my 13.37 fluxbox install.
You can easily judge the character of a man by how he treats those who can do nothing for him.
-Unknown


My Linux screenshots:
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: /etc/gamin/gaminrc with reasonable values by default ?

Post by thenktor »

Why does it not use "kernel" instead of "poll"? This causes the nasty pcmanfm refresh issue and AFAIK "kernel" is default without any gaminrc file.

EDIT:
By default gamin should work without needing any configuration, but sometimes using the kernel notification APIs doesn't work or lead to troubles (for example when trying to unmount device). By default gamin revert to using polling for all paths matching /mnt/* or /media/* on Linux. This may be overriden or extended by the one of the three config files /etc/gamin/gaminrc, $HOME/.gaminrc, /etc/gamin/mandatory_gaminrc (note that prior to 0.1.4 only $HOME/.gaminrc was used and fsset was not implemented).
(http://people.gnome.org/~veillard/gamin/config.html)

The SlackBuild only says:
# A safe default is to poll filesystems once every 15 seconds:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply