Re: .lyx/cache

2020-08-17 Thread Richard Kimberly Heck
On 8/17/20 12:03 PM, Wolfgang Engelmann wrote:
>
>
> Am 17.08.20 um 18:00 schrieb Richard Kimberly Heck:
>> On 8/17/20 5:05 AM, Wolfgang Engelmann wrote:
>>>
>>>
>>> Am 16.08.20 um 16:04 schrieb Richard Kimberly Heck:
 On 8/16/20 8:28 AM, Wolfgang Engelmann wrote:
> what is the function of .lyx/cache? I did not find infos in the help
> file. Seems to contain figures such as pdf, eps, png and they are all
> coded with 10 digit numbers.

 It saves the conversions of images for loading into LyX itself. If you
 delete the directory, they will be re-generated as required.

 Riki


>>> Thanks, Riki.
>>> Suppose I change some of the images with smaller ones, would the large
>>> ones still remain in the cache?
>>
>> I think so, but I am not sure.
>>
>>
>>> I guess the images of all the used lyx files are in this cache, are
>>> they?
>>
>> Anything that gets converted is cached here. I am not sure if that
>> includes math previews.
>>
>> Riki
>>
>>
> Thanks, Riki,
> so I think if I empty the cache it will be newly created by the
> current lyx document.

Yes.


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: .lyx/cache

2020-08-17 Thread Wolfgang Engelmann




Am 17.08.20 um 18:00 schrieb Richard Kimberly Heck:

On 8/17/20 5:05 AM, Wolfgang Engelmann wrote:



Am 16.08.20 um 16:04 schrieb Richard Kimberly Heck:

On 8/16/20 8:28 AM, Wolfgang Engelmann wrote:

what is the function of .lyx/cache? I did not find infos in the help
file. Seems to contain figures such as pdf, eps, png and they are all
coded with 10 digit numbers.


It saves the conversions of images for loading into LyX itself. If you
delete the directory, they will be re-generated as required.

Riki



Thanks, Riki.
Suppose I change some of the images with smaller ones, would the large
ones still remain in the cache?


I think so, but I am not sure.



I guess the images of all the used lyx files are in this cache, are they?


Anything that gets converted is cached here. I am not sure if that
includes math previews.

Riki



Thanks, Riki,
so I think if I empty the cache it will be newly created by the current 
lyx document.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: .lyx/cache

2020-08-17 Thread Richard Kimberly Heck
On 8/17/20 5:05 AM, Wolfgang Engelmann wrote:
>
>
> Am 16.08.20 um 16:04 schrieb Richard Kimberly Heck:
>> On 8/16/20 8:28 AM, Wolfgang Engelmann wrote:
>>> what is the function of .lyx/cache? I did not find infos in the help
>>> file. Seems to contain figures such as pdf, eps, png and they are all
>>> coded with 10 digit numbers.
>>
>> It saves the conversions of images for loading into LyX itself. If you
>> delete the directory, they will be re-generated as required.
>>
>> Riki
>>
>>
> Thanks, Riki.
> Suppose I change some of the images with smaller ones, would the large
> ones still remain in the cache?

I think so, but I am not sure.


> I guess the images of all the used lyx files are in this cache, are they?

Anything that gets converted is cached here. I am not sure if that
includes math previews.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: .lyx/cache

2020-08-17 Thread Wolfgang Engelmann




Am 16.08.20 um 16:04 schrieb Richard Kimberly Heck:

On 8/16/20 8:28 AM, Wolfgang Engelmann wrote:

what is the function of .lyx/cache? I did not find infos in the help
file. Seems to contain figures such as pdf, eps, png and they are all
coded with 10 digit numbers.


It saves the conversions of images for loading into LyX itself. If you
delete the directory, they will be re-generated as required.

Riki



Thanks, Riki.
Suppose I change some of the images with smaller ones, would the large 
ones still remain in the cache?

I guess the images of all the used lyx files are in this cache, are they?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: .lyx/cache

2020-08-16 Thread Richard Kimberly Heck
On 8/16/20 8:28 AM, Wolfgang Engelmann wrote:
> what is the function of .lyx/cache? I did not find infos in the help
> file. Seems to contain figures such as pdf, eps, png and they are all
> coded with 10 digit numbers.

It saves the conversions of images for loading into LyX itself. If you
delete the directory, they will be re-generated as required.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX cache

2011-06-04 Thread Hellmut Weber
Hi Påvel,
would you mind to tell me where you fou nd this setting exactly?

