LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lite Tweaks - Suggestions welcomed
#91
(10-15-2014, 09:41 AM)Wirezfree link Wrote: [quote author=Valtam link=topic=829.msg6241#msg6241 date=1413361238]
Lite Cleaner 1.0-0130 is now available. Run Install Updates to get it.

Changes:
  • "Clear thumbnail cache" changed to "Clean thumbnail cache" bug fixed.
    If thumbnails cache size is less than 100kB now it will display as 0k.
    If package cache size is less then 100kB are it will display as 0k.
    Added 'sort' to the kernel cleaner.
Nice job misko Smile

Worked for me... not run it for a while... 315MB cleaned, nice Smile
[/quote]

Out of curiosity... I just ran the "Preview" option in "Bleachbit"... it found this:
Code:
Delete 4.1kB /usr/share/man/sv/man1/dpkg-distaddfile.1.gz
Delete 4.1kB /usr/share/man/sv/man1/dpkg-scanpackages.1.gz
Delete 8.2kB /usr/share/man/sv/man1/dpkg-shlibdeps.1.gz
Delete 4.1kB /usr/share/man/sv/man1/dpkg-name.1.gz
Delete 4.1kB /usr/share/man/sv/man1/dpkg-genchanges.1.gz
Delete 4.1kB /usr/share/man/sv/man5
Delete 4.1kB /usr/share/man/sv/man1
Delete 4.1kB /usr/share/man/sv
Delete 12.3kB /usr/share/man/vi/man7/po-debconf.7.gz
Delete 4.1kB /usr/share/man/vi/man1/po2debconf.1.gz
Delete 4.1kB /usr/share/man/vi/man1/debconf-updatepo.1.gz
Delete 4.1kB /usr/share/man/vi/man1/podebconf-display-po.1.gz
Delete 4.1kB /usr/share/man/vi/man1/debconf-gettextize.1.gz
Delete 8.2kB /usr/share/man/vi/man1/podebconf-report-po.1.gz
Delete 4.1kB /usr/share/man/vi/man7
Delete 4.1kB /usr/share/man/vi/man1
Delete 4.1kB /usr/share/man/vi
Delete 57.3kB /var/log/dmesg.0
Delete 16.4kB /var/log/dmesg.1.gz
Delete 8.2kB /var/log/lightdm/lightdm.log.old
Delete 4.1kB /var/log/lightdm/x-0.log.old
Delete 28.7kB /var/log/Xorg.0.log.old
apt-get autoclean ?B
apt-get autoremove ?B
Clean ?B /root/.config/libreoffice/4/user/registrymodifications.xcu

Disk space to be recovered: 2.1MB
Files to be deleted: 417
Special operations: 4

I think .old and archived log files are valid items to remove,

CAUTION ~ DO NOT RUN "BLEACHBIT" unless you really understand the implications
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#92
Thank You for the update Valtam and Misko. Smile
Reply
#93
I have a suggestion for Lite Cleaner, an option to empty the "Recently Used" folder in the main menu.




Reply
#94
(11-02-2014, 06:29 AM)bitsnpcs link Wrote: I have a suggestion for Lite Cleaner, an option to empty the "Recently Used" folder in the main menu.

You could make a feature request here - https://github.com/gottcode/xfce4-whiskermenu-plugin for the Whisker Menu.
Or if some code wizard could come along and suggest a sed command or something similar that replaces line 2 in /home/user/.config/xfce4/panel/whiskermenu-*.rc with just recent= A login in/log out would be required for it to take effect.
Reply
#95
Here ya go chaps.
Code:
sed -i 's/^recent=.*$/recent=/g' ~/.config/xfce4/panel/whiskermenu-1.rc

The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply
#96
Awesome shaggytwodope thank you Smile
We will also include:

Code:
dbus-send --print-reply --dest=org.xfce.Panel /org/xfce/Panel org.xfce.Panel.Terminate boolean:true

Which will reload the panel and clear Recently Used without the need to logout/in.
Reply
#97
Thank You shaggytwodope and Valtam.

Valtam I viewed the github link but didn't make any request, I did do their newbie course last week but cannot relate it very well to github. I learn differently and to me they seem like 2 different unrelated things at the moment. I may look in to github at a future time.
Reply
#98
Good job shaggytwodope and Valtam, and thank you for an idea bitsanpcs.

I would just add the check if there are Recent items in the whisker menu.
Something like this. Smile

Code:
#!/bin/bash

# check if whisker menu has recent items
if [ -z "$(cat $HOME/.config/xfce4/panel/whiskermenu-1.rc | grep "^recent=" | cut -d '=' -f2)" ]; then
    whisker_recent=(FALSE "Clean Whisker Recent" "Whisker" "Safe" "Whisker menu has no recent items" )
else
    whisker_test=$(cat $HOME/.config/xfce4/panel/whiskermenu-1.rc | grep "^recent=" | cut -d '=' -f2 | sed 's/,/ /g'| wc -w)
    whisker_recent=(FALSE "Clean Whisker Recent" "Whisker" "Safe" "You can currently remove $whisker_test recent items from your whisker menu" )
fi

zenity --list --width=800 --checklist --title="example" --column="select" --column=" " --column=" " --column=" " --column=" " "${whisker_recent[@]}"
Reply
#99
Thank You misko_2083 for the check recent items  Smile
Reply
New version available, thank you to bitsnpcs, misko and shaggy Smile

[Image: j2epJmi.png]
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)