LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-16-2011, 01:16 PM   #1
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Rep: Reputation: 12
A Way to Log the Directories that I Open ?


This has been one of those on again off again problems I've been working at for several weeks.

My little problem:
I stretch my GUI pretty hard (I'm a gnome guy). And from time to time I do crash my GUI.

I use Nautilus most of the time though I've used other file managers (Thunar, PCMan and Gnome Commander) and I'm not married to Nautilus.

Would you know of a way that I could log all of the directories (not files) that I open in Nautilus (preferably time stamped). Either that or if you know of a file manager that has that sort of functionality? Even better if there was one that has a session saving capability built into the file manager.

I've also looked into various CLI programs such as fspy, and atsar that don't seem to do what I'm looking for.

I've even checked out Activity Journal, zeitgeist, Beagle, Tracker and a bunch of other stuff trying to figure this one out.

Got any directions you could point me at?
 
Old 06-17-2011, 06:13 AM   #2
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Original Poster
Rep: Reputation: 12
Well this is pretty cool; which I am posting in case it helps someone else in the future.

script is a command that makes a typescript of everything printed on your terminal.

That's really a lot more information than I am looking for but it at least gets me a start. If I could find a way to limit this to 'just' the directory that I navigate to that would be even better.

Thanks for anyone that can point me to a meaningful direction.
 
Old 07-07-2012, 11:39 AM   #3
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Original Poster
Rep: Reputation: 12
I've visited the inotify page on a couple of occasions and I see some potential here. But as of yet I can't quite grasp how I can implement this.

The quick description is inotify is a Linux kernel subsystem that acts to extend filesystems to notice changes to the filesystem, and report those changes to applications.

Maybe someone how there is trying to put together what I am looking for. I noticed one of the limitations of inotify however is that it does not support recursively watching directories, meaning that a separate inotify watch must be created for every subdirectory.

So; I continue my search :-)
 
  


Reply

Tags
file manager, logging, nautilus


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] remove directories that only contain .txt and .log files? jmark Linux - Newbie 13 08-09-2010 04:55 AM
Can't open /var/log/clamav/freshclam.log in append mode i_nomad Linux - Software 2 07-14-2009 06:06 AM
SMF log directories linuxtesting2 Solaris / OpenSolaris 2 09-28-2006 12:16 PM
Changing ownership of directories; /var/log/messages questions Micro420 Linux - General 6 04-21-2006 09:39 PM
Do we need to create the log and db directories by ourselves Niceman2005 Linux - Software 0 11-17-2004 10:08 PM


All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration