CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
651 stars 83 forks source link

Remove history size limit #14

Closed johanfrick-zz closed 12 years ago

johanfrick-zz commented 12 years ago

I would like to have a history size bigger than 1000. Is it possible to remove that limit? (I have tried checking out the code and compile it, but it fails with some missing gtk lib, even though I have it installed.)

CristianHenzel commented 12 years ago

I would rather not want to increase the limit, since it can cause unexpected behaviour: it can eat up all the RAM of the machine if there are too many items copied, since the whole list is stored in RAM. You not only need the gtk lib itself, but also the development files (usually a -dev package).

johanfrick-zz commented 12 years ago

Ah, that is wonderful! It worked fine.

I understand your concern about RAM, but my case, and I guess most people, I only have a couple of words in each history item so even if I raise to 100000 items it would not take more than maybe 10MB. I still think that you should at least allow a flag in config to override the 1000 limit.

Also, do you have any idea why I don't get any tray icon when building from source? (Ubuntu 12.04)