 Now I want to do a video on this program that probably got beat up on the playground when it was a kid because it has a Stupid unpronounceable name But it has changed my life in the past two days That's sort of an hyperbole, but I have decided to switch to this program full-time for my image viewing Not just because it's a good image viewer, but because it has all these crazy features in it that just make it You can run custom commands on images. You can do pretty much whatever you want highly extensible now It's called simple x image viewer or s Xiv I'm gonna misspell that every single time that I write it, but that's what it is now the manual Which is a lie by the way the manual says s xiv is a simple image viewer for x It only has the most basic features required for fast image viewing that isn't true This program has everything or the things it doesn't have you can easily put into it So it's a fantastic image viewer I was you using fab before which is very minimalist to but this This viewer you is much more extensible I'll explain why in a little bit, but I'll go over some of the basic features in the first couple minutes Just to make sure everyone's on the same page. So I'm gonna go to my Wallpapers folder one of my wallpapers folders and I have lots and lots of wallpapers here So if you want to run s xiv you have to spell it correctly first That's the hard part and pretty much run it on an image and it will pull it up. Let me move this to another Workspace so base basic bindings Plus to zoom in minus to zoom out equal to get to 100% zoom Let's say you're zoomed in want to move around you can use Vim keys H Hjkl stuff like that or capital Hjkl to zoom to one side or the other W fits it to the window E and capital E. I think fit it by its width and height or something like that Yeah, and it just has a bunch of other bindings to do I you know flip things around and stuff like that like for example Angle brackets will rotate it by 50 degrees now. This isn't actually changing the image It's just changing how it's displayed But you can do that and I think that question mark is yeah flip it upside down and Additionally, I think I wrote it down. Oh, yeah, so pipe pipe is actually invert the image so you can do that as well and Underscore to invert it on the other axis. So you can do a whole lot. This is just the basic stuff Now one advantage that SXIV has over fa or other minimalist image Programs I guess is that it can in fact render gifts. So for example, I have a gif in my Directory here and I can open this up. Here's my gif and if I want to play it I can just press control and then space or hold down control and press space and it will animate I can pause the animation with control space or if I want it to just automate automatically I can give it the a option and that will pop up like that. So that that's very nice, but let's get into some deeper features It's still like level two not the deepest features, but one thing that you can do is SXIV comes with a thumbnail mode. So for example, if I run this on Well, even aside from that it can open multiple files at one time So if I let me get rid of my face here, you'll see that down here. There's a little thing says one out of 435 That's how I've if I've opened all these images all 435 of them They're all in here So if I want to go to the next one I can press in or P to go back So it's just next and previous or you can press enter and that will go into a thumbnail mode Or you can move around with hjkl Move up with lowercase g down with Capital g etc and you can select an image to view it or something like that. I mean you actually zoom into a good So that is very nice Or if you want you can for example start it out in this thumbnail mode by giving it the t option and It will automatically have all you know all the thumbnails out here Or you can give it with the someone is calling me right now Okay, surprise. It wasn't important Or you can give it the f option and that will actually start it in full screen So if you want to just automatically get some full-screen image thumbnail viewer, it's very easy to do now Here's where things get interesting because all of this these are nice features, but They're not really how you can extend the program One nice thing about it though is that there is a file I forgot the name, but it is config slash Sxiv slash exec slash key handler and this is a script that Well, basically you can run external commands from Sxiv And so the script I think there's an example of it on the on the arch wiki if you want to check that out But I've I've changed it to my own specifications. So what you can do here is There's a binding in Sxiv which is control X Let me actually move this can so once you press control x then you can press another key And it will run a particular script depending on what key you give it So if I press control x and then w it'll run this Or control x and then r it'll do this etc etc. So you can change this to your own Specifications, but let me show you some of the things I did so for example One thing you might want to do when your image viewer is make things your wallpaper. So let's say I really like This image right here One thing I could do is press control x and now w and you'll see that my wallpaper is now changed All that it's done is it has just run these commands It's just you know, these are my wall change wallpaper commands basically and it even I Pat it give a little notification up in the top right if you saw it So that's one thing another thing that I found extremely useful now if you know my system I have this nice little Let's set 11q it just to see what it looks like I have a little bookmark file where I keep some important directories along with shortcuts for them So I realized I can use this what I can do is I can pipe these important directory names To D menu to give me a menu and then I can select a Folder to move a file to or copy a file to so just as an example If you want to select multiple files while you're in thumbnail mode or actually you don't have to be in thumbnail mode But how you do it is press M. So if I go to these files, I like and press M Notice that it's adding this little white square to the bottom. So I'm selecting these Five images. So now what I can do is what I what I've had this script do is Give me a deep menu menu of those important directories and then copy the files. I have selected there So what I can do is press control X and then see and then I'll say I want to move them to my home directory And it will move them all there. So if I go to my home directory and LS you will see that all of these files are now there. That's exactly what I wanted or I also have the same thing But for moving I mean the previous one was copying. This is moving very easy to do and pretty much the same stuff although note You do since you are looping through for I mean the way I've written it here is it's looping through each and every file So you have to make sure that you know, it's not asking for the directory multiple times. So that's why I do this But anyway, it's not important. Now. I mentioned before you can Flip superficially an image with angle brackets. So you can press angle brackets to do that But if you want to eternally flip an image, let's say I want to eternally flip this image here What I can do is well the shortcut I've set up is Control X and then one of the R buttons. So R for clockwise capital R for counterclockwise So I if I press control X and then R that is now been internally switched or a control X than R, etc And I can just keep going around but this is actually changing the image Additionally, let's see what else I have here. Oh, yeah, also copying the file name to clipboard So if I do control X and then Y it will copy the file name or control X and then capital Y It'll copy the entire path. So that can be useful as well Let's see. Oh, and then I have a little delete option as well Let's just delete this since because why not just gives me a little D menu prompt. Do you want to delete it? I'll say yes, and it's gone and I will say when you do do modifications on Images that you have open in SX IV. It's usually pretty good at updating whenever there are changes So that is one advantage it has over particular programs out there But that's that's just another thing now one other additional thing I want to add just because it's super useful I just haven't thought of a potential use for it And that is you can actually use SX IV as a kind of I guess D menu for images and what I mean by that is you can allow it to take a read standard input and Write to standard output what I mean by that is if you run it with SX IV, let's give it the I'll give it the thumbnail option also give it the input option and output option Actually, I'll just write them all together. So what I can do is let's say I pipe all of my images into SX IV and I'm just well, I'll just do it this way So what happens is again? I can press M to select different images. So let's say I want to select one two three four Five images now. I'm gonna quit and you'll see what happens is since we give it the output option It actually Outputs those file names to standard output now that is extremely you I mean again It's sort of like a D menu for images You can have a user select images and then you can use those in a pipe those to a new script and do something On them I haven't thought of a particular use for this yet, but I just know that it's very useful because of this So this is an option. I'm sure someone will have some idea for it But you can easily use it as a way to you know Give the yourself or another user the ability to manually Choose images to operate on so that is very very convenient Anyway, that's about it as I said there's one that well, I should say this image viewer I've switched to it full-time I Used to use fat now. I use sxiv But there's one thing that I don't know how to do an sxiv I don't know if it can do it and that is fair Can set backgrounds you can just give it a particular option and it will it can set your background now I still have fat installed because I don't know how to replicate this in sxiv if anyone knows Please tell me or if it's in the manual and I just didn't notice it, please tell me But that's one thing that's the only reason I still have fans dog because I still use it for that but in terms of image viewing Yeah, this this really I you know There are some videos out there on them that sort of show the basic things you can do with it But the ability to run commands on images just really Yeah, that really steals the day for me. So anyway, hope you enjoy. I hope you learn something I hope you enjoy using sxiv