Author Topic: Removing unused external themes  (Read 750 times)

Offline NickJP

  • More than Newbie
  • *
  • Posts: 12
  • Thanked: 2 times
    • View Profile
  • Device: Google Pixel
Removing unused external themes
« on: January 14, 2018, 11:13:54 »
I've installed a number of external map themes to see what they're like, using the quick install method. How do I get rid of the ones that I don't want? There doesn't seem to be any way within Locus to delete them. The themes seem to be all stored under the /Locus/mapsVector/_themes folder on the phone, with a separate sub-folder for each theme. Is it just a matter of deleting the folder(s) for the theme(s) that I don't want?
 

Offline Christian

  • Premium
  • Master of Locus
  • ****
  • Posts: 784
  • Thanked: 8 times
    • View Profile
Re: Removing unused external themes
« Reply #1 on: January 14, 2018, 14:15:50 »
Is it just a matter of deleting the folder(s) for the theme(s) that I don't want?
yes, delete the folders.
 

Offline john_percy

  • Master of Locus
  • ****
  • Posts: 512
  • Thanked: 48 times
    • View Profile
  • Device: MotoG
Re: Removing unused external themes
« Reply #2 on: January 14, 2018, 19:07:21 »
Themes you install from Locus Store can be renoved via the store
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10840
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Removing unused external themes
« Reply #3 on: January 16, 2018, 10:07:11 »
Hmm is it secure to simply remove XML file + directory?

I see here two problems:
  • Locus handle only XML file. Which directory is needed for a theme is uknown
  • Some themes may share same directory, right? Then removing dir cause problems to other theme

I can imagine solution here. Analyze all xml files and check which directories (and image files) are needed and which not and remove un-necessary. Does it worth a lot of work here?
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline john_percy

  • Master of Locus
  • ****
  • Posts: 512
  • Thanked: 48 times
    • View Profile
  • Device: MotoG
Re: Removing unused external themes
« Reply #4 on: January 16, 2018, 10:59:24 »
@menion: Theme XML files can't share the same directory in Locus. If there are two XML files in the same directory, Locus shows neither theme. So it is safe to simply delete the directory containing the theme XML file.
Some themes do use a second directory for graphic resources which may be used by other themes. That cannot be deleted unless one is sure it is not used by another theme.

Sent from my XT1039 using Tapatalk
« Last Edit: January 16, 2018, 11:01:28 by john_percy »