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

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024

Комментарии • 105

  • @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!

  • @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 Год назад

      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.

  • @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.

  • @markring40
    @markring40 2 года назад +5

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

    • @EricMurphyxyz
      @EricMurphyxyz  2 года назад +3

      Awesome, glad you found it useful!

  • @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

  • @nomadtrails
    @nomadtrails 2 года назад

    SOLD, looks absolutely awesome

  • @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

  • @Lobaluna9333
    @Lobaluna9333 Год назад

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

  • @a9nh
    @a9nh 2 года назад

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

  • @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

  • @MoreChannelNoise
    @MoreChannelNoise 2 года назад

    Cant decide between this and Cfiles, both are so good

  • @nidhishshivashankar4885
    @nidhishshivashankar4885 Год назад +1

    james burnham and julius evola 👀
    nice

  • @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 8 месяцев назад

      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.

  • @saadahmed688
    @saadahmed688 Месяц назад

    yazi just works

  • @cmespy2005
    @cmespy2005 11 месяцев назад

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

  • @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  Год назад

      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.

  • @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 Год назад +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.

  • @user-ru4iu4mv2l
    @user-ru4iu4mv2l 9 месяцев назад

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

  • @code9078
    @code9078 Год назад

    Thank you for sharing!

  • @danieldiaz2093
    @danieldiaz2093 Год назад

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

  • @liyuefu
    @liyuefu 4 месяца назад

    great Help. Thanks

  • @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

  • @DzintarsDev
    @DzintarsDev 4 месяца назад +1

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

  • @Echoes_of_Albatross
    @Echoes_of_Albatross Год назад

    Thanks, It helps, what I was looking for.

  • @PetrasL_1976
    @PetrasL_1976 21 день назад

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

  • @CyperN077
    @CyperN077 2 года назад

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

  • @subhajitmishra007
    @subhajitmishra007 Год назад

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

  • @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: ruclips.net/video/t6Klg7CvUxA/видео.html

    • @Mantikal
      @Mantikal Год назад +1

      @@EricMurphyxyz Thanks

  • @VladPalacios
    @VladPalacios 2 месяца назад

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

  • @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!)

  • @user-fz1ps4xk8u
    @user-fz1ps4xk8u 7 месяцев назад

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

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

  • @pewolo
    @pewolo 6 месяцев назад +1

    You can actually delete files in LF by typing :delete

  • @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.

  • @MacroAcc
    @MacroAcc 7 месяцев назад

    hi, 2 years later but i have a question. why yould you use LF over ranger? LF seems like a downgrade. call me a normie but i like to use mouse to click on stuff (needs only one hand and is fast)

  • @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.

  • @DavidRobertLewis
    @DavidRobertLewis 9 месяцев назад

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

  • @jacobtb1
    @jacobtb1 Год назад

    awesome thanks

  • @gizmotruveauth20
    @gizmotruveauth20 Год назад

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

  • @maciejkowalski6045
    @maciejkowalski6045 7 месяцев назад

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

  • @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.

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

  • @Miinui0
    @Miinui0 Год назад

    How do you change default app when opening a file

  • @AindriuMacGiollaEoin
    @AindriuMacGiollaEoin 11 месяцев назад

    powerful

  • @anakinhamilton978
    @anakinhamilton978 Месяц назад

    Is there anyway to do this in bash?

  • @timidlove
    @timidlove Месяц назад

    my ranking: vifm yazi-fm and nnn

  • @user-si3nr8dj5p
    @user-si3nr8dj5p 9 месяцев назад

    how to show binary in lf file manger

  • @akshitthakur5179
    @akshitthakur5179 2 года назад

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

  • @ThePlacehole
    @ThePlacehole Месяц назад

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

  • @xtrailinfinity
    @xtrailinfinity 2 года назад

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

  • @arijitgogoi5653
    @arijitgogoi5653 2 года назад +1

    Right here

  • @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

  • @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.

  • @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: ruclips.net/video/nTQWI0OalVk/видео.html

  • @Seacrest.
    @Seacrest. Год назад

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

  • @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

  • @user-xi9yc3rf1k
    @user-xi9yc3rf1k 11 месяцев назад

    dont work on fish ((

  • @piushpaul4880
    @piushpaul4880 Год назад

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

  • @nostolgiagore
    @nostolgiagore Месяц назад

    just use ctpv.

  • @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 ;[

  • @F4ll3NST4RXIXCX
    @F4ll3NST4RXIXCX 9 дней назад

    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

  • @swithunliu1412
    @swithunliu1412 2 года назад

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

  • @RogueCoder7505
    @RogueCoder7505 Год назад

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

  • @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.

  •  2 года назад +2

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

  • @xyicoc
    @xyicoc Год назад

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