Page 1 of 1

Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 3:40 am
by TC-21-32

In my root/.cache are about 190 event.sound.cache.tbd......i686-pc-linux-gnu files.
Now way over 200 files.
They’re application/octet stream unknown files.
What purpose do they serve?
Dare I delete them? Was Oscar correct?

Adam Li also asked about them and OscarTalks figured they could be deleted. 2021.
Adam was interested in cutting wasted space. Myself included.
See the link if interested.
viewtopic.php?t=3581&hilit=event.sound.cache+files

Sounds (pun not intended) crazy but one day they’re OpenSSL files for certificates.
Other days, they were Dunst files. Then they’re evif2 files. Today they’re Github files. Sort of “watching you” files.?

Xenialpup64 7.5 eufi iso on a CD. Cooler Master Elite model #? Old win7 machine. 4x AMD Phenom II x4 840 processor. 2 Gig RAM
Nvidia GeForce video. Azalia sound. ASUS M4A87TD legacy Motherboard.
Like an odd smell that won’t go away. TC-21-32 Du. Thank you.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 10:28 am
by mikewalsh

@TC-21-32 :-

I get the same, though in my case they fluctuate between audio "octet-stream" files and Qt-mime files..? I just periodically delete them.

The contents of .cache are there for convenience, nothing more......to save apps needing to repeat so much stuff all the time. If an app looks in .cache to find something, and it isn't there, then 99 times out of 100 it will simply re-create it.

All of which boils down to one thing; you won't hurt anything by deleting stuff in /root/.cache.

Mike. ;)


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 10:39 am
by pp4mnklinux

First of all, I don't know if this could be useful for you.... but I have xenialpup 7.5 installed too... and what works nice for me is BLEACHBIT.

https://en.wikipedia.org/wiki/BleachBit

I think I downloaded it using the Puppy Package Manager...... so if u interesed download, configure and give it a try.

Have a nice day.

CHEERS


https://oldforum.puppylinux.com/viewtopic.php?t=112832

-


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 1:08 pm
by OscarTalks

I am confident that they don't serve any useful function in Puppy and that they can be deleted.
They arise as part of a process designed to produce audible (sound) notifications when certain system events happen, but this is not implemented in Puppy at all.
This involves libcanberra. The Ubuntu (and Debian) builds of libcanberra are complied with the optional dependency on libtdb enabled (not the case with Slackware builds).
Note the .tdb in the name of the event-sound-cache.tdb* files. These cache files crop up because of this optional dependency link being enabled. I believe a new one gets created every time anything happens which would have created a sound notification if it were implemented (which it is not).

Best fix is to grab the corresponding source code package of libcanberra and re-compile it without the optional dependency on libtdb (as I did in the other thread). This stops the event-sound-cache files from being created. This is quite easy, but I know not everyone is comfortable with compiling, so deleting the files manually or automatically via a very simple script is also a way of dealing with the issue.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 1:09 pm
by fredx181
mikewalsh wrote: Mon Apr 10, 2023 10:28 am

@TC-21-32 :-

I get the same, though in my case they fluctuate between audio "octet-stream" files and Qt-mime files..? I just periodically delete them.

The contents of .cache are there for convenience, nothing more......to save apps needing to repeat so much stuff all the time. If an app looks in .cache to find something, and it isn't there, then 99 times out of 100 it will simply re-create it.

All of which boils down to one thing; you won't hurt anything by deleting stuff in /root/.cache.

Mike. ;)

Same for me, for years I frequently delete all contents of ~/.cache and it never had any bad consequences.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Mon Apr 10, 2023 11:11 pm
by Chelsea80

Hello all

If you don't mind I would like confirmation before I carry out the delete of root/cache files

I also have a number of:

event-sound-cache.tdb......i686-pc-linux-gnu (total 585)

qt_compose_cache_little_endian_...... (total 11)

I also have .lxterminal-socket-:0 (total 1)

My OS is BionicPup32-8.0+28 (UPupBB-19.03) - Frugal Install Internal HDD

Would it be OK on my system to delete all of

event-sound - and - qt_compose - and .lxterminal

or leave .lxterminal

Root Cache.jpg
Root Cache.jpg (311.9 KiB) Viewed 460 times

Best regards

Chelsea80


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Tue Apr 11, 2023 12:29 am
by OscarTalks
Chelsea80 wrote: Mon Apr 10, 2023 11:11 pm

event-sound-cache.tdb......i686-pc-linux-gnu (total 585)

Yes, they can accumulate sometimes.
As I said above, I am confident that those can be deleted.
If you look in the other thread (link in the first post of this thread) you will see there is a version of libcanberra which I compiled for Bionic32
Install that .pet (it should overwrite the original built-in Ubuntu libcanberra) and you should find that those files are no longer generated.
Obviously for Xenial64 (which others seem to be running) someone would need to re-compile the libcanberra source in Xenial64 with --disable-tdb configure option.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Tue Apr 11, 2023 12:30 pm
by Chelsea80

@ OscarTalks

Thank you for your help :thumbup2:

Have downloaded your .pet -

When I can grab some (long) spare time I will investigate further -

Best regards

Chelsea80


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Tue Apr 11, 2023 2:12 pm
by geo_c
Chelsea80 wrote: Mon Apr 10, 2023 11:11 pm

Hello all
If you don't mind I would like confirmation before I carry out the delete of root/cache files

I have often delete these cache files with no noticeable affect on system performance. I think the worst thing that could happen is some application may take longer to load or execute as it wouldn't have cached files handy to read. But like I said, I've never noticed a difference. I get a lot of QT shader files in my cache, whatever those are, I have deleted them.

I get tired of deleting them so they tend accumulate.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Tue Apr 11, 2023 7:14 pm
by OscarTalks

I compiled libcanberra in xenial 64bit with optional dependency on libtdb disabled.
XenialPup64 users may wish to try installing the .pet to see if it stops the event-sound-cache files from being created.


Re: Cache maintenance question. .cache.event.sound.tbd files

Posted: Tue Apr 11, 2023 7:56 pm
by Chelsea80

@ geo_c

Thank you for giving your take on deleting cache files :thumbup2:

The consensus of opinion seems to be that it is OK to delete them -

Although when whatever is used that put them there in the first place will do so again -

Perhaps:

1. If not bothered just leave them to acuminulate to an unacceptable total storage size -

2. Regularly manually delete them, say on a monthly basis -

3. Use @ OscarTalks libcanberra-0.30-i686-bionic.pet - That version would be for me as my OS is BionicPup32-8.0+28 (UPupBB-19.03 -

You also say "I get a lot of QT shader files in my cache, whatever those are, I have deleted them." -

They are put there and used as part of the Qt 6.5 LTS software programme -

If you are interested in what that's all about you can look her:

https://doc.qt.io/qt-6/qt-intro.html

Best regards

Chelsea80