Quote:
|
I was using installpkg to install a package from /tmp, otherwise I never go there either.
But I am worried, should : Quote:
|
These temporary folders are used by plasma to generate client-side-decorations for gtk apps running inside plasma.
They should be empty or contains a few svg files (like the titlebar and close/minimize/maximize button icons). |
Quote:
So, do I just leave them be? |
You can delete them if you like to, but they will be regenerated when a new application needing CSD is run.
Looking at the code i've not been able to find a function that deletes them, so they are probably supposed to just stay there until something cleans them out. Some distro use a cronjob to run tmpwatch; Slackware has no job, but the rc.S init script takes care of removing some files from /tmp on boot (/tmp/{kde-[a-zA-Z]*,ksocket-[a-zA-Z]*,hsperfdata_[a-zA-Z]*,plugtmp*}), maybe they could be added to this list |
Quote:
Thanks again ctrlaltca |
1 Attachment(s)
As part of an effort to overcome my decades long aversion to writing shell scripts (Perl has been my mainstay), I recently wrote a Bash script to walk the tree in /tmp, deleting files and directories that have not been modified since the last boot. This script might be run as a cron job, just stuffed into an rc script, or run from time to time as the spirit moves you (which is what I do).
The script does not follow symbolic links nor cross or delete mount points. It has a whitelist named DONT_RM conveniently located on line 359. When invoked with the --debug command line argument, the script generates a lot of output to the screen. When invoked with the --verbose command line argument it generates less output. rm and stat commands that fail due to permissions will generate their own error messages regardless. File deletions are memorialized in /var/log/messages, file deletion failures in /var/log/syslog. |
My one-liner, remove files that have not been accessed since last boot:
Code:
$ cd /tmp && find . ! -newerat `uptime -s | cut -d" " -f1` -delete ! -newermt : not modified since ... ! -newerct : not created since ... side note: folks that have stuff (like SBo) in the /tmp directory are adviced not to use such a command ;-) |
This week's new features, bug fixes and performance improvements.
Quote:
|
Today's update:
Code:
Mon Feb 21 20:21:38 UTC 2022 |
Does Eric's chromium work in native Wayland mode when using Plasma-Wayland?
I tried running it as Code:
chromium --enable-features=UseOzonePlatform --ozone-platfrom=wayland Code:
LIBVA_DRIVER_NAME=i915 chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --user-data-dir="/home/lockywolf/.config/chromium" --proxy-server="socks5://127.0.0.1:20006" |
Today's updates:
Code:
Thu Feb 24 05:50:40 UTC 2022 |
This week's new features, bug fixes and performance improvements.
Quote:
|
Today's update:
Code:
Fri Mar 4 06:31:06 UTC 2022 |
At time of KDE4 it started becoming too slow, and same happened in KDE5, so I quit using KDE. :( I wish I didn't have to. :( One knowledgeable user or programmer/sysadmin (on freenode now libera IRC ##slackware) since KDE0 said KDE progressively got worse from versions 0, to 1, 2, 3, 4, 5 and quit using it years before I did. I don't know how I withstood it this long (though I used KDE3.5 when was still in unsupported package set.)
|
All times are GMT -5. The time now is 08:34 PM. |