You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Lite Tweaks - Suggestions welcomed

Author (Read 148799 times)

0 Members and 14 Guests are viewing this topic.

Re: Lite Cleaner - Suggestions welcomed
« Reply #101 on: November 03, 2014, 11:29:17 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Reputation: 53
  • Linux Lite User
    • View Profile

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
Thanks bitsnpcs, misko and shaggy for adding cleaning Whisker Menu! I know I shouldn't but I still dread using the terminal.

My motto is if I wanted to use a terminal, I would have stayed with DOS in the dark ages.  ;D


Left Mac OS X for Linux in Jan 2014
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #100 on: November 03, 2014, 02:48:33 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
New version available, thank you to bitsnpcs, misko and shaggy :)

 

Re: Lite Cleaner - Suggestions welcomed
« Reply #99 on: November 02, 2014, 12:50:12 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Thank You misko_2083 for the check recent items  :)
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #98 on: November 02, 2014, 07:40:46 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
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. :)

Code: [Select]
#!/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[@]}"
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #97 on: November 02, 2014, 04:30:55 AM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
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.
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #96 on: November 02, 2014, 04:15:23 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Awesome shaggytwodope thank you :)
We will also include:

Code: [Select]
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.
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #95 on: November 02, 2014, 04:04:34 AM »
 

shaggytwodope

  • Forum Regular
  • ***
  • 222
    Posts
  • Reputation: 44
  • Linux Lite Member
    • View Profile
    • Shaggy's Blog

  • CPU: Intel i5 4440

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 4600
Here ya go chaps.
Code: [Select]
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.
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #94 on: November 02, 2014, 02:15:28 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x

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.
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #93 on: November 02, 2014, 01:29:09 AM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
I have a suggestion for Lite Cleaner, an option to empty the "Recently Used" folder in the main menu.




 

Re: Lite Cleaner - Suggestions welcomed
« Reply #92 on: October 15, 2014, 07:23:20 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Thank You for the update Valtam and Misko. :)
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #91 on: October 15, 2014, 05:52:52 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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 :)

Worked for me... not run it for a while... 315MB cleaned, nice :)

Out of curiosity... I just ran the "Preview" option in "Bleachbit"... it found this:
Code: [Select]
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 :)

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)
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #90 on: October 15, 2014, 05:41:56 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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 :)

Worked for me... not run it for a while... 315MB cleaned, nice :)
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 :)

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)
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #89 on: October 15, 2014, 04:20:38 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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 :)
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #88 on: September 29, 2014, 01:11:53 AM »
 

eightbit

  • Guest
64-bit here, and kernel cleaning worked perfectly. Nice job on this. One thing I do not think is necessary is the checking of large files. I have thousands (hundreds of thousands) of files larger than 50MB. That script would have taken a very very long time :) The cleaning of other items is much welcome however.
 

Re: Lite Cleaner - Suggestions welcomed
« Reply #87 on: September 27, 2014, 04:32:03 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thanks Rob, you're welcome.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section