1

I've just figured I don't actually need an image when logging into slim, especially if that image is a few megabytes large.

Currently they're both set to 1x1 png images, however, then that image has to be rendered a few million times each frame, which isn't quite efficient either.

How can I disable both the background image and the panel image in SLiM?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
jcora
  • 3,874
  • 7
  • 34
  • 52

1 Answers1

2

There is no way to turn if off using config files. It is hardcoded in sources (with names of files), so only way to remove background will be to modify sources.


My background is about 150KB, panel about 15 KB, so it lot smaller that "few megabytes".

You can set in your slim.theme:

background_style stretch

so if its 1x1 px there will be only one stretched file and there will be only one copy of this file.

BTW, turning off shouldn't make any visible difference in used resources of modern computer. If you want to run X applications there will be apps that are using many more megabytes of graphics...

pbm
  • 24,747
  • 6
  • 36
  • 51
  • Well, my background was 2000px*1700px, or something like that, so I think it was a couple of megabytes actually. But thanks for the info, I'll dive into the source. – jcora Mar 01 '13 at 09:34