corporate usage issues. With usage of items like Bleachbit. I have suggestions to cure.

Forums: 
Forum tags: 

I am sorry what I am about to talk about will mean reformatting the CleanerML files.

Lets start off with the major issues.

1) CleanerML is very OS particular.
2) Handling systems with multiable users on not exactly clean.
3) Cannot handle items with configurable install locations.
4) What is user and what is system is not split

All three are kinda interlinked

Case 1. Lets say I have roaming profiles from windows but they are stored on a Linux server.

Current bleachbit I could not clean the roaming profiles stored on Linux with the current xml files. Some of the changes required for this is providing generic environmental vars and having a platform neutral command line language for cleaning. This is a type 1 problem.

Without login into users bleachbit has no framework to extract from like active directory where profiles are or using wildcards to solve out. This is type 2 problem.

Cannot run only system clean up functions on client machines. This is type 4 problem.

Case 2
Wine cleaning is incomplete on Linux without running wine with bleach bit inside. This is a type 1 and type 3 problem. Due to xml being OS dependant the CleanerML cannot be used. Due to the fact Wine support multiable prefixs bleachbit will miss.

Case 3
Cleaning system while in another. This could be a mounted virtual machine image.

Solutions as I see them.

Expanding the CleanerML language.

current basic struct.
Extended new version.

From what I can see this would remain xml compatible with the prior form.

Each platform would have set of targets. The path in the first line is left there for backward compatibility. This would allow solarias or freebsd or even OS X rules to be added to bleach bit.

The target in the operation tag is really saying what environmental var to apply at start.

The target system can even work for items like wine. target="wine" now in the configure file for bleachbit could contain.

So an operation doing target wine in the past list would run twice.

Now if user target had a list of paths as well. The command would run with each altered form of that path.

Yes I know this is a more complex program I am talking about.

Lets say I have roaming profiles from windows but they are stored on a Linux server. Current bleachbit I could not clean the roaming profiles stored on Linux with the current xml files.

Wine roaming profiles should work. If you open a command window (cmd.exe) and type the command set, you should see USERPROFILE is set to the directory where Windows stores its settings. BleachBit uses the same variable. What happens when you try to clean a roaming profile? Is there an error? What is the error? Which version of BleachBit? Which version of Windows? Which BleachBit cleaner does not work?

Wine cleaning is incomplete on Linux without running wine with bleach bit inside.

Yes, Wine is currently not fully supported. One reason is it is relatively unpopular compared to the other priorities.

Due to xml being OS dependant the CleanerML cannot be used.

It should be possible to implement support for Wine without any changes to CleanerML. For example in the path $USERPROFILE\Local Settings\Application Data\Adobe\Acrobat\9.0\Cache the variable can be expanded to ~/.wine/drive_c/users/z/. If multiple Wine prefixes are necessary, (1) each prefix can be stored in the preferences and (2) each prefix can be expanded separately.

Cleaning system while in another. This could be a mounted virtual machine image.

This is a very rare case, so it would be hard to justify the cost of implementing and maintaining this option.

---
Andrew, lead developer

"Wine roaming profiles should work. " Wrong roaming profiles. Wine does not support roaming profiles at all. Due to this fact I was presuming that I was refering to roaming profiles stored on a samba server would be simply presumed. I should have been more exact.

Issue is that roming profiles are stored on the Linux server having them cleaned at like 1 am in the morning with the rest of the windows clients down would be good. You don't place wine on servers that don't need it.

It is very foolish to make wine a dependancy to clean profiles thinking wine cannot read or alter windows registry hive files. So all those winreg alterations will not work on a windows profile using wine. Cleaning tool is malfunctining that way. Ie it will tell person they are done and it not.

Basically without running windows currently cannot clean Windows Profiles correctly. This is a issue.

Basically everything stored in ntuser.dat hive in the user profile should be cleanable and every other bit of junk in the profile stored on Linux should be cleanable if bleachbit is designed todo it. Tool to process wine .reg files could be developed and the same offseting to samba roaming profile storage could be used to clean up wine prefixes with that alteration as well.

$USERPROFILE\Local Settings\Application Data\Adobe\Acrobat\9.0\Cache Now you don't want to have to add wine to linux server running samba to process this. Slashes are all the wrong way to start off with.

Cross OS support is kinda a little important. Same with not running a command on the wrong OS. If bleach bit starts supporting like OS X and Solarias as well as Linux some delete paths maybe wrong. Ie right to del on OS X or Solarias and wrong on Linux or any other combination.

This kind of cross working support means server people will have more reason to support bleachbit.