How to Set Up and Configure LF (The Best Terminal File Manager)

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 105

  • @pewolo
    @pewolo 7 місяців тому +2

    You can actually delete files in LF by typing :delete

  • @mateusgomes1086
    @mateusgomes1086 2 роки тому +14

    Thank you! You helped me a lot to better understand how to use lf and how to get image previews with ueberzug! I hope you're doing well and that your channel grows much more!

  • @DzintarsDev
    @DzintarsDev 5 місяців тому +1

    You are absolutely wrong! The greatest file manager is vifm! Let's end this there! :)

  • @RogueRen
    @RogueRen 2 роки тому +4

    Maybe I'm doing something wrong but a bunch of the later stuff in the video doesn't work for me (Pop!_OS 21.10 w/ KDE Plasma). Previews just don't work in the terminal at all even after installing all the prerequisites, I just get text saying "binary" of stuff that isn't a directory or text file, and the link you have to the icons is just gone.

    • @alyson3919
      @alyson3919 2 роки тому +3

      His instructions are deprecated. Please follow the instructions in the GitHub repo.

  • @miracleweb8461
    @miracleweb8461 2 роки тому +6

    Thank you again for the amazing video! Also I'm now learning VIM first time, because of your channel, lol)
    Can you make a video, how to setup i3wm (or what tiling manager do you use)?

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому +4

      Thanks! Vim will change your life, haha. I may create a basic setup guide for bspwm, that's a good idea

  • @ZakariaHABRI
    @ZakariaHABRI 2 роки тому +8

    You can put the two lines in lfrc-ueberzug in your lfrc, it works the same with less files! Thanks a lot for all the awesome videos, I'm loving my system more with every modification.

    • @akshdeepsingh2107
      @akshdeepsingh2107 2 роки тому

      Thanks, this actually worked for me because system was treating lf and lf-ueberzug as two different programs and my customization done on lf was not showing in lf-ueberzug.

  • @markring40
    @markring40 2 роки тому +5

    Thank you Eric! I’ve been looking for this information for a few weeks. This video was perfect 👍

  • @GoatzombieBubba
    @GoatzombieBubba Рік тому +4

    LF github page does not have a dedicated icons link anymore.

    • @Bobby-vs3zc
      @Bobby-vs3zc 4 місяці тому

      Brother, what you did then?

    • @user-gp8ub8vh7i
      @user-gp8ub8vh7i 2 місяці тому

      Because it is not needed anymore, just a Nerd Font installed.

  • @heroe1486
    @heroe1486 Рік тому +2

    I don't really understand the use case for terminal file managers outside of getting an easy way for previewing images, if I'm in the terminal it's way faster to move with ls cd + tools like fzf and zoxide, same for copying/pasting etc.
    If I use a file manager, which is rare, it's usually for GUI functionalities like draging and droping into the browser.

    • @quintit
      @quintit 9 місяців тому

      You don't even need a fm for that, if u set your browser to ask where to download, you can drag and drop from that built in file manager.

  • @RuthKing-h3b
    @RuthKing-h3b 18 днів тому

    Jackson Edward Smith Helen Moore Nancy

  • @F4ll3NST4RXIXCX
    @F4ll3NST4RXIXCX Місяць тому

    i need the screen im with tell that theres alot that otheris best i got tell that the group that then at that is needing me ta show and tell the way that we need to do things. You as other only use niice care stop the that make bad put on the screen im using the that

  • @VladPalacios
    @VladPalacios 3 місяці тому

    Can it render PDF files? How great would it be an integration with Zathura

  • @ThePlacehole
    @ThePlacehole 2 місяці тому

    The greatest file manager? Without undo it's not even in the top 10!

  • @kidamanecer2144
    @kidamanecer2144 2 роки тому +1

    Hi Eric!
    I got a question. Is it plausible to use it when dealing with downloads and file uploads with firefox or any other browser?
    When i have to upload a file to any site, it usually pulls up my default file manager (i'm currently running a openSUSE machine w/ KDE Plasma)
    When I try to move from KDE to something more minimal, let's say i3 or bspwm, I'm forced to use whichever file manager Firefox is feeling like to pick. That's inconvenient, and to be fair Dolphin is great because it gives you the opportunity to filter, see previews, etc. Whereas the other graphical file managers are awful to work with.
    However, if I can make Firefox to work with LF (or at least Ranger) I'll do the full change, since that's the only feature holding me back.
    Thanks for your content!

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому

      Thanks! As far as I know there is no way to do that, I just have to deal with using a GUI file browser inside other GUI programs.

  • @glidersuzuki5572
    @glidersuzuki5572 2 роки тому +2

    Lf is good. But I'm just love Vifm. It has a easy to setup preview. It also has a dual pane.

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому +3

      I've tried both, but I still like lf a bit more. I wasn't a big fan of the dual pane, but I can see how some might like it

  • @ekkymahesa8708
    @ekkymahesa8708 2 роки тому +2

    What's the difference between this and ranger?

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому +4

      They're pretty similar, but lf is a bit faster and less resource-intensive. Also lf is configured with shell commands instead of Python, which can be nice if you're like me and have more experience writing shell script than you do with Python.

  • @maciejkowalski6045
    @maciejkowalski6045 8 місяців тому

    so thats why i cant delete anything or run i need to bind something

  • @PetrasL_1976
    @PetrasL_1976 Місяць тому

    Can we do find and then cd there to selected file/folder?

  • @charliekim2939
    @charliekim2939 Рік тому

    I think I have tried most (if not all, including my own) file managers but I have never been totally happy with any. But, this 'lf' thingy looks promising. I should give it a try. Will I be happy? Or, will I be disappointed - again? In the latter case, I can go back to 'fr' (filerunner, an old program written in tcl/tk.) It has been one of my can't-live-without programs for a few decades now. Although far from ideal, it is still the only file manager I am reasonably happy with. Other essentials include nedit, python2, tgif, etc. all of which seem going extinct - like myself. (Sigh!)

  • @mohamedelmoussaoui-q9y
    @mohamedelmoussaoui-q9y 10 місяців тому

    how to show binary in lf file manger

  • @anakinhamilton978
    @anakinhamilton978 2 місяці тому

    Is there anyway to do this in bash?

  • @Seacrest.
    @Seacrest. Рік тому

    Top it's gg. Aa? what the gg means?

  • @psi4j
    @psi4j Рік тому

    Somebody pissed off the creator of ueberzug and he's chosen to archive the project and no longer maintain it. Use it while it works, or maintain it yourself, I guess ;[

  • @Little-bird-told-me
    @Little-bird-told-me Рік тому +2

    Nice choice of atire :)

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому +1

      Had to show off my gains in this video

    • @Little-bird-told-me
      @Little-bird-told-me Рік тому

      @@EricMurphyxyz Indeed! btw Got ref from Matt's video. thanks for sharing your dotfiles and showing the bash scripts in config. Have always loved your content especially the Alacritty ones

  • @daleholden
    @daleholden Рік тому

    Hi Eric and chance or thought on doing a video on .zshenv, .zshrc, .zlogin, .zprofile, .zlogout how to use them when to use and when not to use them?

  • @timidlove
    @timidlove 2 місяці тому

    my ranking: vifm yazi-fm and nnn

  • @王者的靈魂
    @王者的靈魂 10 місяців тому

    Thank You!!! I love your video with LF . How to set the colors ? Could you share the code ? thank you

  • @piushpaul4880
    @piushpaul4880 Рік тому

    damm ueberzug github repo is unvailable and on top of that I am windows user :(

  • @RussellUrquhartC
    @RussellUrquhartC 8 місяців тому

    I assume there is a way to have a dual pane display like Ranger ala Midnight Commander?

  • @nidhishshivashankar4885
    @nidhishshivashankar4885 Рік тому +1

    james burnham and julius evola 👀
    nice

  • @RogueCoder7505
    @RogueCoder7505 Рік тому

    if only image and video previewer would work in fish shell....😞

  • @akshitthakur5179
    @akshitthakur5179 2 роки тому

    I am getting an error. lstat $PATH: no such file or directory. Help please!!

  • @cmespy2005
    @cmespy2005 Рік тому

    Iam a little lost on the installation part of this program. However great job explaining it usage

  • @gizmotruveauth20
    @gizmotruveauth20 Рік тому

    can you please explain how to make all the gadgets work together within one lf session?

  • @DavidRobertLewis
    @DavidRobertLewis 9 місяців тому

    Seems one has to have zsh installed for any of the add-on gadgets to work?

  • @ironmanlifts
    @ironmanlifts 2 роки тому

    New to LF. What are the tags for ? I presume to manipulate the tags fine with a custom command? In nvim tags allow you to jump to files. In LF I presume you create your own custom command with the file it creates.

  • @abdoulayebalde2139
    @abdoulayebalde2139 2 роки тому

    Hey thanks for the video. Actually I need your help. I install LF and customize it the way I want but for example if i wanna play music or video when I click on it it's showing " Running shell exit status 127" what should I do? I am using MPV for both music and video.

  • @GoatzombieBubba
    @GoatzombieBubba Рік тому

    ueberzug is not maintained 7 months ago maintainer has no interest in keeping it going.

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому

      Here, I made a video on what to use instead of Ueberzug: ua-cam.com/video/nTQWI0OalVk/v-deo.html

  • @CyperN077
    @CyperN077 2 роки тому +1

    Can you do a bulk rename like ranger?

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому

      You would have to write/find a script to do something like that, there's no built-in feature to bulk rename

  • @saadahmed688
    @saadahmed688 2 місяці тому

    yazi just works

  • @Miinui0
    @Miinui0 Рік тому

    How do you change default app when opening a file

  • @Lobaluna9333
    @Lobaluna9333 2 роки тому

    Thank you! A big hug! Thanks for all your great educational videos!

  • @subhajitmishra007
    @subhajitmishra007 Рік тому

    Awesome!!! Thank you! Btw, what's your color scheme for the terminal? Also the font please.....

  • @nostolgiagore
    @nostolgiagore 2 місяці тому

    just use ctpv.

  •  2 роки тому +2

    You can map delete this way:
    map DD % gio trash "$f"
    It will send the file to the ~/.local/share/Trash

  • @alonn6
    @alonn6 Рік тому

    Hey Eric! you know if there's chance for installing this for centos linux? i dont see on the package list :-(

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому

      If it's not in the package repos, just build it from source. There's instructions on how to do so on the GitHub.

  • @danieldiaz2093
    @danieldiaz2093 Рік тому

    Great! very clear and very good configuration. Can you compress files?

  • @CyperN077
    @CyperN077 2 роки тому

    Very good video. It helped me out! Thnx...

  • @liyuefu
    @liyuefu 5 місяців тому

    great Help. Thanks

  • @MoreChannelNoise
    @MoreChannelNoise 2 роки тому

    Cant decide between this and Cfiles, both are so good

  • @a9nh
    @a9nh 2 роки тому

    Thanks a lot! You helped me getting started on lf!

  • @roman_mishin
    @roman_mishin 2 роки тому

    lf does not show (and does not have an option to show) timestamps in file listing using the ISO 8601 time format (like 2022-01-21 15:09:35). I can not tolerate its use because of that fact alone.

    • @gg-gn3re
      @gg-gn3re 2 роки тому

      all you do is go into the config and do ```set timefmt '2006-01-02 15:04:05' ``` dummy

    • @roman_mishin
      @roman_mishin 2 роки тому

      @@gg-gn3re I have that option set. I do mean "file listing" (set info time), not "file status" (set timefmt ...).

    • @gg-gn3re
      @gg-gn3re 2 роки тому +1

      @@roman_mishin use infotimefmtnew in options

  • @daleholden
    @daleholden Рік тому

    Hi Eric i notice ueberzug is no longer maintained so not sure it would be safe to use moving forward. Do you know any better solutions ?
    Also the Icon list has been removed from lf site. Its ok i got a list from your zshenv file :)

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому

      For the moment, I'm still using ueberzug and it's still working. I do probably need to find a replacement though, I may do a future video on that.

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому +1

      If you're interested in some replacements for ueberzug, you can see some alternate solutions here: github.com/gokcehan/lf/wiki/Previews

    • @daleholden
      @daleholden Рік тому

      @@EricMurphyxyz hi the instructions have changed
      Prerequisites/:-
      1.zsh for scripting
      2. ueberzug for all graphical previews
      3. graphicsmagick for svg and gif previews
      4. ffmpeg for video file thumbnails
      5. gs for PDF previews
      For shell integration symlink lf-ueberzug into /usr/local/bin and alias lf=lf-ueberzug in your shell configuration. This can be combined with the functionality of lf-shellcd, which is part of this directory, to change your working directory upon exiting.
      Can i ask when it says Prerequisites i tried to install 2 - 5 but i could not find a install for number 2 ueberzug. So i take it you mean just clone from github or is there an actual install?
      Also this mentions symlinks and aliasas but not mentioned in the video do i need to create what it says ?

  • @lindenhawthorn4761
    @lindenhawthorn4761 2 роки тому

    lf-gadgets didn't work for me[must be outdated], I endup up using luke smiths dot files for lf and made lfub, cleaner, & scope executable and got it working. For sxiv to work in lf I had to grab ~/.local/bin/rotdir and ~/.config/sxiv/exec/key-handler and make them executable. I grabbed all of his ~/.zprofile ~/.config/shell & ~/.config/zsh dotfiles too cuz he uses a lot of variables and sourcing files/directories.

  • @michaelkashkov4337
    @michaelkashkov4337 2 роки тому

    Amazing! ) Thanks Eric )
    Basically Ranger for Linux / Mac == LF for Win

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому +1

      Glad you like it, but lf works just as well on mac and linux

    • @michaelkashkov4337
      @michaelkashkov4337 2 роки тому

      @@EricMurphyxyz yep ) I tested it on mac as well. It comes out of the box less powerful than Ranger (deletion, renaming, and so on), but it can be solved with extensive customization. I hope Devs will find a way to add it by default in future iterations. I like that It has been written in Go =)

    • @gg-gn3re
      @gg-gn3re 2 роки тому +2

      lf is in Go and copies ranger entirely because python is a nightmare. These both are linux softwares that work on anything you can slap a shell into
      also cut copy and paste... d, y and p... maybe you should read the stuff a bit before posting, everything you say is wrong

  • @ДмитрийГолуб-ы8н

    dont work on fish ((

  • @code9078
    @code9078 Рік тому

    Thank you for sharing!

  • @nomadtrails
    @nomadtrails 2 роки тому

    SOLD, looks absolutely awesome

  • @felipemiotto1549
    @felipemiotto1549 2 роки тому

    Is the icon function unavailable now? Looked everywhere for this icons folder on the official GitHub repository, but it seems to be gone. Tried doing by myself too, with the icons I've found on reddit, but yet it did not work.

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому +1

      Not sure why it's gone from the GitHub, but you can find them in my .zshenv in my dotfiles on GitHub, link in the description

    • @felipemiotto1549
      @felipemiotto1549 2 роки тому +1

      @@EricMurphyxyz Thanks! Worked fine now

    • @VictoriaMan69
      @VictoriaMan69 2 роки тому

      @@EricMurphyxyz just checked your dotfiles and couldn't find your .zshenv

    • @EricMurphyxyz
      @EricMurphyxyz  2 роки тому

      @@VictoriaMan69 github.com/ericmurphyxyz/archrice/blob/master/.zshenv

    • @VictoriaMan69
      @VictoriaMan69 2 роки тому

      @@EricMurphyxyz thanks buddy! subbed, see you next vid.

  • @arijitgogoi5653
    @arijitgogoi5653 2 роки тому +1

    Right here

  • @Mantikal
    @Mantikal Рік тому

    Great video. I like the look, feel and speed of this file manager.
    If you have an audio, video or text file - how do you open them with your preferred apps or how would you change your preferred apps to run those files - using this file manager?
    Also, how would one go about having a transparent back ground?

    • @EricMurphyxyz
      @EricMurphyxyz  Рік тому +2

      Thanks! All the files are opened with the default application for those file types. If you're using a window manager, it follows the XDG specification, so you can edit your mimeapps.list file. See the Arch wiki for more info: wiki.archlinux.org/title/XDG_MIME_Applications
      For transparent backgrounds, I use picom to achieve these effects. I have a video on it here: ua-cam.com/video/t6Klg7CvUxA/v-deo.html

    • @Mantikal
      @Mantikal Рік тому +1

      @@EricMurphyxyz Thanks

  • @jacobtb1
    @jacobtb1 Рік тому

    awesome thanks

  • @AindriuMacGiollaEoin
    @AindriuMacGiollaEoin Рік тому

    powerful

  • @xtrailinfinity
    @xtrailinfinity 2 роки тому

    It's great!!
    on WindowsPowerShell(WindowsOS)
    previewing text.

  • @swithunliu1412
    @swithunliu1412 2 роки тому

    how to cd the current directory with powershell (just like print 'S' with ranger)

  • @Echoes_of_Albatross
    @Echoes_of_Albatross Рік тому

    Thanks, It helps, what I was looking for.

  • @xyicoc
    @xyicoc Рік тому

    how to use it like file manager with tcsh, not like ls