Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

OctoPrint shows 5 files by default without any option to change it via the configuration, however, there is a way to control how many files are displayed by changing its source code.

To make OctoPrint display more files, the following file needs to be updated: src/octoprint/templates/index.jinja2. Look for the CONFIG_GCODEFILESPERPAGE variable and set it to whatever number you want. In my case I changed it to 10.
 src/octoprint/templates/index.jinja2
...
var CONFIG_GCODEFILESPERPAGE = 10;
...


The result is a much bigger file list and no more having to go through lots of pages!
morefiles.png




-i

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.