Detoxing your operating system
LSO Cookies
Another annoying "feature" that can waste a lot of space over time is the increasingly popular LSO cookies. These Flash cookies, so known because of their proximity to Adobe's Flash Player files, are primarily used for detailed logging of a user's individual surfing habits. Compared with their traditional text-based cousins, LSO cookies are not only significantly bigger but also remain on the system even longer. They also represent a data protection problem because they are difficult to remove manually from the system.
To get rid of these curious memory hogs, users with Firefox need the BetterPrivacy plugin from the Mozilla page [5]. After installation, a window appears when you close the web browser, asking you to select an approach for handling the existing LSO cookies. The recommended approach is to enable the Delete Flash cookies on Firefox exit option in the Options & Help tab of the plugin's settings dialog.
The path to enter for locating the LSO cookies, if the software does not automatically detect the correct path, is ~/.macromedia
. You can access the plugin's LSO Manager in Firefox via the Tools | Add-ons | Extensions menu. This shows you a list of LSO cookies still present on the system in the browser. At the bottom of the LSO Manager tab, you will also see an indication of how many Flash cookies were automatically removed from your system (Figure 6).
Because Flash cookies can settle everywhere in the system where the Flash player or some compatible application resides, regardless of the browser you use, you need to remove these pests manually if you use any web browser other than Firefox or Iceweasel.
The easiest way to deny Flash cookies access to the system manually is to lock the storage folder. On Linux, LSO cookies usually end up in the hidden ~/.macromedia/Flash_Player/#SharedObjects/
directory. By entering the command chmod -R 400 .macromedia/
from the home directory of the logged-in user, you can lock the folders recursively for storage access. From now on, the Flash Player will be unable to store cookies in the designated directory, thus saving valuable space.
Conclusions
Even Linux systems tend to put on weight over time, and countless logfiles, cache files, temporary data, and privacy-invading software off the Internet aggravate this tendency. On heavily used systems, orphaned files are often hidden away, wasting valuable space. Last, but not least, is the danger of accidentally storing duplicates.
Armed with the JDiskReport, Sweeper [6], and BleachBit tools, as well as the BetterPrivacy add-on for Firefox and Iceweasel, you can put your system on an effective diet that makes a slender, high-speed sprinter out of an installation that is approaching obesity after long use.
Infos
- JDiskReport: http://www.jgoodies.com/freeware/jdiskreport/
- Bleachbit: http://bleachbit.sourceforge.net
- Bleachbit tutorial: http://bleachbit.sourceforge.net/documentation/cleanerml
- Cleanerml: https://github.com/az0/cleanerml/tree/master/release
- BetterPrivacy: https://addons.mozilla.org/de/firefox/addon/betterprivacy/?src=ss
- Sweeper: https://packages.debian.org/source/sid/sweeper
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Endless OS 6 has Arrived
After more than a year since the last update, the latest release of Endless OS is now available for general usage.
-
Fedora Asahi 40 Remix Available for Macs with Apple Silicon
If you've been anticipating KDE's Plasma 6 for your Apple Silicon-powered Mac, then you're in luck.
-
Red Hat Adds New Deployment Option for Enterprise Linux Platforms
Red Hat has re-imagined enterprise Linux for an AI future with Image Mode.
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.