sxiv: The Suckless Image Viewer for GNU/Linux

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

ความคิดเห็น • 335

  • @FEE1DEAD
    @FEE1DEAD 5 ปีที่แล้ว +719

    highly extensible is just an euphemism for 'supports bloating'

    • @hammer158
      @hammer158 5 ปีที่แล้ว +7

      The true way

    • @sandikodev
      @sandikodev 5 ปีที่แล้ว +1

      so bloated .. awokwowkowk

    • @santiagolerin
      @santiagolerin 4 ปีที่แล้ว +7

      Like emacs

    • @zaccstacc4568
      @zaccstacc4568 4 ปีที่แล้ว +1

      b l o a t

    • @daveshouldaine2520
      @daveshouldaine2520 3 ปีที่แล้ว +2

      although st is very minimalistic, you can bloat it

  • @alessandroceloria
    @alessandroceloria 5 ปีที่แล้ว +345

    "Angle brackets will rotate it by 50 degrees"
    ~ Luke Smith, 2019
    "I haven't thought of a particular use for this yet, but I just know it's very useful"
    ~ Also Luke Smith, 2019

    • @AhmedKhaled-sj1zx
      @AhmedKhaled-sj1zx 5 ปีที่แล้ว +16

      Do you guys have the full list of Luke Smith quote ?!

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +17

      @@AhmedKhaled-sj1zx We should create one

    • @marksmod
      @marksmod 5 ปีที่แล้ว +2

      @@alessandroceloria yess

    • @heartlessalice5801
      @heartlessalice5801 5 ปีที่แล้ว +33

      Let's open a git repository ^^

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +35

      @@heartlessalice5801 Good idea, we should also create a dmenu script with the most famous Luke Smith quotes and make a pull request to the larbs repo 😂

  • @robinmoussu
    @robinmoussu 5 ปีที่แล้ว +218

    I never though I was going one day to watch a 11mn video about a basic image viewer, but this one is absolutely awesome.

  • @avocado4877
    @avocado4877 5 ปีที่แล้ว +332

    2:01 "for example angled brackets will rotate it by 50 degrees"

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +547

      My apologies, I think in base 18.

    • @gery49
      @gery49 5 ปีที่แล้ว +151

      ​@@LukeSmithxyz flawless comeback :D

    • @Matt-for-real
      @Matt-for-real 5 ปีที่แล้ว +18

      @@DetectiveAndrey Yes.

    • @bruno1807
      @bruno1807 5 ปีที่แล้ว +37

      @@DetectiveAndrey 5 times X = 90... Solve for X and there's your mistic base

    • @edvonrattlehead2135
      @edvonrattlehead2135 4 ปีที่แล้ว +6

      Base 18 is twice base 9, luke is human cirno confirmed

  • @TehKorwinMikke
    @TehKorwinMikke 5 ปีที่แล้ว +218

    Hmm, .
    You got emacs'd.

    • @miyalys
      @miyalys 4 ปีที่แล้ว +2

      It's default, and unfortunately can't be changed to a different, shorter .

    • @gayusschwulius8490
      @gayusschwulius8490 4 ปีที่แล้ว +4

      @D M Fuck emacs, vim master race

    • @splishysploshy7840
      @splishysploshy7840 4 ปีที่แล้ว +7

      @@miyalys you can edit the config.h

  • @Flackon
    @Flackon 5 ปีที่แล้ว +46

    “This will eternally switch it”
    *4 secs later, back as it was before*

  • @DigitalMetal
    @DigitalMetal 5 ปีที่แล้ว +77

    I use to spend time looking for programs like this, now I have you Luke, so I don't have to search any more.

    • @surajkushwah3221
      @surajkushwah3221 3 ปีที่แล้ว +3

      So many years .. so many good videos. Luke Motivated me but you actually taught me how to use bash. Still so underrated. Make some cool high quality videos.. YOU deserve more. You are one of the best linux youtuber according to me.

    • @magnusanderson6681
      @magnusanderson6681 3 ปีที่แล้ว +2

      @@surajkushwah3221 Wait till you learn about speedy more-posix-compliant-dash (jk, I too only realized how powerful pipes are when he introduced me to dmenu and suckless in general and other good-at-one-thing minimal programs)

  • @redgeoblaze3752
    @redgeoblaze3752 3 ปีที่แล้ว +15

    I think I just found my new best image viewer. it's got a lot of features I need, but expected to be labeled as Bloat by suckless. I like how if you just specify a folder, it only takes files in that folder, but if you put the * at the end, it works recursively. Perfect for the kind of folders I'm going to be using it for.

  • @mkd1113
    @mkd1113 5 ปีที่แล้ว +52

    I always pronounce it "six-four", since we have sx (six) and iv (four).

    • @marksmod
      @marksmod 5 ปีที่แล้ว +7

      Or like 'excessive' without the 'e' at the beginning.

    • @sgky2k
      @sgky2k 4 ปีที่แล้ว

      M. Otto more like esexcive.

    • @MrBiky
      @MrBiky 4 ปีที่แล้ว +7

      sexyV sounds better.

  • @elbroder995
    @elbroder995 5 ปีที่แล้ว +229

    Yes, but the question is... can i slideshow my favorite anime girls with this?

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +205

      Slideshow mode with -S:
      sxiv -f -S 3 waifus/*
      The argument 3 is the seconds on each slide.

    • @oddbob6230
      @oddbob6230 5 ปีที่แล้ว +123

      Remember: he doesn't condone anime. :^)

    • @mcechss
      @mcechss 5 ปีที่แล้ว

      If you are already in sxiv opened with multiple images, you can press for example 3s to start the slideshow with 3 seconds of delay between images (or any other number of course)

    • @jonnykopp
      @jonnykopp 5 ปีที่แล้ว +10

      sxiv -to waifus/* | sxiv -fi -S 3
      If you're feeling picky that day

  • @ferreus
    @ferreus 5 ปีที่แล้ว +77

    joke: watching luke smith to learn stuff
    woke: watch luke smith for the meme surprises

  • @ice-rv7tz
    @ice-rv7tz 4 ปีที่แล้ว +3

    I've been looking for essentially dmenu for images and when you said exactly that I cannot tell you how happy I was

  • @ertwro
    @ertwro 5 ปีที่แล้ว +16

    Been using it since gobletu's video. Edit: Forgot to mention, you can't set background with sxiv but you can do it with imagemagic and the key handler e.g.:
    display -size 1920x1200 -window root ~/images/wallpapers/Logh.jpg
    I use sxiv with surf browser inside emacs to preview heavy weight sites.

    • @bitnatures
      @bitnatures 5 ปีที่แล้ว

      I thought sxiv supported WID so you could set it as the root window on startup. This is what I did for mpv for a video wallpaper.

    • @ertwro
      @ertwro 5 ปีที่แล้ว

      @@bitnatures Yeah, with "-e" although is not great. That´s another option if one doesn´t want a third party application to set the wallpaper or use something like imlibsetroot or hsetroot.

    • @dustnoiseplays
      @dustnoiseplays 5 ปีที่แล้ว

      Thank you m8.

  • @user-lk2vo8fo2q
    @user-lk2vo8fo2q 4 ปีที่แล้ว +6

    10:00 one use for the "dmenu-like" mode would perhaps be to "embed" images from your editor. the first case that comes to mind is email w/ mutt. the default attachment UI is perfectly fine for regular files but it isn't ideal for images. it defaults to creating a MIME attachment, but for html email you'd often want an inline embed. also, sxiv's interface for selecting/previewing images is probably better than your default file manager's (especially if you use a tui file manager, and especially especially if you don't have terminal framebuffer rendering set up). this isn't limited to email though, something like this could help any time you're writing some markup language in vim: LaTeX, markdown, html/xml.. in the latter case you could even automatically base64 encode the image so that it's truly embedded in the file instead of being a reference to another file.

  • @WolfgangsChannel
    @WolfgangsChannel 5 ปีที่แล้ว +18

    Thanks, Luke! Been looking for a good alternative to feh for a while now, since it's kind of tedious to configure.

    • @donabdo1076
      @donabdo1076 3 ปีที่แล้ว +3

      Hello Hello, Fake Linux user is here XD

  • @dmccowan2
    @dmccowan2 5 ปีที่แล้ว +1

    Thank you for posting this. I immediately installed sxiv and started using. Right now I in the middle of a project that requires manual cropping of many images and feh was starting to drive me a little nuts. The keybindings of sxiv seems so natural and easy. Again thank you.

  •  5 ปีที่แล้ว +5

    Allow to select images from the current directory (in this example, though it can be other directory name than ".", for sure) and create a tar.bz2 archive from the selected images in command line: sxiv -to . | tar cfvj /tmp/pictures.tar.bz2 -T - Note: I prefer "sxiv ." over "sxiv *.jpg" for example. The second one only considers files matching the *.jpg shell pattern, whole giving a directory name seems to allow sxiv to consider all kind of file names can be an image. And indeed, I can have different kind of images, like *.png, *.jpg, *.gif ....

  • @wonderingwhy6410
    @wonderingwhy6410 5 ปีที่แล้ว +9

    This was exactly what I wanted: Vim key bindings, multiple images view and being able to pipe the file names. The other features are great too.

  • @ms77grz
    @ms77grz 4 ปีที่แล้ว +2

    Only now I've started to understand the whole let's say vim conception in ranger, now in sxiv. I really love that! TVM Luke! You do a fantastic useful and powerful vids. And sorry for my English)

  • @MyurrDurr
    @MyurrDurr 5 ปีที่แล้ว +35

    "50 degrees" - Luke Smith - Talking about rotating images 90 degrees
    This is a great image viewer and your new monitor is amazing :DD

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +71

      When you're in front of an audience your IQ drops by at least 30 points.

    • @AhmedKhaled-sj1zx
      @AhmedKhaled-sj1zx 5 ปีที่แล้ว +7

      @@LukeSmithxyz 100% ture

    • @Echo-te1sf
      @Echo-te1sf 5 ปีที่แล้ว +6

      @@LukeSmithxyz You meant 40. 😉

    • @dorukhan8707
      @dorukhan8707 3 ปีที่แล้ว

      @@Echo-te1sf big brain 🧠 ✊

  • @niema6139
    @niema6139 5 ปีที่แล้ว +8

    Using this "very useful feature" maybe you can create a script that will let you select images and then you will by prompted for example by dmenu that will ask for image-magick command that will be applied to every image, if don't what to specify raw command you can make dmenu to display some often used options for resizing, changing colors

  • @AhmedKhaled-sj1zx
    @AhmedKhaled-sj1zx 5 ปีที่แล้ว +31

    Luke start make suckless programs dance together.
    NOW I know why unix philosophy is awesome, and why suckless people make their programs like that....
    I'm looking for luke use dwm in future, even if he do it on one of his old un-used thinkpad

  • @DistroTube
    @DistroTube 5 ปีที่แล้ว +28

    I see you are using vifm. I've switched over to vifm as well. A great file manager. There are even a couple of hacks that will get you icons in vifm similar to ranger, and a hack that will get w3m image previews to work.

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +6

      Yeah I've played around with the w3m image previews, but they don't work very well at all on my terminal build. One of the reasons I started using sxiv is specifically to get the thumbnail view to replace the ranger functionality.
      I don't know if you've tried using tabbed or another tab manager (I haven't gotten it working to my specifications), but you can have an instance of sxiv pop up in your vifm window, etc.

    • @sharktamer
      @sharktamer 5 ปีที่แล้ว +6

      ​@@LukeSmithxyz use uberzug github.com/seebye/ueberzug . I always had problems with w3m image preview with ranger in st, but it works flawlessly now.

    • @ertwro
      @ertwro 5 ปีที่แล้ว +2

      @@sharktamer Holly crap, what kind of sorcery is this one? nice.

    • @eklebanow
      @eklebanow 5 ปีที่แล้ว

      @@sharktamer please explain how uberzug allows improved image previews in ranger via st

    • @sharktamer
      @sharktamer 5 ปีที่แล้ว +3

      @@eklebanow nah

  • @thescrawl6594
    @thescrawl6594 5 ปีที่แล้ว +2

    This is amazing. precisely what I needed for managing my wallpapers/memes, been stuck using bloated gui file explorers for far too long. Thanks for this!

  • @Discordianism
    @Discordianism 5 ปีที่แล้ว +59

    Who needs images when we have text???

    • @DistroTube
      @DistroTube 5 ปีที่แล้ว +25

      ^ This guy gets it!

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +6

      But why have text when we have Morse code!

    • @pigboiii
      @pigboiii 5 ปีที่แล้ว +10

      Who needs text when we have raw binary?

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +6

      @@pigboiii Who needs raw binary when we hav- oh wait

    • @pigboiii
      @pigboiii 5 ปีที่แล้ว +13

      @@alessandroceloria raw electrical signals applied directly to your brain

  • @andrewpalm2103
    @andrewpalm2103 5 ปีที่แล้ว +1

    At Derek Taylor's mention, I also have switched from ranger to vifm and as a result discovered sxiv. I have a custom command in vifm to open a selected set of image files in thumbnail mode. I like this just fine, although the ranger preview is pretty great.

  • @cmatthew91
    @cmatthew91 5 ปีที่แล้ว +2

    if the selected picture is 'tree.png' in the home folder, $file will be './tree.png', and $fullpath in your implementation will be '~/./tree.png', which is a kinda useless string. I'd recommend to use ${file#./} when piping it to xclip, and fullpath to be $(pwd)/${file#./}

  • @ChungusAm0ngus
    @ChungusAm0ngus 5 ปีที่แล้ว +1

    Been using sxiv for a while. Informative video, I didn't even know about the ctrl+x commands!

  • @Yaxqb
    @Yaxqb 5 ปีที่แล้ว +2

    U could make a couple of manipulations on an input image with imagemagick, display the results in sxiv and then save the selected images. Experimenting with images is going to be a lot more productive😍

  • @BurhanDanger
    @BurhanDanger 5 ปีที่แล้ว +2

    Have been using this for quite a while. Good image viewer.
    9:55 that's really interesting.

  • @BasedMan14
    @BasedMan14 5 ปีที่แล้ว +4

    2:00 "Angle brackets will rotate it by *fifty degrees* "

  • @lisasmith-cr4mr
    @lisasmith-cr4mr 5 ปีที่แล้ว +3

    feh has those options too.
    feh --montage will give you a thumbnail view
    feh -A "command %f" for running commands on images

    • @tsebeengalzuud2416
      @tsebeengalzuud2416 3 ปีที่แล้ว

      it's not even close to what you can do with sxiv

  • @10zane10
    @10zane10 5 ปีที่แล้ว +4

    For the key-handeler script use 'read -r file' instead of 'read file'. Otherwise the script will not work as intended for any file with a backslash in it. Hello\.png will be treated as Hello.png
    Also some shell autism: consider replacing $fullpath with "$PWD/$file". Running $(pwd) is somewhat expensive compared to $PWD.

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +6

      Oh yeah I guess you're right about PWD. Although anyone who puts slashes in filenames seriously deserves the errors.

  • @oleksiikhramov3706
    @oleksiikhramov3706 4 ปีที่แล้ว +1

    Due to lockdown, I have all of my exams online. And I have a usecase. I'm a CS student and I have to go through a bunch of exams where I have to write down math formulas.
    So, using convert and sxiv i can easily build PDF from images I want.
    Noice, thanks

  • @neonfuz_
    @neonfuz_ 5 ปีที่แล้ว

    Been using this since forever, surprised you just now started using it. Great program.

  • @fms6306
    @fms6306 3 ปีที่แล้ว

    thanks luke. this is a great recommendation. now i can use this to convert image files to webp and move them to appropriate folder.

  • @FeinesFabi
    @FeinesFabi 4 ปีที่แล้ว +4

    Select all images containing traffic lights...

  • @olablt
    @olablt 5 ปีที่แล้ว +8

    7:43 is this the new best file manager - vifm? how is it compared to nnn and ranger?

  • @angelcaru
    @angelcaru 3 ปีที่แล้ว +1

    Mouse: *exists*
    Luke: We don't do that here

  • @olespankiv9701
    @olespankiv9701 5 ปีที่แล้ว

    That is a very cool video. I'm very motivated right now to start rising my i3 config. Thank you, Luke!

  • @MelvilleG
    @MelvilleG 5 ปีที่แล้ว

    A very badass way to view pictures.

  • @JackPowellD
    @JackPowellD 5 ปีที่แล้ว +1

    It's that simple you gotta remember all the keyboard bindings and terminal commands.

  • @joseluisgerman1906
    @joseluisgerman1906 5 ปีที่แล้ว +1

    You can run sxiv and select some images, and then have names of the selected images output to stdout and | pipe them to pywal to set the background image.

  • @eboubaker3722
    @eboubaker3722 3 ปีที่แล้ว

    Image glass is also an open sourve lightweight image viewer comes with helping utilities

  • @MrSunka
    @MrSunka 5 ปีที่แล้ว +7

    2:54 "Automate automatically" i guess animate

  • @yoshi314
    @yoshi314 5 ปีที่แล้ว

    been using sxiv for a year, and i am very happy with it.

  • @RoyBrush
    @RoyBrush 5 ปีที่แล้ว

    If anybody is looking for an easier name for this thing, you could interpret the name as a number in roman numerals. If you do that, you could refer to this image viewer simply as "7" if you wanted, because in roman numerals S is used as 1/2 (particularly in a pharmaceutical context) and XIV = 14, so 1/2 of 14 is 7. Of course, you could just use this idea for inspiration if the number 7 isn't unique enough for a name, you could call it "Half 14", or whatever.

  • @ProXicT
    @ProXicT 5 ปีที่แล้ว

    In i3, or perhaps also in other WMs/DEs, the desktop wallpaper is just a root window of Xorg. There is a utility called "xsetbg" which can set the root window picture - set a wallpaper.

  • @fluffy_tail4365
    @fluffy_tail4365 5 ปีที่แล้ว +2

    To set background you can use nitrogen or one of the *setroot programs.
    I think that you can even set any window as the root window, so you could just use a fullscreen fit-to sxiv instance, but I don't remeber the name of the utility that does that

    • @yash1152
      @yash1152 ปีที่แล้ว

      what is the difference between set background and set wallpaper?

  • @thepuzzlemaster64
    @thepuzzlemaster64 4 ปีที่แล้ว

    A bit of a late comment, but one idea that I have for scripting with sxiv is a game menu.
    Have a folder with only pictures of the games, a file that keeps track of what commands to use to launch the game, and a folder containing the games themselves.
    You could then tell sxiv to pick an image, pipe the output to grep or something to find the matching name in the file, then pipe that as a command to start the game.

  • @naheelazawy
    @naheelazawy 5 ปีที่แล้ว +15

    that would be great with youtube-dl.
    there you go! a free idea!

    • @AhmedKhaled-sj1zx
      @AhmedKhaled-sj1zx 5 ปีที่แล้ว

      how ?!

    • @naheelazawy
      @naheelazawy 5 ปีที่แล้ว +11

      @@AhmedKhaled-sj1zx use dmenu to enter text to search for using youtube-dl getting the videos thumbnails and viewing them in sxiv. The user picks one and view it in youtube-viewer. You know, stuff like that. I think that one can build an entire youtube program in bash using dmenu, sxiv, youtube-dl, and youtube-viewer. Personally, I feel too lazy to do so but if someone does then I'll probably enjoy using it!

    • @naheelazawy
      @naheelazawy 5 ปีที่แล้ว

      @@0xstev3 i think i remember reading something like that in the manual or it's just my imagination? If it's not there i remember using the TH-cam api and I'm pretty sure you can give it a search query and it will generate a nice json

    • @leves777
      @leves777 5 ปีที่แล้ว

      Just thumbnails aren't that useful for "unknown" videos (like a sub feed or Recommended playlist). It would be nice if the thumbnail mode could display filenames underneath. Can it do that?

    • @naheelazawy
      @naheelazawy 5 ปีที่แล้ว +1

      @@leves777 that is what imagemagick is used for

  • @TheLoneBrick
    @TheLoneBrick 5 ปีที่แล้ว

    For the "dmenu" feature, for a slideshow wallpaper one could create a cronjob that sets the wallpaper to one of the files listed in a file, and then the user can select which images to put in that file using sxiv.

  • @ricardo.mazeto
    @ricardo.mazeto 5 ปีที่แล้ว

    If you have a folder full of images you want to sort out and organize into other folders, you can have a custom command mvpics, and select the images with sxiv.

  • @crwmike0
    @crwmike0 5 ปีที่แล้ว

    Looks good, I'll have to look into setting up a keybinding to open the current image in GIMP.
    EDIT: found it in your key-handler file.

  • @CostaKazistov
    @CostaKazistov 5 ปีที่แล้ว +1

    5:59 "Let's sed-eleven-queue it"
    Haha!!
    I'm going to borrow that.

  • @balabunat
    @balabunat 5 ปีที่แล้ว +1

    Happy New Year, Luke 👍

  • @lisasmith-cr4mr
    @lisasmith-cr4mr 5 ปีที่แล้ว

    yes that sxiv as a dmenu for images is awesome.

  • @timh.6872
    @timh.6872 5 ปีที่แล้ว

    I think that "dmenu-style" behavior would be useful for a graphical launcher on, say, a touchscreen device. Read off the *.desktop files in the user's home directory to find the list of "icons", show by sxiv, and use the results to exec.

  • @nykal1510
    @nykal1510 3 ปีที่แล้ว

    If anyone comes across this comment, use xwallpaper if you need a wallpaper and don't want feh. It's like a couple KB and it's in the Arch repos

  • @cla041054
    @cla041054 5 ปีที่แล้ว

    your i3 setup is very clean and beautiful

  • @jerodburnett6422
    @jerodburnett6422 5 ปีที่แล้ว +3

    "dab_pepe_nyan.gif"
    anyway, dwm when?

  • @lcf893
    @lcf893 5 ปีที่แล้ว

    Use esetroot for wallpaper. Comes in at 40k - uses imlib2 which is quite big but is the same library that sxiv uses.

  • @nichtgestalt
    @nichtgestalt 3 ปีที่แล้ว

    sxiv as some sort of menu? Sounds like a perfect opportunity to use it with pywal or something. The thumbnail mode is way more comfy than a dmenu or rofi prompt.

  • @redgeoblaze3752
    @redgeoblaze3752 3 ปีที่แล้ว

    I think I'm just going to call it "S-Fourteen" to make it easier to pronounce. I know they're not roman numerals, but it makes it easier to remember regardless.

  • @porky1118
    @porky1118 4 ปีที่แล้ว

    After 4:30 I'm already convinced to use this now instead.
    My previous image viewer didn't have this preview mode.

  • @punkrockllama
    @punkrockllama 5 ปีที่แล้ว

    I am not too familiar with the terminal based image stacking program (for doing astrophotography) but I am sure that -tio option would be very useful for that. Does it handle raw image format, or would that have to be added?

  • @salmanabedin1313
    @salmanabedin1313 4 ปีที่แล้ว

    You can run scripts on feh by using the action flag. Here is how I do it.
    ...
    setsid feh -F -A "setBg %f" -B "black" -d --edit --keep-zoom-vp --start-at
    ...
    Notice how I run my setBg script after the Action flag.
    This lets me set a picture I like as my wallpaper by pressing 0/Enter as I am browsing through a directory of pictures.

  • @altEFG
    @altEFG 5 ปีที่แล้ว +2

    Saying "eternally" instead of "permanently" is saying something about a man.
    Or maybe it's just a Varg subscriber thing to do.

  • @glpzzzdev
    @glpzzzdev 4 ปีที่แล้ว

    Hey Luke. I'm rewatching this video and it let me to think. Is there a patch to make the background of the viewer transparent? An alpha patch as it exists for st and dwm.
    I'm not talking about the checkerboard for transparent areas on the pic, but the windows itself. Would be very cool!
    Thanks for the content and stay safe!

  • @gatterlinux8426
    @gatterlinux8426 5 ปีที่แล้ว +10

    try hsetroot is smaller then feh and just a background setter thats it

  • @airilsra
    @airilsra 5 ปีที่แล้ว +1

    Luke, what do you think of stacking mode and tabbed mode on i3? I've never seen you use them on your videos.

  • @auslegungssache
    @auslegungssache 5 ปีที่แล้ว

    Suckless software is really good because it doesn't try to be Unix. No. It tries to remedy the shitpile that is neo-unix by writing minimal and clean software that is inspired by the plan9 and unix ideas but it adds a bit of conveniency on top. They are of course minimal and pleasant to use because they ARE made to be used in the way Luke does in this video (unlike most programs)

  • @Vlad-1986
    @Vlad-1986 5 ปีที่แล้ว

    You can do a script who uses the standard output with feh, xsetroot or anything similar to change the background by sending the filename and file path as arguments.

  • @DrathVader
    @DrathVader 5 ปีที่แล้ว +4

    >dab_pepe_nyan.gif
    Luke the type of niqqa to carefully name and catalog all his memes

  • @theguitarguru1
    @theguitarguru1 5 ปีที่แล้ว

    Use for -tio function: Select thumbnail of a movie and play the associated movie. Like netflix only local.

  • @rul1175
    @rul1175 2 หลายเดือนก่อน +1

    What is the command to the greplike tool to use both the preview and the tree??? or how do u get sxiv with the tree???

  • @tc40390
    @tc40390 5 ปีที่แล้ว

    And no, sxiv is not able to set the wallpaper on its own, but you could always use nitrogen and do the following:
    # nitrogen --save --set-zoom-fill "/path/to/file.png"

  • @AaronBonBarron
    @AaronBonBarron 5 ปีที่แล้ว

    I love the fit to heighth option

  • @siddharthvipul
    @siddharthvipul 5 ปีที่แล้ว +2

    I am sure I saw your name in Casey Neistat note 9 giveaway.
    Was it other Luke Smith? Or you declined it 😂

  • @maverickmadison7392
    @maverickmadison7392 4 ปีที่แล้ว +3

    when u titled suckless, i thought this is one of the suckless.org project.

  • @altEFG
    @altEFG 5 ปีที่แล้ว +1

    Luke, how many of the email you get during your videos are from India?

  • @gimcrack555
    @gimcrack555 5 ปีที่แล้ว

    This is the one I switch to as well. Even works great in ranger.

  • @tc40390
    @tc40390 5 ปีที่แล้ว +6

    Man you need to push your wallpapers folder

    • @DGener4ti0nX
      @DGener4ti0nX 5 ปีที่แล้ว +1

      its on his github

    • @tc40390
      @tc40390 5 ปีที่แล้ว +3

      @@DGener4ti0nX I know but he hasn't updated it since last year

    • @tc40390
      @tc40390 5 ปีที่แล้ว +2

      @@jdegreefCrap. What I meant to say was year 2017. :)

  • @mikemendes8539
    @mikemendes8539 5 ปีที่แล้ว

    Thanks again Luke!

  • @AcceleratingUniverse
    @AcceleratingUniverse 4 ปีที่แล้ว

    9:55 rather than piping the files into something boring like ls, you could pipe a bunch of files into GIMP or some other image editor. I hate trying to find all the images I need in the floating filesystem window with no previews.

  • @YusufBAYLAV
    @YusufBAYLAV 4 ปีที่แล้ว

    @Luke Smith why don't we just pronounce it as "S Fourteen" since XIV is 14? :)

  • @MaidLucy
    @MaidLucy 5 ปีที่แล้ว

    that's great but another really good program that binds me to xorg. have you ever tried wayland btw? there are things like swaywm which is basically i3 for wayland.

  • @michalski9141
    @michalski9141 2 ปีที่แล้ว

    automate automatically -Luke Smith

  • @herrpez
    @herrpez 5 ปีที่แล้ว

    Oh, and also: alias o="xdg-open"
    And of course, the correct mime types need to be assigned, but that's no biggie.
    $ o *.jpg
    Bam.

  • @haraldborsutzky8501
    @haraldborsutzky8501 5 ปีที่แล้ว

    "The previoius one is copying, this one is moving" .. nope, both copying :D. I am your saviour, you may never noticed till your harddrive explodes

  • @dontwanttousemyrealnametol6765
    @dontwanttousemyrealnametol6765 5 ปีที่แล้ว

    I'm sure you could hook thumbnail selection into ranger's file selection (and vice versa?).

  • @user-ic7cj8lq9z
    @user-ic7cj8lq9z 5 ปีที่แล้ว

    I don't think sxiv is able to set X11 background. I don't think it would take that long to implement if someone had the time and skill. But I think its good to have a different program to set the background, It makes the image viewer that little bit less bloated, it is already much lighter than feh

  • @kevinison3740
    @kevinison3740 5 ปีที่แล้ว

    Excellant video... btw what is the name of the wallpaper at the start of the video?

  • @DonEdward
    @DonEdward 4 ปีที่แล้ว

    Do you share your amazing wallpapers anywhere?

  • @asierlopezgordon1370
    @asierlopezgordon1370 4 ปีที่แล้ว

    The word "tío" means "dude" in Spanish, and hence I find the command in 9:21 hilarious

  • @InNominePraxis
    @InNominePraxis 5 ปีที่แล้ว

    sxiv doesn't come with a xinerama USE flag, so even if it does handle setting wallpapers I imagine it won't play nice with setting dual monitor wallpapers

  • @Andrath
    @Andrath 5 ปีที่แล้ว

    sxiv can't change the root window. The creator of sxiv also alluded that he has no interest in adding that functionality either (which is perfectly in line with the quirky nature of the suckless people). So I guess you're stuck with feh. Although I could recommend using either imlibsetroot or esetroot which are really light and also can set your wallpaper.

  • @djosephsss
    @djosephsss 5 ปีที่แล้ว

    in the arch wiki on sxiv wiki.archlinux.org/index.php/sxiv there is a guide to bind sxiv to make it generate a wallpaper with nitrogen, could easily do something similar

  • @cmatthew91
    @cmatthew91 5 ปีที่แล้ว

    I used your your wallpaper repo to play with sxiv, and after some xclipping I have a question.
    Why do you pipe the filename to the clipboard buffer, why not to the primary (default) one?
    You have a lot of spaces in the filenames.

  • @0babul0
    @0babul0 5 ปีที่แล้ว

    EDIT: Nevermind, you explained it in the end, I just gotta learn how to insert each line of the output as a variable. Great stuff!
    Do you know if there's any way to do stuff like appending two files together? I can see only $file in the config, so I assume the usage of $file is limited (you can't just use convert +append $file $file output.jpg, can you?). Would be nice if you could use $fileX, first file being whatever is shown first in thumbnail mode or something.