Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to write a script to for a slideshow using FEH. I have a 1650x1080 monitor but I want the show to be in a 1024x768 window..surrounded by black. FEH doesn't seem to have any options for surrounding a window with black...or have I missed something ???
--bg-tile file
Set file as desktop background, tiled if necessary. feh can use enlightenment IPC if you are running it, or it will fall back to X methods. feh stores the commandline necessary to restore the background in ~/.fehbg. So to have your background restored when you restart X, add the line "`cat ~/.fehbg`" to your X startup script (e.g. ~/.xinitrc). Note that you only need to do this for non E window managers.
Perhaps you could tile a black image for the background.
I also found this:
Code:
-B, --image-bg style
Use style as background for transparent image parts and the like. Accepted values: white, black, default
There are also "format specifiers" towards the end of the man file that can be used to control the height and width of the image. Whether they can be combined with the background settings to produce the effect of an image framed by a background, I don't know. The man page doesn't really address that, and I'm not really in a position to test it tonight, but hopefully this will give you starting point.
--bg-tile file
Set file as desktop background, tiled if necessary. feh can use enlightenment IPC if you are running it, or it will fall back to X methods. feh stores the commandline necessary to restore the background in ~/.fehbg. So to have your background restored when you restart X, add the line "`cat ~/.fehbg`" to your X startup script (e.g. ~/.xinitrc). Note that you only need to do this for non E window managers.
Perhaps you could tile a black image for the background.
Something I could try - only catch would be I'd have to restore my BG afterwards. Seems a really complicated
way to achieve what I want..but I'll give it a shot
Quote:
I also found this:
Code:
-B, --image-bg style
Use style as background for transparent image parts and the like. Accepted values: white, black, default
There are also "format specifiers" towards the end of the man file that can be used to control the height and width of the image. Whether they can be combined with the background settings to produce the effect of an image framed by a background, I don't know. The man page doesn't really address that, and I'm not really in a position to test it tonight, but hopefully this will give you starting point.
I have tried the -B parameter but it had no effect.
What I've done in the interim is to load a full screen xterm, then run feh with the geometry set to 1024x768..that works.
I also emailed feh's new maintainer...and he suggested resizing all the jpgs to 1024x768, then running feh with the --fullscreen parameter. That sort of works
but the resizing is a PITA.
Thanks for your suggestions
Last edited by frankzen; 10-05-2012 at 10:47 PM.
Reason: spelling
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.