SUGGESTION: Cleaner for Window$ software installed under WINE

Bug #403249 reported by Roman Horník
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
BleachBit
Expired
Low
Unassigned
Baltix
Incomplete
Undecided
Unassigned

Bug Description

I have an idea: Windows cleaners are now useless for GNU/Linux users.
A large number of these users using the WINE for running their favorite applications on Linux OS with no adequate equivalent.
It would be good if these cleaners will be able to work with applications that were installed using the WINE.

Revision history for this message
Andrew Ziem (ahziem1) wrote :

I was thinking the same thing.

Cons
1. It is common practice to do 'rm -rf ~/.wine', but on the other hand
2. BleachBit should run as Windows app under Wine
3. I am not yet sure what it would take to do Windows registry access under Wine

Pro
1. The file access part should be easy enough

Changed in bleachbit:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Roman Horník (roman.hornik) wrote :

If it were possible, I would rather practiced the "sudo rm -rf C:\" :D
I know that BleachBit is also designed for Windoze, but it seems to me to be unnecessary, that was installed separately for Windoze (or WINE) when only one running BleachBit is able to work with WINE applications and may even work with the files on another partition, where Windoze can be installed.
Probably you can only add to the BB Preferences something like:

I installed Windows applications:
* Nowhere
* WINE
* Windows on the another partition with location: [(s/h) da (1, 2, ...)]

Where:

[...]= Text field
(s / h) da (1, 2, ...)= sda2, hda5, etc.
*= Radio buttons

Would it be possible?

Revision history for this message
Roman Horník (roman.hornik) wrote :

<?xml version="1.0" encoding="UTF-8"?>
<!--

    BleachBit
    Copyright (C) 2009 Andrew Ziem
    http://bleachbit-project.appspot.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.

-->
<cleaner id="pidgin">
  <label>Pidgin</label>
  <description>Chat client</description>
  <option id="logs">
    <label>Chat logs</label>
    <description>Delete the chat logs</description>
    <action type="children" directories="true">~/.purple/logs/</action>
    <action type="children" directories="true">$APPDATA\.purple\logs\</action>
    <action type="children" directories="true">~/.wine/drive_c/Program Files/.purple/logs/</action> <!-- ← WINE -->
  </option>
</cleaner>

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Theoretically a person could have 10 WINE instances (because of 'WINEPREFIX') and 10 Windows partitions at the same time, so the most basic preference would be a directory browser to choose the root (/mnt/windows/, ~/.wine/drive_c/, etc.).

As a hack you can put the WINE paths in CleanerML for yourself (like your example), but I don't want to ship hard-coded paths for everyone.

Revision history for this message
oiaohm (oiaohm) wrote :

Not in theory. 10 plus paths do happen. One here I have 8 different versions of wine installed. Yes I need them to play the games I have.

I also have samba server with roaming profiles both problems are almost the same.

We need a few things todo it well.

Paths side. Simplest is processing on windows paths cleaning for use with Linux wine and samba stores. $APPDATA and the like should solve out and slashes be corrected. Including a option that if raw path is used ie c:\somewhere or Windows envormental var used that does not match up to where cleaning for that section of cleaner code dropped.

Along with these path solve outs means to set registry delete program to be used in combination. A script around chntpw could be used for cleaning ntuser.dat files under samba also chntpw could be used for cleaning out off line copies of windows.

List of locations of all these windows program running locations need to be a plugins into bleach.

Biggest problem I have with the cleaner scripts is Linux and windows operations are not tagged. Please be aware \ is vaild to be contained in Linux file and directory names. So if you are split what is windows and what is Linux by \ and / you are playing with trouble.

action tags really do need OS. ie <action type="children" directories="true" os="windows">$APPDATA\.purple\logs\</action>

Then if where those action tags are processed can we insert like a wine action process and a samba action process and a offline windows process as well as a native windows process. All problems are solved.

Revision history for this message
Theatre-X (theatrex) wrote :

I agree. I think this would be a very neat idea.

Changed in bleachbit:
status: Triaged → Incomplete
Changed in baltix:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for BleachBit because there has been no activity for 60 days.]

Changed in bleachbit:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.