LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-05-2012, 11:33 AM   #1
frankzen
Member
 
Registered: Mar 2004
Location: Montreal
Distribution: Debian - Fedora -
Posts: 51

Rep: Reputation: 1
Angry FEH slideshow


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


Thanks

Last edited by frankzen; 10-05-2012 at 11:42 AM.
 
Old 10-05-2012, 09:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
I found this in man feh:

Code:
     --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.
 
Old 10-05-2012, 10:45 PM   #3
frankzen
Member
 
Registered: Mar 2004
Location: Montreal
Distribution: Debian - Fedora -
Posts: 51

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by frankbell View Post
I found this in man feh:

Code:
     --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
 
Old 10-06-2012, 08:02 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You might try batch converting with either convert or imagemagick. If it were me, I'd make copies of the images first, then test on the copies.

http://linux.about.com/od/commands/l...l1_convert.htm

http://linuxconfig.org/batch-image-r...x-command-line
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Feh Options lonesoac0 Linux - General 3 01-23-2012 08:44 PM
cronjob + feh alphisb0t Linux - Software 7 08-21-2010 06:25 PM
feh problems Th3_J3st3R Slackware 12 06-08-2009 01:44 AM
desklets do not stay on top during feh slideshow aerosmith Linux - Desktop 7 01-25-2009 11:51 PM
fbsetbg and feh soldan Linux - Newbie 3 11-27-2006 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration