Giter Site home page Giter Site logo

Comments (8)

az0 avatar az0 commented on September 24, 2024 1

Cleaner is not usable on this OS because it has no actions: /usr/share/bleachbit/cleaners/teamviewer.xml

This was caused by a bug in that Windows-specific cleaners were included in the Linux package, so I fixed it so these cleaners would not be included in Linux packages.

What can I do today to i.e. include thunderbird or other software to clean with BleachBit on 22.04 please ?

If it is installed as flatpak, use BleachBit 4.5.1

In the future, one question or issue per GitHub ticket please.

I also found https://ubuntu.pkgs.org/22.04/ubuntu-universe-amd64/bleachbit_4.4.2-1_all.deb.html but think that is the same version as from the official BleachBit website, correct ?

About 99.9% the same. It suppresses the notification of new versions, and Ubuntu never upgrades BleachBit within the same distribution. In other words, Ubuntu 22.04 will always have BleachBit 4.4.2, and you will need Ubuntu 23.04 to get BleachBit 4.6.0.

There may be some other differences too.

In the future, one question or issue per GitHub ticket please.

from bleachbit.

az0 avatar az0 commented on September 24, 2024

Technical note is that the build process had this error

[   19s] awk '/os=\"windows/ && /id=\"/ {print FILENAME}' cleaners/*.xml | xargs rm -f
[   19s] awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator

from bleachbit.

robots4life avatar robots4life commented on September 24, 2024

@az0 Thank you indeed for your help and update.

I installed BleachBit from https://www.bleachbit.org/download/file/t?file=bleachbit_4.4.2-0_all_ubuntu2110.deb package bleachbit_4.4.2-0_all_ubuntu2110.deb with QApt Package Installer.

Could you kindly confirm which of these options I best choose to uninstall BleachBit ?

ref: https://www.thelinuxfaq.com/ubuntu/ubuntu-17-04-zesty-/bleachbit?type=uninstall

  1. If you would like to remove bleachbit and it's dependent packages which are no longer needed from Ubuntu.
sudo apt-get remove --auto-remove bleachbit 
  1. If you use with purge options to bleachbit package all the configuration and dependent packages will be removed.
sudo apt-get purge bleachbit 
  1. If you use purge options along with auto remove, everything regarding the package will be removed. It's really useful when you want to reinstall again.
sudo apt-get purge --auto-remove bleachbit 

If none of these, what command do you suggest to uninstall BlachBit on Linux please ?

The new version
https://www.bleachbit.org/news/bleachbit-451-beta

can be downloaded from here
https://download.bleachbit.org/beta/4.5.1/

and there I choose the version for 22.04, correct ?
https://download.bleachbit.org/beta/4.5.1/bleachbit_4.5.1-0_all_ubuntu2204.deb

from bleachbit.

az0 avatar az0 commented on September 24, 2024

If none of these, what command do you suggest to uninstall BlachBit on Linux please ?

I think you can just install the new version on top of the old, but there's nothing particular bad about any of those three options. I'm not sure it really deletes the configuration, and otherwise, the worst case is you may need to reinstall a dependency.

You can also try sudo apt remove bleachbit

and there I choose the version for 22.04, correct ?
https://download.bleachbit.org/beta/4.5.1/bleachbit_4.5.1-0_all_ubuntu2204.deb

Yes

from bleachbit.

robots4life avatar robots4life commented on September 24, 2024

This is interesting.

As of today I am getting this notification when opening BleachBit.

Screenshot_20231106_083003

Is this intended and what version exactly will that be installing ?

https://www.bleachbit.org/download/file/t?file=bleachbit_4.6.0-0_all_ubuntu2204.deb ?

from bleachbit.

robots4life avatar robots4life commented on September 24, 2024

@az0 Ok, I removed the old installation and used bleachbit_4.6.0-0_all_ubuntu2204.deb to install the current latest version.

https://www.bleachbit.org/download/file/t?file=bleachbit_4.6.0-0_all_ubuntu2204.deb

BleachBit version 4.6.0
Git revision ae1605f
GTK version 3.24.33
GTK theme = Breeze
GTK icon theme = breeze-dark
GTK prefer dark theme = True
SQLite version 3.37.2
local_cleaners_dir = None
locale_dir = /usr/share/locale/
options_dir = /home/{$username$}/.config/bleachbit
personal_cleaners_dir = /home/{$username$}/.config/bleachbit/cleaners
system_cleaners_dir = /usr/share/bleachbit/cleaners
locale.getdefaultlocale = ('en_US', 'UTF-8')
os.getenv('DESKTOP_SESSION') = plasma
os.getenv('LOGNAME') = {$username$}
os.getenv('{USER}') = {$username$}
os.getenv('SUDO_UID') = None
os.path.expand{$username$}('~') = /home/{$username$}
platform.linux_distribution() = ('Ubuntu', '22.04', 'jammy')
platform.platform = Linux-6.2.0-36-generic-x86_64-with-glibc2.35
platform.version = #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct  9 15:34:04 UTC 2
sys.argv = ['/usr/bin/bleachbit']
sys.executable = /usr/bin/python3
sys.version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
__file__ = /usr/share/bleachbit/SystemInformation.py

However I still get this message when starting BleachBit, and while I do have Thunderbird installed it is not picking it up.

What could I kindly do to include Thunderbird for cleaning ?

Thank you.

automatically hiding cleaner 'adobe_reader'
automatically hiding cleaner 'amsn'
automatically hiding cleaner 'amule'
automatically hiding cleaner 'audacious'
automatically hiding cleaner 'beagle'
automatically hiding cleaner 'brave'
automatically hiding cleaner 'chromium'
automatically hiding cleaner 'd4x'
automatically hiding cleaner 'dnf'
automatically hiding cleaner 'easytag'
automatically hiding cleaner 'elinks'
automatically hiding cleaner 'emesene'
automatically hiding cleaner 'epiphany'
automatically hiding cleaner 'evolution'
automatically hiding cleaner 'exaile'
automatically hiding cleaner 'filezilla'
automatically hiding cleaner 'flash'
automatically hiding cleaner 'gedit'
automatically hiding cleaner 'gftp'
automatically hiding cleaner 'gimp'
automatically hiding cleaner 'gl-117'
automatically hiding cleaner 'gnome'
automatically hiding cleaner 'google_earth'
automatically hiding cleaner 'google_toolbar'
automatically hiding cleaner 'gpodder'
automatically hiding cleaner 'hexchat'
automatically hiding cleaner 'hippo_opensim_viewer'
automatically hiding cleaner 'java'
automatically hiding cleaner 'konqueror'
automatically hiding cleaner 'liferea'
automatically hiding cleaner 'links2'
automatically hiding cleaner 'microsoft_edge'
automatically hiding cleaner 'midnightcommander'
automatically hiding cleaner 'miro'
automatically hiding cleaner 'nautilus'
automatically hiding cleaner 'nexuiz'
automatically hiding cleaner 'octave'
automatically hiding cleaner 'openofficeorg'
automatically hiding cleaner 'opera'
automatically hiding cleaner 'palemoon'
automatically hiding cleaner 'pidgin'
automatically hiding cleaner 'realplayer'
automatically hiding cleaner 'recoll'
automatically hiding cleaner 'rhythmbox'
automatically hiding cleaner 'screenlets'
automatically hiding cleaner 'seamonkey'
automatically hiding cleaner 'secondlife_viewer'
automatically hiding cleaner 'skype'
automatically hiding cleaner 'slack'
automatically hiding cleaner 'sqlite3'
automatically hiding cleaner 'thunderbird'
automatically hiding cleaner 'transmission'
automatically hiding cleaner 'tremulous'
automatically hiding cleaner 'vim'
automatically hiding cleaner 'vuze'
automatically hiding cleaner 'warzone2100'
automatically hiding cleaner 'waterfox'
automatically hiding cleaner 'wine'
automatically hiding cleaner 'winetricks'
automatically hiding cleaner 'xine'
automatically hiding cleaner 'yum'
automatically hiding cleaner 'zoom'

I also get this error when clicking "Preview".

Exception while running operation 'system': 'While reading from '/home/{$username$}/.local/share/applications/org.kde.krita.desktop' [line 170]: option 'exec' in section 'Desktop Entry' already exists'
Traceback (most recent call last):
  File "/usr/share/bleachbit/Worker.py", line 345, in run_operations
    for _dummy in self.clean_operation(operation):
  File "/usr/share/bleachbit/Worker.py", line 159, in clean_operation
    for cmd in backends[operation].get_commands(option_id):
  File "/usr/share/bleachbit/Cleaner.py", line 385, in get_commands
    if filename.endswith('.desktop') and Unix.is_broken_xdg_desktop(filename):
  File "/usr/share/bleachbit/Unix.py", line 466, in is_broken_xdg_desktop
    config.read(pathname)
  File "/usr/lib/python3.10/configparser.py", line 699, in read
    self._read(fp, filename)
  File "/usr/lib/python3.10/configparser.py", line 1098, in _read
    raise DuplicateOptionError(sectname, optname,
configparser.DuplicateOptionError: While reading from '/home/{$username$}/.local/share/applications/org.kde.krita.desktop' [line 170]: option 'exec' in section 'Desktop Entry' already exists

edit: I managed to fix the org.kde.krita.desktop file and only have one entry for the Exec key, so that warning/error is not coming up any more.

However what I also notice is that despite having these settings for Firefox

image

it is not cleaning it. not even remotely touching it.

/home/username/.mozilla/firefox/installs.ini

[6AFDA46A1A8AD48]
Default=/media/username/FIREFOX/2204
Locked=1

/home/username/.mozilla/firefox/profiles.ini

[Profile2]
Name=P
IsRelative=0
Path=/media/username/FIREFOX/P

[Profile1]
Name=O
IsRelative=0
Path=/media/username/FIREFOX/O

[Profile0]
Name=2204
IsRelative=0
Path=/media/username//FIREFOX/2204
Default=1

[General]
StartWithLastProfile=0
Version=2

[Install6AFDA46A1A8AD48]
Default=/media/username/FIREFOX/2204
Locked=1

I start Firefox with the profile manager so that I can pick what profile I want to work with.

https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles

firefox -P

Could it be that because I do not have a default Firefox profile BleachBit cannot pick up the installations of Firefox ?

When I clean it shows

clean_operation('firefox'), options = '['backup', 'cache', 'cookies', 'crash_reports', 'dom', 'forms', 'site_preferences', 'url_history', 'vacuum']'

but it is not cleaning it.

However when I have Firefor running and try to clean it with BleachBit I get this warning.

Firefox cannot be cleaned because it is currently running.  Close it, and try again.

So that means BleachBit is picking up the installation of Firefox and the currently running profile somehow.

from bleachbit.

robots4life avatar robots4life commented on September 24, 2024

@az0 The behaviour has not changed since the update, neither Firefox nor Thunderbird are being cleaned. Kindly let me know if there is something else I can do, thank you.

from bleachbit.

robots4life avatar robots4life commented on September 24, 2024

This is not resolved for me, errors keep happening, it seems the issue is closed, there are no replies, in any case, thank you for your help, I will most likely choose to use something else.

from bleachbit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.