You are not logged in.
It works now! Thank you~
Offline
Cool... new features = new bugs Thanks for reporting.
Last edited by graysky (2012-12-09 21:54:13)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
Sorry that I was posting on the wrong thread.
v.1.95 of profile-cleaner works if psd is not running. Per your request here is what my profile.ini looks like
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=xxxxxxxx.default
I'm not sure if it's appropiate to post my profile id here so I just back them out here.
and after psd started, issuing "profile-cleaner f" resulted in
profile-cleaner v1.95
Cleaning profile for firefox
cat: /tmp/work2do.firefox: No such file or directory
grep: /tmp/accounting.firefox: No such file or directory
Profile(s) for firefox reduced by Mbytes.
I do think I changed anything and it was working in versions earlier than 1.94.
Thank for looking into this issue
Offline
@burninate - Those warning should not appear in v1.90... I now not sure why you get nothing upon cleaning though...?
Apparently, my problem was caused by a full root partition:
~/.mozilla/firefox/q7h6g1lf.default ⇨ for i in *.sqlite; do sqlite3 $i vacuum; sqlite3 $i reindex; done
Error: database or disk is full
Error: database or disk is full
...
~ ⇨ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 9,7G 9,4G 0 100% /
.. (*face-palm-slap-moment*)
After resizing rootfs the profile-cleaner worked like a charm:
...
Profile for chromium reduced by 8.85 Mbytes.
...
Profile(s) for firefox reduced by 32.14 Mbytes.
Offline
@burninate - Glad you figured it out.
@pingpong - Not sure what is causing your issue. Try version 1.96-1.
Last edited by graysky (2012-12-11 02:25:48)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
Ver 1.96-1 fixes my problem. Thanks
Offline
Just some minor nag. The colors are nearly unreadable on a light background terminal. I use to change them to this:
# colors for light background display (using blue instead of yellow)
export BLD="\e[01m" RED="\e[00;31m" GRN="\e[00;32m" YLW="\e[00;34m" NRM="\e[00m"
Having this line (commented) in the code would save me some extra editing effort on every new update. Or even have some option to switch between color sets.
Secondly, I use to run several nonstandard midori profiles like:
bp:~/.config$ ls -d midori*
midori midori-player midori-reader
Some means to let the script know which folder to work on would be useful.
To know or not to know ...
... the questions remain forever.
Offline
@bernarcher -
1) Good idea. I will implement this later today and post when ready.
2) Good idea. Let me think about how best to handle it. Pull requests welcomed
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@bernarcher
For #1) Plz try version 1.97-1. Run it once then edit $XDG_CONFIG_HOME/profile-cleaner.conf
For #2) Aesiris added support for user defined profiles via the 'p' option. See the new manpage for an example.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Color selection and profile definition works. Great job, graysky and Aesiris!
To know or not to know ...
... the questions remain forever.
Offline
Color selection and profile definition works. Great job, graysky and Aesiris!
Rock on.. thanks for the suggestion.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I have both firefox-nightly and google-chrome-dev from AUR. Profile-cleaner works wonderfully with "f" but can't correctly locate the profile directory of "gcd". The binary has been renamed to google-chrome-unstable in that package for reasons I don't know.
Offline
@Vrantheo - I can adjust it but this will be a pain in the ass if the name keeps changing.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
If I have psd.service already running and I run profile-cleaner, will it have any effect since it modifies the profile in /home but the profile is already loaded in RAM and then the profile in RAM will replace the changes in home???
Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB
Archlinux x86_64 + Openbox
Offline
Yes, profile-cleaner and psd work well together. When psd.service is active, profile-cleaner will honor the symlink and clean the tmpfs profiles. When you deactivate psd.service, they are then sync'ed back to disk. The disk-bound backup copy is not modified but when psd.service is disabled, it is deleted.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Please try 2.28-1 and let me know if all is well with gcu.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
just found this great tool. thanks for all your work
2.28-1 seems to be working fine with chromium and firefox
Offline
@Vrantheo - I can adjust it but this will be a pain in the ass if the name keeps changing.
IIRC it's Google that did the name change quite a while ago. The upstream URL is https://dl.google.com/linux/direct/goog … _arch}.deb
I don't know if other Linux distros forcefully rename it back while packaging. Maybe you could at least patch it specifically for AUR or something.
Offline
@graysky
first off, thanks for this awesome tool.
i just noticed ( am getting friendly with qupzilla ) that your script cannot detect qupzilla's profile directory correctly as it now resides in ~/.config/qupzilla.
i modified your script to reflect (recent? ) change in qupzilla, it now is able to find it but hardly cleans anything.
If you have time please fix this.
Thanks
Offline
Dunno about why it hardly cleans anything... just installed it myself for testing purposes and updated the script to match the new profile location. Try 2.32-1.
% pc q
profile-cleaner v2.32
Cleaning profile for qupzilla
Cleaning browsedata.db done -0 Mbytes
Profile(s) for qupzilla reduced by 0 Mbytes.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
Thanks for the quick modification, latest script is perfect
( when I wrote "hardly cleans anything" I meant " Cleaning browsedata.db done -0 Mbytes Profile(s) for qupzilla reduced by 0 Mbytes. " but it's OK and asking for a fix was because of the incorrect path )
Thanks
Offline
Hi. Opera uses sqlite databases if you feel like adding it to profile-cleaner. Regards
Offline
Hi. Opera uses sqlite databases if you feel like adding it to profile-cleaner. Regards
Has this changed since 2012?
Ah, opera doesn't seem to use sqlite database. My bad.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Yeah, Opera is now a chromium-based browser.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Sorry, I should have said Opera is "now" using sqlite. Regards
Offline