Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 09 Dec 2019, 01:19
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Programs that "remember" which files you have recently used
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
perdido


Joined: 09 Dec 2013
Posts: 1425
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Mon 25 Nov 2019, 15:24    Post subject:  Programs that "remember" which files you have recently used
Subject description: Looking about this is what I have seen
 

This post is relative to information presented in the puppy linux forum topic
Disable GTK "recently used files"

Which isolated that issue to the following file
/root/.local/share/recently-used.xbel
plus came up with a solution for neutering that file......

I saw some interesting comments from forum member musher0 about a variety of programs that record what they are doing and store that info in a file.
That made me curious as to which programs do this and which files that info is stored in.

The reasons for storing this information are mainly for program configuration and ease of use for the users.
Its easier to open the program and start right where you left off - unless you have more than one person using the same computer and
you may not want to share that info.

The following is a list of the programs (and the files used) that I have found that store directory and file information.
I know that there have to be more.....
If a program starts and remembers where you left off it is storing "last used" information.

You may not have some of the programs that I have listed depending on what you have added to your puppy.
They all seem to be listed in either the /root/.config/ or /root/ directories.

Please add to this list when you see programs that I have missed.

/root/
*******
├── .inkscapelite
.....└── preferences.xml

├── .notecase
.....└── notecase.ini

├── .PeaZip
.....└── bookmarks.txt
.....└── conf.txt

├── .pfilesearch
.....└── hits
.....└── tmp
.........└── pfilesearch-allfiles
.........└── pfilesearch-tmp

/root/.config/
**************
├── abiword
.....└── profile

├── epdfview
.....└── main.conf

├── Foxit Software
.....└── Foxit Reader.conf

├── geany
.....└── geany.conf

├── mm_view
.....└── lastdir

├── vlc
.....└── vlc-qt-interface.conf

├── xfe
.....├── xfprc
.....├── xfvrc
.....└── xfwrc

.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14528
Location: Gatineau (Qc), Canada

PostPosted: Mon 25 Nov 2019, 18:53    Post subject:  

Good search, perdido. Thanks.

If I may add a few more --
mtpaint has the latest dirs and pics viewed in /root/.mtpaint. For the pictures, at lines
30 and ff. ; for the dirs, at lines 40 and ff. (This will vary a bit according to your use.)

geany will keep drafts of the files you are working on -- in addition to its history file
proper -- if you activate the Save plugin, like so:
in main geany menu: Edit -> Plugin Preferences
Then click on the Save Actions tab, and configure the Auto Save, Instant Save and
Backup Copy tabs to your liking. Press Apply to save your configs. (Pls see capture.)

After that, if something happens and you think you've lost a text you were working
on, you'll find a series of draft copies of that text in the directory you defined for
back-up. So not all will be lost, only the part between the time of the last auto-save
and the time of the malfunction.

Finally, that auto-save directory can grow pretty big pretty fast, depending on the
save interval you chose: it needs to be cleaned up selectively once and a while.

~~~~~
If one uses the console much, one can locate a command used a while back
in file /root/.history with the less or more utilities; highlight it, paste it on the
command line, and hit return to restart it. (Note: some versions of bash use the file
/root/.bash_history instead.)

For a recently used command, hitting up arrow or down arrow a few times on
the middle keypad in the console should be enough to find it again -- you just hit
Enter to restart it.

If you are a less or sqlite user, both have a history file;
for less: /root/.lesshst
for sqlite: /root/.sqlite_history.

~~~~~

IHTH
geany-save-actions.jpg
 Description   
 Filesize   95.18 KB
 Viewed   129 Time(s)

geany-save-actions.jpg


_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1425
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Mon 25 Nov 2019, 22:59    Post subject:  

Hi musher0,

Thanks for adding to the list! Smile
I got the idea from your post in the other thread, not common info but could be useful to know.

.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14528
Location: Gatineau (Qc), Canada

PostPosted: Mon 25 Nov 2019, 23:20    Post subject:  

My pleasure, perdido.

On this same subject, would you happen to know if mplayer and mpv have history files?
I did look but could not find any. It would be quite handy.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1942
Location: Japan

PostPosted: Mon 25 Nov 2019, 23:54    Post subject:  

musher0 wrote:
I did look but could not find any
mplayer: /root/.local/share/recently-used.xbel
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14528
Location: Gatineau (Qc), Canada

PostPosted: Tue 26 Nov 2019, 02:10    Post subject:  

MochiMoppel wrote:
musher0 wrote:
I did look but could not find any
mplayer: /root/.local/share/recently-used.xbel


Even if you start it from console?

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14528
Location: Gatineau (Qc), Canada

PostPosted: Tue 26 Nov 2019, 02:32    Post subject:  

Double-checked:
mp4 files opened with mpv are listed in the recently-used.xbel file, but
not opus musical files.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0375s ][ Queries: 12 (0.0040s) ][ GZIP on ]