home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.advocacy      Torvalds farts & fans know what he ate      164,974 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 163,879 of 164,974   
   DFS to Chris Ahlstrom   
   Re: The Essential Difference   
   26 Jan 26 13:37:35   
   
   From: nospam@dfs.com   
      
   On 1/17/2026 7:35 AM, Chris Ahlstrom wrote:   
   > DFS wrote this post by blinking in Morse code:   
   >   
   >>    
   >>   
   >> What file manager do you use on Linux/Pop_OS!?  cosmic-files, thunar,   
   >> Dolphin, Nautilus?   
   >>   
   >> Whatever it is, open 3 or more instances/windows of it (not 3 tabs in   
   >> the same window), arrange the windows left to right on your desktop, and   
   >> navigate to the same directory in all instances.   
   >>   
   >> In any instance, rename a directory (usually F2 to edit) and hit Enter.   
   >> What happens to the directory name shown in the other instances?   
   >>   
   >> Try other file / directory operations:   
   >>    * create a new file   
   >>    * delete a file   
   >>    * create a new folder   
   >>    * delete a folder   
   >>    * using a 3rd party app, modify a file and look for a change to the   
   >>      'date modified' timestamp   
   >   
   > This works fine with Thunar (on my Fluxbox desktop).   
   >   
   > How?   
   >   
   >      $ ps ax|grep notif   
   >      828 ? Ssl 0:00 /usr/lib/xfce4/notifyd/xfce4-notifyd   
      
      
   The spec mentions file tranfers or downloads, but not file modification   
   date changes.  So I don't think notifyd is responsible for tracking file   
   changes in directories opened in thunar.   
      
   https://specifications.freedesktop.org/notification/1.3/categories.html   
      
   Can you kill that daemon and check if thunar still reports file date   
   modification changes?   
      
      
   I'd bet the code for monitoring changes to files in directories open in   
   thunar is in here:   
      
   https://github.com/xfce-mirror/thunar/blob/master/thunar/thunar-file.h   
   https://github.com/xfce-mirror/thunar/blob/master/thunar/thunar-file.c   
      
   * void thunar_file_changed (ThunarFile *file)   
   and   
   * static void thunar_file_monitor ()   
      
      
   Windows File Explorer seems to poll for file changes in open directories   
   every 1000ms (for files modified by outside apps), but I didn't see an   
   obvious timer setting in the thunar code.   
      
      
   > Vim also checks for file changes when the window regains focus.   
      
   Notepad++ (Windows) as well.   
      
   Code in one tab, output file in the other.  When you flip back and   
   forth, the output file tab pops up a dialog saying the file has changed,   
   do you want to reload it?  Handy.   
      
      
      
   > There are various methods, such as dbus and the notify-send   
   > program, to promulgate notifications.   
   >   
   >      $ notify-send "Hello World!" "This is a test notification."   
   >   
   > pops up a little message panel on this Arch laptop, presumably using   
   > xfce4-notifyd.   
   >   
   > Although I prefer Fluxbox, I install Xfce4 for little things like   
   > that.   
      
   xfce4 was a good balance between lightweight and functionality, last   
   time I tried it.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca