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!
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.
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.
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.
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 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
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.
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!
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.
@@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 =)
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
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?
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
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!)
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.
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)
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.
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 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 ?
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.
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.
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 ;[
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
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
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!
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.
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.
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.
His instructions are deprecated. Please follow the instructions in the GitHub repo.
Thank you Eric! I’ve been looking for this information for a few weeks. This video was perfect 👍
Awesome, glad you found it useful!
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)?
Thanks! Vim will change your life, haha. I may create a basic setup guide for bspwm, that's a good idea
SOLD, looks absolutely awesome
Nice choice of atire :)
Had to show off my gains in this video
@@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
Thank you! A big hug! Thanks for all your great educational videos!
Thanks a lot! You helped me getting started on lf!
Lf is good. But I'm just love Vifm. It has a easy to setup preview. It also has a dual pane.
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
Cant decide between this and Cfiles, both are so good
james burnham and julius evola 👀
nice
Based
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.
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.
yazi just works
Iam a little lost on the installation part of this program. However great job explaining it usage
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!
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.
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.
LF github page does not have a dedicated icons link anymore.
Brother, what you did then?
Because it is not needed anymore, just a Nerd Font installed.
Thank You!!! I love your video with LF . How to set the colors ? Could you share the code ? thank you
Thank you for sharing!
Great! very clear and very good configuration. Can you compress files?
great Help. Thanks
Amazing! ) Thanks Eric )
Basically Ranger for Linux / Mac == LF for Win
Glad you like it, but lf works just as well on mac and linux
@@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 =)
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
You are absolutely wrong! The greatest file manager is vifm! Let's end this there! :)
Thanks, It helps, what I was looking for.
Can we do find and then cd there to selected file/folder?
Very good video. It helped me out! Thnx...
Awesome!!! Thank you! Btw, what's your color scheme for the terminal? Also the font please.....
Tokyo Night and JetBrains Mono
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?
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
@@EricMurphyxyz Thanks
Can it render PDF files? How great would it be an integration with Zathura
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!)
I assume there is a way to have a dual pane display like Ranger ala Midnight Commander?
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?
You can actually delete files in LF by typing :delete
What's the difference between this and ranger?
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.
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)
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.
Seems one has to have zsh installed for any of the add-on gadgets to work?
awesome thanks
can you please explain how to make all the gadgets work together within one lf session?
so thats why i cant delete anything or run i need to bind something
Hey Eric! you know if there's chance for installing this for centos linux? i dont see on the package list :-(
If it's not in the package repos, just build it from source. There's instructions on how to do so on the GitHub.
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 :)
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.
If you're interested in some replacements for ueberzug, you can see some alternate solutions here: github.com/gokcehan/lf/wiki/Previews
@@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 ?
How do you change default app when opening a file
powerful
Is there anyway to do this in bash?
my ranking: vifm yazi-fm and nnn
how to show binary in lf file manger
I am getting an error. lstat $PATH: no such file or directory. Help please!!
The greatest file manager? Without undo it's not even in the top 10!
It's great!!
on WindowsPowerShell(WindowsOS)
previewing text.
Right here
?
Can you do a bulk rename like ranger?
You would have to write/find a script to do something like that, there's no built-in feature to bulk rename
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.
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
@@EricMurphyxyz Thanks! Worked fine now
@@EricMurphyxyz just checked your dotfiles and couldn't find your .zshenv
@@VictoriaMan69 github.com/ericmurphyxyz/archrice/blob/master/.zshenv
@@EricMurphyxyz thanks buddy! subbed, see you next vid.
ueberzug is not maintained 7 months ago maintainer has no interest in keeping it going.
Here, I made a video on what to use instead of Ueberzug: ruclips.net/video/nTQWI0OalVk/видео.html
Top it's gg. Aa? what the gg means?
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.
all you do is go into the config and do ```set timefmt '2006-01-02 15:04:05' ``` dummy
@@gg-gn3re I have that option set. I do mean "file listing" (set info time), not "file status" (set timefmt ...).
@@roman_mishin use infotimefmtnew in options
dont work on fish ((
damm ueberzug github repo is unvailable and on top of that I am windows user :(
just use ctpv.
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 ;[
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
how to cd the current directory with powershell (just like print 'S' with ranger)
if only image and video previewer would work in fish shell....😞
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.
You can map delete this way:
map DD % gio trash "$f"
It will send the file to the ~/.local/share/Trash
how to use it like file manager with tcsh, not like ls