SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Using mplayer, I can control a movie on display :x from a console, ie, key events in the console affect the movie.
Is there a an image viewer that can be used the same way? eg, to pause a slideshow, zoom, previous, etc... My google foo hasn't offered much.
I'm aware of options such as using mencoder to create an avi, then playing back with mplayer. gliv gave me hope, but the --display option returns an error (stating that --display isn't an option...).
I'm also aware of programs that send a key event to the display, but I would prefer a direct approach.
I'm thinking that it may be possible with feh or perhaps display, but I'm stumped.
You can do slideshows in mplayer directly. Consult the man page.
Just turn the framerate WAAAY down and point the input at the directory containing your images...er...maybe you list the images on the cmdline with wildcard and drags, etc.
Then just arrow fwd, pause, etc.
Would that work for you?
If I am understanding what you mean, /usr/bin/xv will do what you want. It has keypress controls for almost everything -- next, previous, zoom, maxpect, rotate, etc. And it does slideshows.
I had already tried mplayer, and it didn't *seem* to accomplish what I was after, however I revisited after your suggestion, and the same command actually worked, though I'll have to tinker a bit to get it exactly how I'm envisioning....
mplayer -mf fps:0.25 mf://path to files/*.JPG
@ttk
as far as I can discern, the key events have to occur on the display window itself, as opposed to key events being entered in the console and being directed to the display. Thanks for your input.
...except that, as per my original post, *many*, including qiv, DON'T allow one to control the display from the console, as mplayer does.
cheers,
OK, there's a chance I didn't get your question right :-) But qiv allows one to perform the following actions from the keyboard: zoom, rotate, change brightness and contrast, show info about the image, pause the slideshow, go back and forth, select and safely delete images, set an image as a background, move the image in full-screen mode, etc. Actually, everything qiv does, it does either from the command line or from the keyboard, with only a few basic action that can be done with the mouse.
OK, there's a chance I didn't get your question right :-) But qiv allows one to perform the following actions from the keyboard: zoom, rotate, change brightness and contrast, show info about the image, pause the slideshow, go back and forth, select and safely delete images, set an image as a background, move the image in full-screen mode, etc. Actually, everything qiv does, it does either from the command line or from the keyboard, with only a few basic action that can be done with the mouse.
Basically, with qiv, and other programs I've discovered (other than mplayer) the keyboard events are sent to the *display* window, rather than to the console - in other words, I want the console to become the controlling device (sorta like a remote control: what I am attempting to accomplish is to control the display from another device, ie remotely.) If you fire up a video from the cli with mplayer, the video's progress is displayed in the console, and the console accepts the key events (space to pause, pg up or right arrow to progress, etc.) I hope this clarifies what I'm after.
Basically, with qiv, and other programs I've discovered (other than mplayer) the keyboard events are sent to the *display* window, rather than to the console...
Ah, I see. I misunderstood your question from the very beginning. Sorry.
Ah, I see. I misunderstood your question from the very beginning. Sorry.
Nary a need to apologize, mate: the mere fact that you've taken the time to post and offer help underscores the purpose of this forum, which is to help ALL readers, current and future, not just the OP.
Furthermore, had your post not elicited clarification on my part, neither of us, nor many others, may have discovered nomacs....which I'll report on in due course.
@ponce
thanx...EDIT - I've perused the extended doc, and this could be it....
cheers,
Last edited by mrclisdue; 07-22-2012 at 09:01 AM.
Reason: because I can't shut up...need sleep....
If can be useful, I prepared a slackbuild (available also with sbopkg, if you use my repository for -current): it's for 0.3.0, but I think it can be used also for building the latest 0.3.2, changing the $VERSION variable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.