I looked through all of the menues, searched in ~/.lyx and
/usr/share/lyx for a *.prefs file and grepped in both subtrees for
'cache' and 'lifetime'. With no result.


TIA

Hellmut

Am 18.05.2011 20:49, schrieb Påvel Nicklasson:
 Den 2011-05-18 19:53:05 skrev Pavel Sanda sa...@lyx.org:
 
 Richard Heck wrote:
 Thank you for the answer!
 I guess I have to remember cleaning the cache now and then.

 there is lifetime for cache in lyx prefs.
 pavel
 
 
 I found it!
 The default setting of 180 days seems a little too generous to me.
 Påvel
 

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: LyX cache

2011-06-04 Thread Richard Heck
On 06/04/2011 05:44 PM, Hellmut Weber wrote:
 Hi Påvel,
 would you mind to tell me where you found this setting [Cache Age] exactly?

ToolsPreferencesFile HandlingConverters, at the bottom.

 I looked through all of the menues, searched in ~/.lyx and
 /usr/share/lyx for a *.prefs file and grepped in both subtrees for
 'cache' and 'lifetime'. With no result.

Preferences are stored in ~/.lyx/preferences.

rh



Re: LyX cache

2011-06-04 Thread Hellmut Weber
Hi Påvel,
would you mind to tell me where you fou nd this setting exactly?

I looked through all of the menues, searched in ~/.lyx and
/usr/share/lyx for a *.prefs file and grepped in both subtrees for
'cache' and 'lifetime'. With no result.


TIA

Hellmut

Am 18.05.2011 20:49, schrieb Påvel Nicklasson:
 Den 2011-05-18 19:53:05 skrev Pavel Sanda sa...@lyx.org:
 
 Richard Heck wrote:
 Thank you for the answer!
 I guess I have to remember cleaning the cache now and then.

 there is lifetime for cache in lyx prefs.
 pavel
 
 
 I found it!
 The default setting of 180 days seems a little too generous to me.
 Påvel
 

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: LyX cache

2011-06-04 Thread Richard Heck
On 06/04/2011 05:44 PM, Hellmut Weber wrote:
 Hi Påvel,
 would you mind to tell me where you found this setting [Cache Age] exactly?

ToolsPreferencesFile HandlingConverters, at the bottom.

 I looked through all of the menues, searched in ~/.lyx and
 /usr/share/lyx for a *.prefs file and grepped in both subtrees for
 'cache' and 'lifetime'. With no result.

Preferences are stored in ~/.lyx/preferences.

rh



Re: LyX cache

2011-06-04 Thread Hellmut Weber
Hi Påvel,
would you mind to tell me where you fou nd this setting exactly?

I looked through all of the menues, searched in ~/.lyx and
/usr/share/lyx for a *.prefs file and grepped in both subtrees for
'cache' and 'lifetime'. With no result.


TIA

Hellmut

Am 18.05.2011 20:49, schrieb Påvel Nicklasson:
> Den 2011-05-18 19:53:05 skrev Pavel Sanda :
> 
>> Richard Heck wrote:
 Thank you for the answer!
 I guess I have to remember cleaning the cache now and then.
>>
>> there is lifetime for cache in lyx prefs.
>> pavel
> 
> 
> I found it!
> The default setting of 180 days seems a little too generous to me.
> Påvel
> 

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: LyX cache

2011-06-04 Thread Richard Heck
On 06/04/2011 05:44 PM, Hellmut Weber wrote:
> Hi Påvel,
> would you mind to tell me where you found this setting [Cache Age] exactly?
>
Tools>Preferences>File Handling>Converters, at the bottom.

> I looked through all of the menues, searched in ~/.lyx and
> /usr/share/lyx for a *.prefs file and grepped in both subtrees for
> 'cache' and 'lifetime'. With no result.
>
Preferences are stored in ~/.lyx/preferences.

rh



Re: LyX cache

2011-05-18 Thread Pavel Sanda
Richard Heck wrote:
 Thank you for the answer!
 I guess I have to remember cleaning the cache now and then.

there is lifetime for cache in lyx prefs.
pavel


Re: LyX cache

2011-05-18 Thread Påvel Nicklasson

Den 2011-05-18 19:53:05 skrev Pavel Sanda sa...@lyx.org:


Richard Heck wrote:

Thank you for the answer!
I guess I have to remember cleaning the cache now and then.


there is lifetime for cache in lyx prefs.
pavel



I found it!
The default setting of 180 days seems a little too generous to me.
Påvel


Re: LyX cache

2011-05-18 Thread Pavel Sanda
Richard Heck wrote:
 Thank you for the answer!
 I guess I have to remember cleaning the cache now and then.

