0 Members and 6 Guests are viewing this topic.
Valtam, is there a way to trick zenity to use space instead of "_"?
#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')#iconic="/usr/share/pixmaps/litecleaner.png"# workaround for zenity trying to execute FALSE as a commandfalse=$(printf "FALSE")# Testing if firefox is installedif [ `builtin type -p firefox` ];then FFCACHESIZE=$(du -sh "$HOME/.cache/mozilla/"| awk '{print $1}') firefox=$(echo -e $false "Clean_Firefox" Internet Safe You_can_currently_remove-$FFCACHESIZE-from_your_Firefox_cache )elsefirefox=$(echo ) # Hide Firefox from the listfi# Testing if google-chrome is installedif [ `builtin type -p google-chrome` ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' ) chrome=$(echo $false "Clean_Chrome" "Internet" "Safe" "You_can_currently_remove-$GCCACHESIZE-from_your_Chrome_cache" ) elsechrome=$(echo ) # Hide Google Chrome from the listfi# Testing if chromium is installedif [ `builtin type -p chromium-browser` ]; then CHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}') chromium=$(echo $false "Clean_Chromium" "Internet" "Safe" "You_can_currently_remove-$CHRCACHESIZE-from_your_Chromium_cache" )elsechromium=$(echo ) # Hide chromium-browser from the listfiselection=$(zenity --window-icon="$ic" --list --checklist --width=780 --height=420 --column="Select" --column="Name" --column="Category" --column="Status" \ --column="Description" --text='Select the task you wish to perform, then click the Begin button. Sort Categories by clicking on the column.\n\nThere are 2 levels of <b>Status</b>:\n<span foreground="green">Safe</span> - Safe to perform, no harm can be done.\n<span foreground="red">Caution</span> - Proceed with caution, read the warning on the proceeding step.\n\nYou can select multiple tasks to perform (password required for some tasks).' --title="Lite Cleaner" --ok-label="Begin" --cancel-label="Quit" \TRUE "Clean package cache" "Packages" "Safe" "You can currently remove $APTCACHESIZE worth of files from your apt cache" \FALSE "Autoremove packages" "Packages" "Safe" "Remove packages installed for programs that are no longer present" \$firefox \$chrome \$chromium \FALSE "Clear thumbnail cache" "Images" "Safe" "You can currently remove $THUMBCACHESIZE from your thumbnail cache" \FALSE "Empty your Trash Bin" "Home" "Safe" "You can currently remove $TRASHCACHESIZE from your Trash bin" \FALSE "Locate large files" "System" "Caution" "Find files on your system larger than 50MB" )# [Future feature, DO NOT enable] FALSE "Remove old kernels" "System" "Caution" "Remove kernels you no longer wish to boot from" )# Exec scriptsecho $selection | grep "Clean package cache" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/aptgetclean 2>/dev/nullfiecho $selection | grep "Autoremove packages" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/autoremovepkg 2>/dev/nullfiecho $selection | grep "Clean_Firefox" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/firefox 2>/dev/nullfiecho $selection | grep "Clean_Chrome" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/chrome 2>/dev/nullfiecho $selection | grep "Clean_Chromium" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/chromium 2>/dev/nullfiecho $selection | grep "Clear thumbnail cache" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/thumbnails 2>/dev/nullfiecho $selection | grep "Empty your Trash Bin" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/emptytrash 2>/dev/nullfiecho $selection | grep "Locate large files" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/files50 2>/dev/nullfi# [Future feature, DO NOT enable]# echo $selection | grep "Remove old kernels" > /dev/null# if [ $? = 0 ];then# /usr/scripts/clean/remkernels 2>/dev/null# fi
Delete 24.6kB /usr/share/locale/el/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/el/LC_MESSAGES/libapt-inst1.5.moDelete 36.9kB /usr/share/locale/el/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/el/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/el/LC_MESSAGESDelete 4.1kB /usr/share/locale/elDelete 36.9kB /usr/share/locale/uk/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/uk/LC_MESSAGES/libapt-inst1.5.moDelete 36.9kB /usr/share/locale/uk/LC_MESSAGES/exo-1.moDelete 49.2kB /usr/share/locale/uk/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/uk/LC_MESSAGESDelete 4.1kB /usr/share/locale/ukDelete 32.8kB /usr/share/locale/kk/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/kk/LC_MESSAGESDelete 4.1kB /usr/share/locale/kkDelete 24.6kB /usr/share/locale/nb/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/nb/LC_MESSAGES/libapt-inst1.5.moDelete 24.6kB /usr/share/locale/nb/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/nb/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/nb/LC_MESSAGESDelete 4.1kB /usr/share/locale/nbDelete 20.5kB /usr/share/locale/hr/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/hr/LC_MESSAGESDelete 4.1kB /usr/share/locale/hrDelete 32.8kB /usr/share/locale/ug/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/ug/LC_MESSAGESDelete 4.1kB /usr/share/locale/ugDelete 16.4kB /usr/share/locale/pt_BR/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/pt_BR/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/pt_BR/LC_MESSAGES/exo-1.moDelete 24.6kB /usr/share/locale/pt_BR/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/pt_BR/LC_MESSAGESDelete 4.1kB /usr/share/locale/pt_BRDelete 12.3kB /usr/share/locale/nn/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/nn/LC_MESSAGES/libapt-inst1.5.moDelete 24.6kB /usr/share/locale/nn/LC_MESSAGES/exo-1.moDelete 20.5kB /usr/share/locale/nn/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/nn/LC_MESSAGESDelete 4.1kB /usr/share/locale/nnDelete 28.7kB /usr/share/locale/lv/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/lv/LC_MESSAGESDelete 4.1kB /usr/share/locale/lvDelete 28.7kB /usr/share/locale/pt/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/pt/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/pt/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/pt/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/pt/LC_MESSAGESDelete 4.1kB /usr/share/locale/ptDelete 28.7kB /usr/share/locale/de/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/de/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/de/LC_MESSAGES/exo-1.moDelete 41kB /usr/share/locale/de/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/de/LC_MESSAGESDelete 4.1kB /usr/share/locale/deDelete 24.6kB /usr/share/locale/ne/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/ne/LC_MESSAGES/libapt-inst1.5.moDelete 32.8kB /usr/share/locale/ne/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ne/LC_MESSAGESDelete 4.1kB /usr/share/locale/neDelete 24.6kB /usr/share/locale/nl/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/nl/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/nl/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/nl/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/nl/LC_MESSAGESDelete 4.1kB /usr/share/locale/nlDelete 28.7kB /usr/share/locale/mr/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/mr/LC_MESSAGES/libapt-inst1.5.moDelete 36.9kB /usr/share/locale/mr/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/mr/LC_MESSAGESDelete 4.1kB /usr/share/locale/mrDelete 16.4kB /usr/share/locale/eu/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/eu/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/eu/LC_MESSAGES/exo-1.moDelete 24.6kB /usr/share/locale/eu/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/eu/LC_MESSAGESDelete 4.1kB /usr/share/locale/euDelete 36.9kB /usr/share/locale/bg/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/bg/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/bg/LC_MESSAGES/exo-1.moDelete 49.2kB /usr/share/locale/bg/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/bg/LC_MESSAGESDelete 4.1kB /usr/share/locale/bgDelete 28.7kB /usr/share/locale/ko/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/ko/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/ko/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/ko/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ko/LC_MESSAGESDelete 4.1kB /usr/share/locale/koDelete 28.7kB /usr/share/locale/da/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/da/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/da/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/da/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/da/LC_MESSAGESDelete 4.1kB /usr/share/locale/daDelete 24.6kB /usr/share/locale/sv/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/sv/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/sv/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/sv/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/sv/LC_MESSAGESDelete 4.1kB /usr/share/locale/svDelete 28.7kB /usr/share/locale/sl/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/sl/LC_MESSAGES/libapt-inst1.5.moDelete 36.9kB /usr/share/locale/sl/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/sl/LC_MESSAGESDelete 4.1kB /usr/share/locale/slDelete 28.7kB /usr/share/locale/sk/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/sk/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/sk/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/sk/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/sk/LC_MESSAGESDelete 4.1kB /usr/share/locale/skDelete 28.7kB /usr/share/locale/dz/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/dz/LC_MESSAGES/libapt-inst1.5.moDelete 45.1kB /usr/share/locale/dz/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/dz/LC_MESSAGESDelete 4.1kB /usr/share/locale/dzDelete 8.2kB /usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/ar/LC_MESSAGES/libapt-inst1.5.moDelete 32.8kB /usr/share/locale/ar/LC_MESSAGES/exo-1.moDelete 20.5kB /usr/share/locale/ar/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ar/LC_MESSAGESDelete 4.1kB /usr/share/locale/arDelete 28.7kB /usr/share/locale/et/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/et/LC_MESSAGESDelete 4.1kB /usr/share/locale/etDelete 24.6kB /usr/share/locale/km/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/km/LC_MESSAGES/libapt-inst1.5.moDelete 41kB /usr/share/locale/km/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/km/LC_MESSAGESDelete 4.1kB /usr/share/locale/kmDelete 28.7kB /usr/share/locale/fr/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/fr/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/fr/LC_MESSAGES/exo-1.moDelete 41kB /usr/share/locale/fr/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/fr/LC_MESSAGESDelete 4.1kB /usr/share/locale/frDelete 28.7kB /usr/share/locale/es/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/es/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/es/LC_MESSAGES/exo-1.moDelete 32.8kB /usr/share/locale/es/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/es/LC_MESSAGESDelete 4.1kB /usr/share/locale/esDelete 28.7kB /usr/share/locale/ur/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/ur/LC_MESSAGESDelete 4.1kB /usr/share/locale/urDelete 24.6kB /usr/share/locale/sq/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/sq/LC_MESSAGESDelete 4.1kB /usr/share/locale/sqDelete 16.4kB /usr/share/locale/tl/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/tl/LC_MESSAGES/libapt-inst1.5.moDelete 24.6kB /usr/share/locale/tl/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/tl/LC_MESSAGESDelete 4.1kB /usr/share/locale/tlDelete 41kB /usr/share/locale/th/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/th/LC_MESSAGES/libapt-inst1.5.moDelete 57.3kB /usr/share/locale/th/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/th/LC_MESSAGESDelete 4.1kB /usr/share/locale/thDelete 28.7kB /usr/share/locale/id/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/id/LC_MESSAGESDelete 4.1kB /usr/share/locale/idDelete 28.7kB /usr/share/locale/gl/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/gl/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/gl/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/gl/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/gl/LC_MESSAGESDelete 4.1kB /usr/share/locale/glDelete 28.7kB /usr/share/locale/ur_PK/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/ur_PK/LC_MESSAGESDelete 4.1kB /usr/share/locale/ur_PKDelete 16.4kB /usr/share/locale/ro/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/ro/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/ro/LC_MESSAGES/exo-1.moDelete 24.6kB /usr/share/locale/ro/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ro/LC_MESSAGESDelete 4.1kB /usr/share/locale/roDelete 12.3kB /usr/share/locale/cy/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/cy/LC_MESSAGES/libapt-inst1.5.moDelete 16.4kB /usr/share/locale/cy/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/cy/LC_MESSAGESDelete 4.1kB /usr/share/locale/cyDelete 28.7kB /usr/share/locale/cs/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/cs/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/cs/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/cs/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/cs/LC_MESSAGESDelete 4.1kB /usr/share/locale/csDelete 8.2kB /usr/share/locale/lt/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/lt/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/lt/LC_MESSAGES/exo-1.moDelete 16.4kB /usr/share/locale/lt/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/lt/LC_MESSAGESDelete 4.1kB /usr/share/locale/ltDelete 28.7kB /usr/share/locale/be/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/be/LC_MESSAGESDelete 4.1kB /usr/share/locale/beDelete 28.7kB /usr/share/locale/he/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/he/LC_MESSAGESDelete 4.1kB /usr/share/locale/heDelete 4.1kB /usr/share/locale/si/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/si/LC_MESSAGESDelete 4.1kB /usr/share/locale/siDelete 32.8kB /usr/share/locale/ja/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/ja/LC_MESSAGES/libapt-inst1.5.moDelete 32.8kB /usr/share/locale/ja/LC_MESSAGES/exo-1.moDelete 49.2kB /usr/share/locale/ja/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ja/LC_MESSAGESDelete 4.1kB /usr/share/locale/jaDelete 36.9kB /usr/share/locale/sr/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/sr/LC_MESSAGESDelete 4.1kB /usr/share/locale/srDelete 4.1kB /usr/share/locale/ku/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/ku/LC_MESSAGES/libapt-inst1.5.moDelete 8.2kB /usr/share/locale/ku/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ku/LC_MESSAGESDelete 4.1kB /usr/share/locale/kuDelete 28.7kB /usr/share/locale/tr/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/tr/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/tr/LC_MESSAGES/exo-1.moDelete 36.9kB /usr/share/locale/tr/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/tr/LC_MESSAGESDelete 4.1kB /usr/share/locale/trDelete 24.6kB /usr/share/locale/zh_CN/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/zh_CN/LC_MESSAGES/libapt-inst1.5.moDelete 24.6kB /usr/share/locale/zh_CN/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/zh_CN/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/zh_CN/LC_MESSAGESDelete 4.1kB /usr/share/locale/zh_CNDelete 32.8kB /usr/share/locale/vi/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/vi/LC_MESSAGES/libapt-inst1.5.moDelete 49.2kB /usr/share/locale/vi/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/vi/LC_MESSAGESDelete 4.1kB /usr/share/locale/viDelete 16.4kB /usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/zh_TW/LC_MESSAGES/libapt-inst1.5.moDelete 24.6kB /usr/share/locale/zh_TW/LC_MESSAGES/exo-1.moDelete 24.6kB /usr/share/locale/zh_TW/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/zh_TW/LC_MESSAGESDelete 4.1kB /usr/share/locale/zh_TWDelete 16.4kB /usr/share/locale/fi/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/fi/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/fi/LC_MESSAGES/exo-1.moDelete 24.6kB /usr/share/locale/fi/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/fi/LC_MESSAGESDelete 4.1kB /usr/share/locale/fiDelete 24.6kB /usr/share/locale/ast/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/ast/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/ast/LC_MESSAGES/exo-1.moDelete 28.7kB /usr/share/locale/ast/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ast/LC_MESSAGESDelete 4.1kB /usr/share/locale/astDelete 4.1kB /usr/share/locale/bs/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/bs/LC_MESSAGES/libapt-inst1.5.moDelete 8.2kB /usr/share/locale/bs/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/bs/LC_MESSAGESDelete 4.1kB /usr/share/locale/bsDelete 28.7kB /usr/share/locale/hu/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/hu/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/hu/LC_MESSAGES/exo-1.moDelete 41kB /usr/share/locale/hu/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/hu/LC_MESSAGESDelete 4.1kB /usr/share/locale/huDelete 4.1kB /usr/share/locale/is/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/is/LC_MESSAGESDelete 4.1kB /usr/share/locale/isDelete 41kB /usr/share/locale/bn/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/bn/LC_MESSAGESDelete 4.1kB /usr/share/locale/bnDelete 36.9kB /usr/share/locale/ru/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/ru/LC_MESSAGES/libapt-inst1.5.moDelete 36.9kB /usr/share/locale/ru/LC_MESSAGES/exo-1.moDelete 49.2kB /usr/share/locale/ru/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ru/LC_MESSAGESDelete 4.1kB /usr/share/locale/ruDelete 32.8kB /usr/share/locale/pa/LC_MESSAGES/exo-1.moDelete 4.1kB /usr/share/locale/pa/LC_MESSAGESDelete 4.1kB /usr/share/locale/paDelete 28.7kB /usr/share/locale/ca/LC_MESSAGES/libapt-pkg4.12.moDelete 4.1kB /usr/share/locale/ca/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/ca/LC_MESSAGES/exo-1.moDelete 32.8kB /usr/share/locale/ca/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/ca/LC_MESSAGESDelete 4.1kB /usr/share/locale/caDelete 28.7kB /usr/share/locale/it/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/it/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/it/LC_MESSAGES/exo-1.moDelete 41kB /usr/share/locale/it/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/it/LC_MESSAGESDelete 4.1kB /usr/share/locale/itDelete 28.7kB /usr/share/locale/pl/LC_MESSAGES/libapt-pkg4.12.moDelete 8.2kB /usr/share/locale/pl/LC_MESSAGES/libapt-inst1.5.moDelete 28.7kB /usr/share/locale/pl/LC_MESSAGES/exo-1.moDelete 41kB /usr/share/locale/pl/LC_MESSAGES/apt.moDelete 4.1kB /usr/share/locale/pl/LC_MESSAGESDelete 4.1kB /usr/share/locale/plDelete 4.1kB /usr/share/man/pt/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/pt/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/pt/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/pt/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/pt/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/pt/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/pt/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/pt/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/pt/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/pt/man1/apt-sortpkgs.1.gzDelete 20.5kB /usr/share/man/pt/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/pt/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/pt/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/pt/man8Delete 4.1kB /usr/share/man/pt/man1Delete 4.1kB /usr/share/man/pt/man5Delete 4.1kB /usr/share/man/ptDelete 4.1kB /usr/share/man/de/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/de/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/de/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/de/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/de/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/de/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/de/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/de/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/de/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/de/man1/apt-sortpkgs.1.gzDelete 20.5kB /usr/share/man/de/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/de/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/de/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/de/man8Delete 4.1kB /usr/share/man/de/man1Delete 4.1kB /usr/share/man/de/man5Delete 4.1kB /usr/share/man/deDelete 4.1kB /usr/share/man/fr/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/fr/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/fr/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/fr/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/fr/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/fr/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/fr/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/fr/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/fr/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/fr/man1/apt-sortpkgs.1.gzDelete 20.5kB /usr/share/man/fr/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/fr/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/fr/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/fr/man8Delete 4.1kB /usr/share/man/fr/man1Delete 4.1kB /usr/share/man/fr/man5Delete 4.1kB /usr/share/man/frDelete 4.1kB /usr/share/man/es/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/es/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/es/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/es/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/es/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/es/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/es/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/es/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/es/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/es/man1/apt-sortpkgs.1.gzDelete 16.4kB /usr/share/man/es/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/es/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/es/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/es/man8Delete 4.1kB /usr/share/man/es/man1Delete 4.1kB /usr/share/man/es/man5Delete 4.1kB /usr/share/man/esDelete 4.1kB /usr/share/man/ja/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/ja/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/ja/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/ja/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/ja/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/ja/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/ja/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/ja/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/ja/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/ja/man1/apt-sortpkgs.1.gzDelete 20.5kB /usr/share/man/ja/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/ja/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/ja/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/ja/man8Delete 4.1kB /usr/share/man/ja/man1Delete 4.1kB /usr/share/man/ja/man5Delete 4.1kB /usr/share/man/jaDelete 4.1kB /usr/share/man/it/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/it/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/it/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/it/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/it/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/it/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/it/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/it/man1/apt-extracttemplates.1.gzDelete 8.2kB /usr/share/man/it/man1/apt-ftparchive.1.gzDelete 4.1kB /usr/share/man/it/man1/apt-sortpkgs.1.gzDelete 16.4kB /usr/share/man/it/man5/apt.conf.5.gzDelete 8.2kB /usr/share/man/it/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/it/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/it/man8Delete 4.1kB /usr/share/man/it/man1Delete 4.1kB /usr/share/man/it/man5Delete 4.1kB /usr/share/man/itDelete 4.1kB /usr/share/man/pl/man8/apt-cdrom.8.gzDelete 12.3kB /usr/share/man/pl/man8/apt-get.8.gzDelete 4.1kB /usr/share/man/pl/man8/apt-secure.8.gzDelete 4.1kB /usr/share/man/pl/man8/apt-key.8.gzDelete 8.2kB /usr/share/man/pl/man8/apt-cache.8.gzDelete 4.1kB /usr/share/man/pl/man8/apt-mark.8.gzDelete 4.1kB /usr/share/man/pl/man8/apt-config.8.gzDelete 4.1kB /usr/share/man/pl/man1/apt-extracttemplates.1.gzDelete 4.1kB /usr/share/man/pl/man1/apt-sortpkgs.1.gzDelete 8.2kB /usr/share/man/pl/man5/sources.list.5.gzDelete 8.2kB /usr/share/man/pl/man5/apt_preferences.5.gzDelete 4.1kB /usr/share/man/pl/man8Delete 4.1kB /usr/share/man/pl/man1Delete 4.1kB /usr/share/man/pl/man5Delete 4.1kB /usr/share/man/plDelete 57.3kB /var/log/dmesg.0Delete 16.4kB /var/log/dmesg.2.gzDelete 16.4kB /var/log/dmesg.3.gzDelete 16.4kB /var/log/dmesg.1.gzDelete 8.2kB /var/log/lightdm/lightdm.log.oldDelete 4.1kB /var/log/lightdm/x-0.log.oldDelete 28.7kB /var/log/Xorg.0.log.oldDelete 32.8kB /tmp/hsperfdata_root/3088apt-get autoclean ?B apt-get autoremove ?B Disk space to be recovered: 5.5MBFiles to be deleted: 420
#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')ic="/usr/share/pixmaps/litecleaner.png"if [ -d "$HOME/.cache/mozilla/" ]; then FFCACHESIZE=$(du -sh $HOME/.cache/mozilla/ | awk '{print $1}')elseFFCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/google-chrome/" ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' )elseGCCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/chromium/" ]; thenCHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}')elseCHRCACHESIZE=$(echo nothing)fiselection=$(zenity --window-icon="$ic" --list --checklist --width=780 --height=420 --column="Select" --column="Name" --column="Category" --column="Status" \ --column="Description" --text='Select the task you wish to perform, then click the Begin button. Sort Categories by clicking on the column.\n\nThere are 2 levels of <b>Status</b>:\n<span foreground="green">Safe</span> - Safe to perform, no harm can be done.\n<span foreground="red">Caution</span> - Proceed with caution, read the warning on the proceeding step.\n\nYou can select multiple tasks to perform (password required for some tasks).' --title="Lite Cleaner" --ok-label="Begin" --cancel-label="Quit" \TRUE "Clean package cache" "Packages" "Safe" "You can currently remove $APTCACHESIZE worth of files from your apt cache" \FALSE "Autoremove packages " "Packages" "Safe" "Remove packages installed for programs that are no longer present" \FALSE "Clean Firefox" "Internet" "Safe" "You can currently remove $FFCACHESIZE from your Firefox cache" \FALSE "Clean Chrome" "Internet" "Safe" "You can currently remove $GCCACHESIZE from your Chrome cache" \FALSE "Clean Chromium" "Internet" "Safe" "You can currently remove $CHRCACHESIZE from your Chromium cache" \FALSE "Clear thumbnail cache" "Images" "Safe" "You can currently remove $THUMBCACHESIZE from your thumbnail cache" \FALSE "Empty your Trash Bin" "Home" "Safe" "You can currently remove $TRASHCACHESIZE from your Trash bin" \FALSE "Locate large files" "System" "Caution" "Find files on your system larger than 50MB" )# [Future feature, DO NOT enable] FALSE "Remove old kernels" "System" "Caution" "Remove kernels you no longer wish to boot from" )# Exec scriptsecho $selection | grep "Clean package cache" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/aptgetclean 2>/dev/nullfiecho $selection | grep "Autoremove packages" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/autoremovepkg 2>/dev/nullfiecho $selection | grep "Clean Firefox" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/firefox 2>/dev/nullfiecho $selection | grep "Clean Chrome" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/chrome 2>/dev/nullfiecho $selection | grep "Clean Chromium" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/chromium 2>/dev/nullfiecho $selection | grep "Clear thumbnail cache" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/thumbnails 2>/dev/nullfiecho $selection | grep "Empty your Trash Bin" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/emptytrash 2>/dev/nullfiecho $selection | grep "Locate large files" > /dev/nullif [ $? = 0 ];then/usr/scripts/clean/files50 2>/dev/nullfi# [Future feature, DO NOT enable]# echo $selection | grep "Remove old kernels" > /dev/null# if [ $? = 0 ];then# /usr/scripts/clean/remkernels 2>/dev/null# fi
Quote from: misko_2083 on September 17, 2014, 07:46:33 PMrbdflyboy, $HOME actually asks the shell to insert (substitute) the environmental variable HOME hereCode: [Select]echo $HOMECreating those directories will make the error go away, but if the browsers don't use them to store the cache, it's pointless to use the cleaner on them.only using Chromium for my browser. So you're saying the errors need to exist in order for the cleaner to work? Had tried Chrome only it didn't work very well so deleted that one also. The cleaner removed the left over cache files from Chrome. Can always delete the new files and live with the errors? QuoteTried the terminal again...the errors are back...checked my /.cache file and my newly created files are gone? Just guessing here...going to live with the errors and leave well enough alone.
rbdflyboy, $HOME actually asks the shell to insert (substitute) the environmental variable HOME hereCode: [Select]echo $HOMECreating those directories will make the error go away, but if the browsers don't use them to store the cache, it's pointless to use the cleaner on them.
echo $HOME
Tried the terminal again...the errors are back...checked my /.cache file and my newly created files are gone? Just guessing here...going to live with the errors and leave well enough alone.
Quote from: rbdflyboy on September 17, 2014, 06:11:44 PMQuote from: misko_2083 on September 17, 2014, 08:04:28 AMIf google chrome isn't installed, the output will be:Code: [Select]du: cannot access ‘/home/linuxlite/.cache/google-chrome/’: No such file or directory"so the script should check if $HOME/.cache/firefox, $HOME/.cache/google-chrome and $HOME/.cache/chromium folders exist.Code: [Select]#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')if [ -d "$HOME/.cache/mozilla/" ]; then FFCACHESIZE=$(du -sh $HOME/.cache/mozilla/ | awk '{print $1}')elseFFCACHESIZE=$(echo 0)fiif [ -d "$HOME/.cache/google-chrome/" ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' )elseGCCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/chromium/" ]; thenCHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}')elseCHRCACHESIZE=$(echo nothing)fi# I've noticed that the dialog window icon doesn't match the menu icon, next line will fix thisic="/usr/share/pixmaps/litecleaner.png"# the other part is the same...Think the fog is starting to lift somewhat...$Home/.cache/ doesn't exist in my OS. $ /home/rick/.cache/ does exist, only does not contain Firefox, Chromium, or Google-Chrome. These three are not housed in my /home/rick/.cache directory, they're housed somewhere else.There is a separate /.mozilla directory which houses two files...extensions and firefox. Copied both files to /home/rick/.cache, then created a new folder named "mozilla" and inserted the two files into the "mozilla" folder. This solved the terminal error for mozilla.The problem now is there are Chromium and Chrome errors that still exist and they are not listed anywhere in the /. directory. If someone would be so kind as to lead me where to find where them...one might be able to solve the other two errors as well. Thanks in advanceJust found chromium-browser in the etc directory and google in the opt directory....should be able to sort this out now.
Quote from: misko_2083 on September 17, 2014, 08:04:28 AMIf google chrome isn't installed, the output will be:Code: [Select]du: cannot access ‘/home/linuxlite/.cache/google-chrome/’: No such file or directory"so the script should check if $HOME/.cache/firefox, $HOME/.cache/google-chrome and $HOME/.cache/chromium folders exist.Code: [Select]#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')if [ -d "$HOME/.cache/mozilla/" ]; then FFCACHESIZE=$(du -sh $HOME/.cache/mozilla/ | awk '{print $1}')elseFFCACHESIZE=$(echo 0)fiif [ -d "$HOME/.cache/google-chrome/" ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' )elseGCCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/chromium/" ]; thenCHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}')elseCHRCACHESIZE=$(echo nothing)fi# I've noticed that the dialog window icon doesn't match the menu icon, next line will fix thisic="/usr/share/pixmaps/litecleaner.png"# the other part is the same...Think the fog is starting to lift somewhat...$Home/.cache/ doesn't exist in my OS. $ /home/rick/.cache/ does exist, only does not contain Firefox, Chromium, or Google-Chrome. These three are not housed in my /home/rick/.cache directory, they're housed somewhere else.There is a separate /.mozilla directory which houses two files...extensions and firefox. Copied both files to /home/rick/.cache, then created a new folder named "mozilla" and inserted the two files into the "mozilla" folder. This solved the terminal error for mozilla.The problem now is there are Chromium and Chrome errors that still exist and they are not listed anywhere in the /. directory. If someone would be so kind as to lead me where to find where them...one might be able to solve the other two errors as well. Thanks in advance
If google chrome isn't installed, the output will be:Code: [Select]du: cannot access ‘/home/linuxlite/.cache/google-chrome/’: No such file or directory"so the script should check if $HOME/.cache/firefox, $HOME/.cache/google-chrome and $HOME/.cache/chromium folders exist.Code: [Select]#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')if [ -d "$HOME/.cache/mozilla/" ]; then FFCACHESIZE=$(du -sh $HOME/.cache/mozilla/ | awk '{print $1}')elseFFCACHESIZE=$(echo 0)fiif [ -d "$HOME/.cache/google-chrome/" ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' )elseGCCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/chromium/" ]; thenCHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}')elseCHRCACHESIZE=$(echo nothing)fi# I've noticed that the dialog window icon doesn't match the menu icon, next line will fix thisic="/usr/share/pixmaps/litecleaner.png"# the other part is the same...
du: cannot access ‘/home/linuxlite/.cache/google-chrome/’: No such file or directory"
#! /bin/bash#--------------------------------------------------------------------------------------------------------# Name: Linux Lite Cleaner# Description: A GUI tool to easily clean your Linux Lite system.# Authors: Misko_2083, Jerry Bezencon# Date: September 16th, 2014# Website: https://www.linuxliteos.com#--------------------------------------------------------------------------------------------------------APTCACHESIZE=$(du -sh /var/cache/apt/archives/ | awk '{print $1}')TRASHCACHESIZE=$(du -sh $HOME/.local/share/Trash/ | awk '{print $1}')THUMBCACHESIZE=$(du -sh $HOME/.thumbnails/ | awk '{print $1}')if [ -d "$HOME/.cache/mozilla/" ]; then FFCACHESIZE=$(du -sh $HOME/.cache/mozilla/ | awk '{print $1}')elseFFCACHESIZE=$(echo 0)fiif [ -d "$HOME/.cache/google-chrome/" ]; then GCCACHESIZE=$(du -sh $HOME/.cache/google-chrome/ | awk '{print $1}' )elseGCCACHESIZE=$(echo nothing)fiif [ -d "$HOME/.cache/chromium/" ]; thenCHRCACHESIZE=$(du -sh $HOME/.cache/chromium/ | awk '{print $1}')elseCHRCACHESIZE=$(echo nothing)fi# I've noticed that the dialog window icon doesn't match the menu icon, next line will fix thisic="/usr/share/pixmaps/litecleaner.png"# the other part is the same...