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

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
TC-21-32
Posts: 43
Joined: Thu Feb 16, 2023 4:21 am
Location: In my office in MN
Has thanked: 61 times
Been thanked: 11 times

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

Post 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.

Attachments
event.sound files2.png
event.sound files2.png (283.19 KiB) Viewed 565 times

I still miss puppy 4.21. Been a user since 4.11 and never going back.

User avatar
mikewalsh
Moderator
Posts: 5725
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 627 times
Been thanked: 1771 times

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

Post 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. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
pp4mnklinux
Posts: 879
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 548 times
Been thanked: 237 times
Contact:

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

Post 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

-

:arrow:

Starting with Easy OS => https://easyos.org/

F96CE_XFCE_FUSILLI ==> https://puppyxfcefusilli.wordpress.com/

YouTube_ _ _Channel ==> https://bit.ly/f96ce_xfce_fusilli_HOWTO

User avatar
OscarTalks
Posts: 619
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 243 times

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

Post 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.

User avatar
fredx181
Posts: 2705
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 302 times
Been thanked: 1066 times
Contact:

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

Post 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.

User avatar
Chelsea80
Posts: 313
Joined: Tue Mar 09, 2021 12:44 am
Has thanked: 41 times
Been thanked: 64 times

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

Post 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 448 times

Best regards

Chelsea80

Chelsea80

1. BionicPup32+28 19.03 - Linux 4.9.163 - lxpup - 32-pae [i686] - (UPup Bionic Beaver)
....Frugal Install - Internal HDD - Gateway MX8716b - HDD 120GB - RAM 2GB

2. Friendly-Bionic32 v1.1
....USB Stick 2GB

User avatar
OscarTalks
Posts: 619
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 243 times

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

Post 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.

User avatar
Chelsea80
Posts: 313
Joined: Tue Mar 09, 2021 12:44 am
Has thanked: 41 times
Been thanked: 64 times

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

Post 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

Chelsea80

1. BionicPup32+28 19.03 - Linux 4.9.163 - lxpup - 32-pae [i686] - (UPup Bionic Beaver)
....Frugal Install - Internal HDD - Gateway MX8716b - HDD 120GB - RAM 2GB

2. Friendly-Bionic32 v1.1
....USB Stick 2GB

geo_c
Posts: 2652
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1911 times
Been thanked: 753 times

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

Post 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.

geo_c
Old School Hipster, and Such

User avatar
OscarTalks
Posts: 619
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 243 times

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

Post 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.

Attachments
libcanberra-0.30-x86_64-xenial.pet
(38.59 KiB) Downloaded 16 times
libcanberra_DEV-0.30-x86_64-xenial.pet
(6.53 KiB) Downloaded 17 times
User avatar
Chelsea80
Posts: 313
Joined: Tue Mar 09, 2021 12:44 am
Has thanked: 41 times
Been thanked: 64 times

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

Post 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

Chelsea80

1. BionicPup32+28 19.03 - Linux 4.9.163 - lxpup - 32-pae [i686] - (UPup Bionic Beaver)
....Frugal Install - Internal HDD - Gateway MX8716b - HDD 120GB - RAM 2GB

2. Friendly-Bionic32 v1.1
....USB Stick 2GB

Post Reply

Return to “Beginners Help”