You are not logged in.

#51 2012-12-09 21:08:47

asdf-chan
Member
Registered: 2011-10-23
Posts: 31

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

It works now! Thank you~

Offline

#52 2012-12-09 21:54:03

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

Cool... new features = new bugs tongue  Thanks for reporting.

Last edited by graysky (2012-12-09 21:54:13)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#53 2012-12-10 08:48:52

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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

#54 2012-12-10 10:57:23

burninate
Member
Registered: 2012-07-28
Posts: 22

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

graysky wrote:

@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

#55 2012-12-11 02:25:15

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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 packagesZsh and other configs

Offline

#56 2012-12-11 03:57:20

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@graysky

Ver 1.96-1 fixes my problem. Thanks

Offline

#57 2012-12-11 10:42:02

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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

#58 2012-12-11 20:19:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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 smile


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#59 2012-12-12 11:16:27

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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 packagesZsh and other configs

Offline

#60 2012-12-14 04:57:53

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

Color selection and profile definition works. Great job, graysky and Aesiris! smile


To know or not to know ...
... the questions remain forever.

Offline

#61 2012-12-14 08:52:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

bernarcher wrote:

Color selection and profile definition works. Great job, graysky and Aesiris! smile

Rock on.. thanks for the suggestion.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#62 2014-05-06 14:27:09

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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

#63 2014-05-06 18:53:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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 packagesZsh and other configs

Offline

#64 2014-05-06 19:52:08

Viper_Scull
Member
From: London, UK
Registered: 2011-01-15
Posts: 153

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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

#65 2014-05-06 20:00:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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 packagesZsh and other configs

Offline

#66 2014-05-06 20:03:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

Please try 2.28-1 and let me know if all is well with gcu.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#67 2014-05-06 21:51:01

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

just found this great tool. thanks for all your work smile
2.28-1 seems to be working fine with chromium and firefox

Offline

#68 2014-05-08 11:44:18

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

graysky wrote:

@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

#69 2014-11-28 20:30:16

mjuti
Member
Registered: 2014-09-13
Posts: 4

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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

#70 2014-11-28 20:44:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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 packagesZsh and other configs

Offline

#71 2014-11-29 11:15:26

mjuti
Member
Registered: 2014-09-13
Posts: 4

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

@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

#72 2015-01-20 15:43:25

pluckypigeon
Member
Registered: 2009-01-09
Posts: 86

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

Hi. Opera uses sqlite databases if you feel like adding it to profile-cleaner. Regards

Offline

#73 2015-01-24 12:16:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

pluckypigeon wrote:

Hi. Opera uses sqlite databases if you feel like adding it to profile-cleaner. Regards

Has this changed since 2012?

mikkie wrote:

Ah, opera doesn't seem to use sqlite database. My bad.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#74 2015-01-24 12:56:25

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,417
Website

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

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

#75 2015-01-24 13:31:41

pluckypigeon
Member
Registered: 2009-01-09
Posts: 86

Re: profile-cleaner reduces browser profile size by cleaning/reindexing

Sorry, I should have said Opera is "now" using sqlite. Regards

Offline

Board footer

Powered by FluxBB