Opened 12 years ago

Closed 11 years ago

#1457 closed enhancement (invalid)

[Proposition] bleachbit 0ad cleaner

Reported by: rogue-spectre Owned by: rogue-spectre
Priority: If Time Permits Milestone:
Component: Non-game systems Keywords: bleachbit cleaner
Cc: Patch:

Description

Hi,

I just wrote the beginning of a 0ad linux cleaner for bleachbit… is it a good idea to do this now ? I'm just wondering if the "personnals" files are located in the same directories for each linux distro ? I also need to know the location of these files on other platforms (win, mac).

Attachments (2)

0ad.xml (1.7 KB ) - added by rogue-spectre 12 years ago.
0ad-linuxfull-macithinkfull-winpartial.xml (2.4 KB ) - added by rogue-spectre 12 years ago.
bleachbit cleaner with linux and mac support and partial win support

Download all attachments as: .zip

Change History (8)

by rogue-spectre, 12 years ago

Attachment: 0ad.xml added

comment:1 by leper, 12 years ago

GameDataPaths should contain all information you need. We adhere to the XDG base dir spec on unix, and try to follow Apple's and Microsoft's guidelines on their operating systems.

I'll leave this ticket open, but I think you should try to get this added upstream (to BleachBit).

by rogue-spectre, 12 years ago

bleachbit cleaner with linux and mac support and partial win support

comment:2 by rogue-spectre, 12 years ago

following the paths from GameDataPaths, i just add lines in order the cleaner can work under mac and win. But because of localized path for win, i just add the path which can be reached with variables. I will submit this cleaner to the bleachbit team this week (end) i think if there is no changes to be done.

comment:3 by leper, 12 years ago

You should probably use the XDG variables on linux (and use the default (eg. ~/.config) if they aren't set or are empty).

in reply to:  2 comment:4 by historic_bruno, 12 years ago

Replying to rogue-spectre:

following the paths from GameDataPaths, i just add lines in order the cleaner can work under mac and win. But because of localized path for win, i just add the path which can be reached with variables. I will submit this cleaner to the bleachbit team this week (end) i think if there is no changes to be done.

Is $LOCALAPPDATA part of BleachBit? If that's the Windows environment variable you're using, it won't work on XP/2000 because it was only added with Vista (see #1438). I'm not sure if there's a good solution to integrate with BleachBit in that case.

Last edited 12 years ago by historic_bruno (previous) (diff)

comment:5 by rogue-spectre, 12 years ago

hi,

i just look to the cleaners installed on my laptop "/usr/share/bleachbit/cleaners", i don't see any use of XDG variables, but localappdata is well used, i totaly agree with you historic_bruno, some path will not be clean under XP/2000 because this variable is not defined… i'll search if bleachbit defines some usefull variables to be able to use the cleaner under XP, but so far i've not seen something i can use…

comment:6 by historic_bruno, 11 years ago

Milestone: Backlog
Resolution: invalid
Status: newclosed

Closing this ticket as it's not a 0 A.D. issue.

Note: See TracTickets for help on using tickets.