there is lifetime for cache in lyx prefs.
pavel


Re: LyX cache

2011-05-18 Thread Påvel Nicklasson

Den 2011-05-18 19:53:05 skrev Pavel Sanda sa...@lyx.org:


Richard Heck wrote:

Thank you for the answer!
I guess I have to remember cleaning the cache now and then.


there is lifetime for cache in lyx prefs.
pavel



I found it!
The default setting of 180 days seems a little too generous to me.
Påvel


Re: LyX cache

2011-05-18 Thread Pavel Sanda
Richard Heck wrote:
>> Thank you for the answer!
>> I guess I have to remember cleaning the cache now and then.

there is lifetime for cache in lyx prefs.
pavel


Re: LyX cache

2011-05-18 Thread Påvel Nicklasson

Den 2011-05-18 19:53:05 skrev Pavel Sanda :


Richard Heck wrote:

Thank you for the answer!
I guess I have to remember cleaning the cache now and then.


there is lifetime for cache in lyx prefs.
pavel



I found it!
The default setting of 180 days seems a little too generous to me.
Påvel


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder 
I realised that my .lyx folder is very big. Most of the space is taken 
by the subfolder cache which is over 5GB big. It mostly contains 
images from my projects in .eps and .png formats. Is it safe to empty 
the cache subfolder? Is there a way to flush it from within LyX? Such 
a big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within 
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard



Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder cache which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 03:17 PM, Påvel Nicklasson wrote:

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home 
folder I realised that my .lyx folder is very big. Most of the space 
is taken by the subfolder cache which is over 5GB big. It mostly 
contains images from my projects in .eps and .png formats. Is it 
safe to empty the cache subfolder? Is there a way to flush it from 
within LyX? Such a big cache building up can be an issue on small 
systems.


It's safe to remove. I don't think there's any way to do it from 
within LyX. Probably there should be, and a limit cache to N MB 
choice, too.




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.

Set up a cron job. Have it check the size of the cache and remove as 
much as it needs to remove (starting with the older files) to get it 
down to some level you specify. Shouldn't be too hard.


rh



Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder 
I realised that my .lyx folder is very big. Most of the space is taken 
by the subfolder cache which is over 5GB big. It mostly contains 
images from my projects in .eps and .png formats. Is it safe to empty 
the cache subfolder? Is there a way to flush it from within LyX? Such 
a big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within 
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard



Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder cache which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a limit cache to N MB choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 03:17 PM, Påvel Nicklasson wrote:

Den 2011-05-17 20:16:16 skrev Richard Heck rgh...@comcast.net:


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home 
folder I realised that my .lyx folder is very big. Most of the space 
is taken by the subfolder cache which is over 5GB big. It mostly 
contains images from my projects in .eps and .png formats. Is it 
safe to empty the cache subfolder? Is there a way to flush it from 
within LyX? Such a big cache building up can be an issue on small 
systems.


It's safe to remove. I don't think there's any way to do it from 
within LyX. Probably there should be, and a limit cache to N MB 
choice, too.




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.

Set up a cron job. Have it check the size of the cache and remove as 
much as it needs to remove (starting with the older files) to get it 
down to some level you specify. Shouldn't be too hard.


rh



Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder 
I realised that my .lyx folder is very big. Most of the space is taken 
by the subfolder "cache" which is over 5GB big. It mostly contains 
images from my projects in .eps and .png formats. Is it safe to empty 
the cache subfolder? Is there a way to flush it from within LyX? Such 
a big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within 
LyX. Probably there should be, and a "limit cache to N MB" choice, too.


Richard



Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck :


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder "cache" which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a "limit cache to N MB" choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


Re: LyX cache

2011-05-17 Thread Richard Heck

On 05/17/2011 03:17 PM, Påvel Nicklasson wrote:

Den 2011-05-17 20:16:16 skrev Richard Heck :


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home 
folder I realised that my .lyx folder is very big. Most of the space 
is taken by the subfolder "cache" which is over 5GB big. It mostly 
contains images from my projects in .eps and .png formats. Is it 
safe to empty the cache subfolder? Is there a way to flush it from 
within LyX? Such a big cache building up can be an issue on small 
systems.


It's safe to remove. I don't think there's any way to do it from 
within LyX. Probably there should be, and a "limit cache to N MB" 
choice, too.




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.

Set up a cron job. Have it check the size of the cache and remove as 
much as it needs to remove (starting with the older files) to get it 
down to some level you specify. Shouldn't be too hard.


rh