Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatic file reloading doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Sat Jul 26, 2014 12:39 pm    Post subject: Automatic file reloading doesn't work Reply with quote

Hi, I didnt know to which category this issue fits so I post it to "other things".

Can you please help me with this strange issue?

Recently I have noticed problem with "automatic file reloading". The situation when you have openned for instance pdf file in some reader, then you change that file from the outside (pdflatex or something) and reader should automatically reload the recent version of the file. It stopped working and I have no idea why.

It used to work in zathura and vim.

Can you please help?
Thank you
Back to top
View user's profile Send private message
x0fis
n00b
n00b


Joined: 30 May 2013
Posts: 10

PostPosted: Sun Jul 27, 2014 5:47 am    Post subject: Reply with quote

Maybe you added parameter noatime to /etc/fstab
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Sun Jul 27, 2014 12:02 pm    Post subject: Reply with quote

Thanks for the reply.
I have noatime only on / and /boot, but not on /home (where the problem is)

Code:
/dev/sda3      /home            auto      defaults      0 0
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3833
Location: The Peanut Gallery

PostPosted: Sun Jul 27, 2014 4:00 pm    Post subject: Reply with quote

That's usually done via inotify support in the kernel. What have you upgraded recently?

You'll have a much better time getting support if you use IRC: chat.freenode.net and /join #gentoo although it's hard to know what the issue is here. #gentoo-chat are also very good if you need somewhere that's not quite so busy and focussed on support, though ask your support questions in the main channel.

atime shouldn't have anything to do with in any case, as it's mtime that matters. Check USE changes for apps you use, if you're sure your kernel config is good, as well as what's been upgraded.
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Sun Jul 27, 2014 5:10 pm    Post subject: Reply with quote

Thank you.
I have asked on IRC before creating this topic. You have right, its better, cause sometimes is possible to solve issues in a few minutes, but this time anyone answered.

I use manually build kernel (not genkernell)
Code:
$[FrostyX  bin]-> uname -a
Linux thinkpad 3.12.21-gentoo-r1 #1 SMP Wed Jul 23 16:55:03 CEST 2014 i686 Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz GenuineIntel GNU/Linux


Code:
$[FrostyX  bin]-> ls -l /usr/src/linux
lrwxrwxrwx 1 root root 23 Jul 23 16:35 /usr/src/linux -> linux-3.12.21-gentoo-r1


and inotify support is included
Code:
$[FrostyX  bin]-> cat /usr/src/linux/.config |grep INOTIFY
CONFIG_INOTIFY_USER=y



I think USE flags are fine. For instance zathura has very few flags so there are not many options.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum