Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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...

share|improve this answer
    
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. –  akled Mar 1 '13 at 9:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.