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
-
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.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.