Firefox-esr-60

If you have any suggestions or ideas about improving Salix, here's the place to post them.
galmei
Posts: 166
Joined: 1. Jun 2018, 21:54

Re: Firefox-esr-60

Post by galmei »

DidierSpaier wrote: 9. Sep 2018, 17:52 Last, galmei, if you include these lines in ~/.profile, you will never again have to delete the content of ~/. cache as no software that I know will continue to write in it. [...]
Thanks for the hint, didier!

Just for explanation:
The deletion is a reaction to a faulty behavior of my Salix systems. The more files that accumulate in ~/.cache and /tmp, the more conspicuous things arise after booting. For example, the mouse pointer is no longer displayed, but the mouse functions are present; or the clipboard (Clipman) is empty. During shutdown, the background remains and the hardware is no longer turned off. This behavior started with Salix Xfce 14.0. In my memory, the versions 13.* showed no such behavior. Initially, I manually deleted, then added program text to rc.local_shutdown for auto-help and testing. The testing is very time consuming and for lack of time I could not test everything and that's why it stayed with the extinguishing process. Why I came to deleting files, I do not remember today. The behavior occurs on two different Fujitsu-Siemens Esprimo (nVIDIA and SiS). Both have had their power supplies, hard drives and memory replaced for other reasons. That did not affect the behavior. Maybe it's the swapper or file system or Xfce or it's a shutdown error. I dont know.

The script checks if the unwanted files and directories (as below) are older than the current OS session and deletes them if necessary. Thus, the difficulties no longer occur.

Code: Select all

      # directories from each user home
      hdlist=(
#         .cache/midori/adblock
         .cache/midori/thumbnails
         .cache/midori/web
         .cache/mozilla/firefox/pb5qbs4e.default/cache2/entries
         .cache/mozilla/firefox/pb5qbs4e.default/safebrowsing
         .cache/mozilla/firefox/pb5qbs4e.default/startupCache
         .cache/mozilla/firefox/pb5qbs4e.default/thumbnails
#         .cache/sessions
         .thumbnails/normal
      )

      # directories from /tmp
      tdlist=(
         /tmp/.ICE-unix
         /tmp/gpg-*
         /tmp/icedteaplugin-*
#         /tmp/ssh-*
      )

      # files from /tmp
      tflist=(
         /tmp/*.part
#         /tmp/.xfsm-ICE-*
      )
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: Firefox-esr-60

Post by DidierSpaier »

@galmei: One more hint.

If you include this line in /etc/fstab, you won't have to clean /tmp either, as it will be emptied at next shutdown or reboot:

Code: Select all

tmpfs            /tmp             tmpfs       defaults         0   0
Just be carefully not to put in /tmp anything that should survive a reboot.
Post Reply