LF: File browsing, Image Previews written in Golang

  Рет қаралды 61,208

Luke Smith

Luke Smith

2 жыл бұрын

The last of the terminal-interface programs I haven't done a video on: LF the file browser. I have a lot of shortcuts in mine, but also image previews with ueberzug and special icons, and tips as well.
All of my lf configuration files (and those for everything else) are on my dotfiles git repository:
github.com/lukesmithxyz/voidrice
lf source code: github.com/gokcehan/lf
It should probably be in your Linux distro's package repository.
My website: lukesmith.xyz
Classical books reprinted by me: lindypress.net
Get all my videos off KZbin: videos.lukesmith.xyz
or Odysee: odysee.com/$/invite/@Luke:7
Please donate: donate.lukesmith.xyz
BTC: bc1qw5w6pxsk3aj324tmqrhhpmpfprxcfxe6qhetuv
XMR: 48jewbtxe4jU3MnzJFjTs3gVFWh2nRrAMWdUuUd7Ubo375LL4SjLTnMRKBrXburvEh38QSNLrJy3EateykVCypnm6gcT9bh
OR affiliate links to things l use:
www.vultr.com/?ref=8384069-6G Get a VPS and host a website or server for anything else.
www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.

Пікірлер: 164
@fawzanfawzi9993
@fawzanfawzi9993 2 жыл бұрын
It's great that Luke creates classic-style Linux video again.
@coompiler9029
@coompiler9029 2 жыл бұрын
Its been a long time indeed. Glad to have the old style videos back.
@iskamag
@iskamag 2 жыл бұрын
GNU/Linux*
@anantgupta1188
@anantgupta1188 2 жыл бұрын
i was bored by watching his remove internet video :(
@anantgupta1188
@anantgupta1188 2 жыл бұрын
@ViperLocust me too lol
@FunMaker39
@FunMaker39 2 жыл бұрын
Dozen of years or more, and GNU/Linux terminal capabilities will finally match Temple OS's.
@TimeTravelingFetus
@TimeTravelingFetus 2 жыл бұрын
Tfw no gifs in source code
@zerquex4520
@zerquex4520 2 жыл бұрын
Would love to see more Linux focused content.
@RaveYoda
@RaveYoda 2 жыл бұрын
Chilling in the woods alone fries a man's brain as evident by his content. But, the Linux brain lives on even in brain death....
@sexyeur
@sexyeur 11 ай бұрын
Luke kills it, right 😂
@jerespspi7434
@jerespspi7434 2 жыл бұрын
> showcases pdf preview in lf > makes sure to not preview "Rockefeller Foundation.pdf" accidentally
@javajav3004
@javajav3004 2 жыл бұрын
BASED
@snippletrap
@snippletrap 2 жыл бұрын
Probably the Lockstep Scenario
@oneanime5551
@oneanime5551 2 жыл бұрын
i just installed lf yesterday and now luke uploaded this, thank you so much!!
@dandan-gf4jk
@dandan-gf4jk 2 жыл бұрын
3:19 ~ God sometime in the past, probably
@thomasjensen9581
@thomasjensen9581 2 жыл бұрын
Really happy about the linux videos coming back!
@returned_to_monke8872
@returned_to_monke8872 2 жыл бұрын
I'm loving that you're uploading frequently. Love listening to you bro!
@sexyeur
@sexyeur 11 ай бұрын
I like Luke's kjv app. I install it everywhere i go.
@komputersociologi5384
@komputersociologi5384 2 жыл бұрын
This is great, I love LF but have found it kind of hard to get in a state that could replace my old GUI file browser. Thank you for doing this
@ivailopetrov2827
@ivailopetrov2827 2 жыл бұрын
hell yeah luke became a gochad
@marciomaiajr
@marciomaiajr 2 жыл бұрын
Good to see luke is a fan of Leonardo of Biz videos. Keep party rocking.
@GhostofTradition
@GhostofTradition 2 жыл бұрын
Or is it his alt account? 🤔
@renanbrayner984
@renanbrayner984 2 жыл бұрын
Tank you! This is exactly what I needed Luke, I'm a ranger user, but its soooo slooow, I'm going to make the switch right now
@yochem9294
@yochem9294 2 жыл бұрын
it was a matter of time for Luke to start praising golang
@MrJoseklon
@MrJoseklon 2 жыл бұрын
I knew Luke was a Golang Big Brain
@AlaniNavaz
@AlaniNavaz 2 жыл бұрын
Ah, another man of culture! Like Luke, I too spend days pondering over the voynich manuscript.
@Cookiekeks
@Cookiekeks 2 жыл бұрын
Glad you upload so frequently
@jtrickett1974
@jtrickett1974 2 жыл бұрын
Excellent video as always. But you might need to update your dotfiles repo with your latest lf configs. Certain things aren't working as they do in your video i.e. video thumbnails.
@kronikpillow
@kronikpillow 2 жыл бұрын
you should read my comment above .. .about missing LARB Dependancies, it's working all right, you just don't have the packages needed for it to work installed, as they are for some retarded reason not installed by default
@jtrickett1974
@jtrickett1974 2 жыл бұрын
@@kronikpillowMany thanks for your reply.
@mik13ST
@mik13ST 2 жыл бұрын
I used to use Ranger for a few months, contributed some fixes, encountered many hiccups and in the end I jumped to LF as well. Another thing about LF is the lack of fancy features (compared to Ranger) makes it easier to maintain. This ideology is inspired by the Golang itself.
@kronikpillow
@kronikpillow 2 жыл бұрын
Luke ... most of the voidrice repo dependancies, like bat, ffmpegthumbnailer, and other programs used for many of your scripts in .local/bin/ are actually not installed by default, so a user can install your dotfiles, but 90% of the things won't work, until a user actually reads trough all the dotfiles, and identifies what he actually needs to install additionally on top of LARBS to get things to work ... so far identified missing dependancies, there are more actually related to .local/bin, althou still not identified fully what's needed for a full working voidrice dotfiles bat - for LF previews ueberzug - for LF previews python-pdftotext - for LF previews odt2txt - for LF previews calcurse - dependancy of the sb-clock status bar script transmission-cli - dependancy for dwm tremc - dependancy for dwm vorbis-tools - dependancy for the tag script in .local/bin opustags - dependancy for the tag script in .local/bin python-eyed3 - dependancy for the tag script in .local/bin ttf-joypixels - missing font from fontconf in voidrice ttf-liberation - missing font from fontconf in voidrice noto-fonts - missing font from fontconf in voidrice ttf-dejavu - this one is needed to fix the emoji showing whitespace glitch
@JustSomeAussie1
@JustSomeAussie1 2 жыл бұрын
Really good seeing Luke go back to his roots
@olaolaolaola8663
@olaolaolaola8663 2 жыл бұрын
"it does the needful" .. yay for the India reference.
@nobyra
@nobyra 2 жыл бұрын
Likinh these new burst of "classic" videos. Those woods are probably calling his name.
@TheSulross
@TheSulross 2 жыл бұрын
I went through my golang phase - even wrote some programs in golang that are running in commericial production apps, but anytime on the Intertubes one will soon see that Rust has eclipsed golang in all the conversations and attention getting. Well, system programmin where control all the memory allocation has its place, but golang garbage collected memory management and its primary concurrency model are rather great fit for all this cloud infrastructure software - which is a kind of middle-ware. After all, we're still coming out of a 20 plus years of writing Java middle-ware. But C was amy first programming language love so I'm more interested in Zig than I am in Rust these days. I really want to go back to writing code that has the smallest executables possible without resorting to assembly language while incorporating a lot of the lessons learned from the last 30 years about language design ideas. Zig still has some maturation to go through but am seeing the potential for it to fullfill this particular language vnirvana vision
@astroid-ws4py
@astroid-ws4py 2 жыл бұрын
You should also check about Nim, It is bassicaly a C with garbage collection and can be used as an alternative to Go
@f23anone82
@f23anone82 2 жыл бұрын
Finally, the Linux related video from Luke
@kusumabhat6609
@kusumabhat6609 2 жыл бұрын
I'm here using it and it's Great😊
@ianpan0102
@ianpan0102 2 жыл бұрын
Loving the classic vim/linux videos!
@KaiserTheAdversary
@KaiserTheAdversary 2 жыл бұрын
Excellent video as always. Now I have no excuse for not making the jump to lf.
@Y1001
@Y1001 2 жыл бұрын
this is fantastic, thank you for the share
@window.location
@window.location 2 жыл бұрын
party rockets vid is awesome
@user-gp9ln4wj1r
@user-gp9ln4wj1r 2 жыл бұрын
Very very cool!!! I'm thrilled!!!
@typeer
@typeer 2 жыл бұрын
Grateful for luke
@TechChiefYT
@TechChiefYT 2 жыл бұрын
Luke is Bizzonacci.
@probe2k
@probe2k 2 жыл бұрын
Been saving my configs by directly editing stock configs in /etc or /usr/share/ I guess, I'd still live by ;p
@sodiumsalt
@sodiumsalt 2 жыл бұрын
Me thinking to myself : Wait isn't this just ranger Luke: I can read your thoughts
@mik13ST
@mik13ST 2 жыл бұрын
I talked with the Turkish author/maintainer when solving an issue with mailcap (xdg-open but simple), they are friendly and make an effort to help you.
@techvishnuyt
@techvishnuyt Жыл бұрын
love to yanks some dope configs
@pidojaspdpaidipashdisao572
@pidojaspdpaidipashdisao572 2 жыл бұрын
Hey Luke, this comment was written on Windows 10.
@user-ru4iu4mv2l
@user-ru4iu4mv2l 8 ай бұрын
Great!! I like you colors
@phineasg7709
@phineasg7709 2 жыл бұрын
I had to look it up, but I eventually got the Voynich manuscript joke. I am proud of myself now.
@seanld444
@seanld444 2 жыл бұрын
Holy cow. Window gaps the size of Jupiter.
@user-cf2pl9uy5k
@user-cf2pl9uy5k 2 жыл бұрын
Hi Luke, appreciate your tutorials. You could also show on lf's wiki the info about how to add previews. I've been watching you for years, but I don't think newer people trust us to add our configs to their system, if you know what I mean...
@blank3478
@blank3478 2 жыл бұрын
Nice maybe I can finally get image previews to work with lf
@vdsw9166
@vdsw9166 Жыл бұрын
I was wondering if it has a thumbnail mode for media folder browsing; looking for files based on visual input is pretty important when the size of your meme folder gets out of hand.
@kevind.shabahang
@kevind.shabahang 2 жыл бұрын
Hey Luke, I love your videos. If you know of FOSS approaches to project/time management and TODO list tracking, it would be greatly appreciated if you can make a video about it. Extra points if you know of some terminal-based tools. I was trying gcalcli, but it's no longer syncing with Google Calendar. Perhaps that's a blessing in disguise...
@viciousbadger6968
@viciousbadger6968 2 жыл бұрын
Check out taskwarrior
@skillfulsugar
@skillfulsugar 2 жыл бұрын
Have a look at org mode for vim. It's based off the Emacs org mode, haven't used it myself but seems half decent.
@WildVoltorb
@WildVoltorb 2 жыл бұрын
I've been using vifm, pretty happy with it. Also uses uberzug for previews, but unfortunately there's no uberzug support for wayland
@EddyMamona17
@EddyMamona17 2 жыл бұрын
Lf is pretty dope, but I've found myself using fff more. For switching directories, bulk rename, copy-pasting, etc. is much better out of the box.
@luxucn
@luxucn 2 жыл бұрын
Lf has a "delete" command now, but not bound to any keys. So, you can just put "map D delete" in lfrc.
@laz0rbra1n
@laz0rbra1n 2 жыл бұрын
d is move. key bindings must be as arbitrary as possible so I suggest using i for delete.
@luxucn
@luxucn 2 жыл бұрын
@@laz0rbra1n I think the dev was mimicking vim's 'd' then 'p' to cut and paste, but TBH I was just as confused.
@CarlosRodriguez-nj6jp
@CarlosRodriguez-nj6jp 2 жыл бұрын
Thanks! btw the scope file hasnt been updated, it does not display video or pdf thumbnails yet
@liamray2010
@liamray2010 4 ай бұрын
Thank you. Question - why don't you use a whiptail for confirmation/input dialog boxes?
@tanmay______
@tanmay______ 2 жыл бұрын
Any way to do the lfcd() thing with ranger? That's all I've ever wanted from a terminal file manager
@donnie3764
@donnie3764 2 жыл бұрын
Hi Brodie! Shapeshifting is a clever way to flex lf again. But your beard looks better on the original.
@shubhampawar7921
@shubhampawar7921 2 жыл бұрын
I'm curious, does Luke knows (neo)vim has tabs. He could have just opened scope and lfrc in separate tabs instead of quitting then reopenin
@MoreChannelNoise
@MoreChannelNoise 2 жыл бұрын
have you done a video on how you startup your system? do you use LDM or SDM or just type startx in terminal or what?
@javajav3004
@javajav3004 2 жыл бұрын
Grug like preview. Look like in game lore
@godisgood5089
@godisgood5089 Жыл бұрын
I made the ~/.local/bin directory, put the script in there, made an alias in .bashrc and still have no idea how it's supposed to launch. bash: lfub: command not found.
@supersteve1440
@supersteve1440 Жыл бұрын
The ueberzug creator did digital harakiri with his github project.
@OG900Aero
@OG900Aero Жыл бұрын
Is there a way to show only the second and third column (aka ranger)? The first column is useless for me.
@numairdubas2688
@numairdubas2688 2 жыл бұрын
I use nnn with quitcd and bind it to Alt+e in bash for the ultimate sanic speed
@mcdermottpa
@mcdermottpa 2 жыл бұрын
Does anyone know what program is being used at 12:30? Not finding anything useful searching for "se" commands
@mik13ST
@mik13ST 2 жыл бұрын
Yes, ranger is slow. I tried browsing a big Git repo in it on a RaspberryPi 1 and it wasn't a pleasant experience. One of the problems is Ranger being synchronous so when you jjjjjj down over a big directory, it halts until it loads the content. LF on the other hand prints "loading..." and you are free to continue jjjjjjj down uninterrupted.
@otten5666
@otten5666 2 жыл бұрын
I have tried to adapt to command line file management with Ranger and NNN but I just cannot get productive with it. I went back to Thunar to be productive again. Fight me.
@ari-athbadminton0301
@ari-athbadminton0301 2 жыл бұрын
I had the same issue, it is too big of a paradigm/habit shift for the moment and being a gamer old win user made me resist mouse ditching.
@jojothefine
@jojothefine 2 жыл бұрын
So guess this is your last Linux video seeing as you've made videos on everything you use? In that case I thank you for your service over the years!
@ari-athbadminton0301
@ari-athbadminton0301 2 жыл бұрын
A round up of all the tools He setup could be a nice finale! So newcomers will have a full view of what LARBS is about and where it is in 2022.
@loverboykimi
@loverboykimi Жыл бұрын
R.I.P. ueberzug. I have instability using lf with ueberzug. After 1st preview it is stuck in loading state. I am not able to figure out. If anyone has solution please reply.
@kj-marslander
@kj-marslander Жыл бұрын
I'm trying to figure it out at the moment, I was using ranger and kitty for a few months, so I didn't notice when ueberzug died
@user-rd3jw7pv7i
@user-rd3jw7pv7i 2 жыл бұрын
Are you going to comment on the node-ipc chaos? Please make content on this ASAP
@mairacristian54
@mairacristian54 2 жыл бұрын
this comment can work as a thread to speculate how wide of a monitor will luke need to fit his statusbar 2 years from now
@MoreChannelNoise
@MoreChannelNoise 2 жыл бұрын
imge preview Doesn't work for me I installed everything required, I tried iwth urxvt and st terminals.
@Pepe-vs2rh
@Pepe-vs2rh 2 жыл бұрын
How do you find all those great pepe things like the video you have shown and for your thumbnails, Luke?
@coompiler9029
@coompiler9029 2 жыл бұрын
Bump
@zzzzzz1039
@zzzzzz1039 2 жыл бұрын
Python: Global Interpreter Lock - The efficiency killer
@Chillingworth
@Chillingworth 2 жыл бұрын
At 9:55 how were you moving the cursor and caret? I wanna buy whatever accessory I need
@avsbq
@avsbq 4 ай бұрын
Trackpoint, or pointer, his keyboard is the unicomp endura pro (no longer sold) , Lenovo sell similar external keyboards but second-hand ones are pricey, there are companies like tex shinobi
@nobie4955
@nobie4955 2 жыл бұрын
Good bye ranger and heeello lf Also what do you use to have your webcam show as a minimal window?
@AlbertoGomezM
@AlbertoGomezM 2 жыл бұрын
Not Related episode on Voynich manuscript incoming?
@flleaf
@flleaf 2 жыл бұрын
Luke calling himself cute is not what i expected to hear in my life
@virgiliomurilloochoa2884
@virgiliomurilloochoa2884 2 жыл бұрын
is it going to break on updates like ranger?
@gamezoid1234
@gamezoid1234 2 жыл бұрын
I'd love to hear from Luke on this but comments from others are also welcome. Why lf over vifm? I mean the vim focus is in the name and if I understand correctly vifm is much more mature than lf anyway.
@elclippo4182
@elclippo4182 2 жыл бұрын
Why do Luke‘s dwm window gaps get bigger over time? What does this tell me about him?
@letusplay2296
@letusplay2296 8 ай бұрын
Voynich manuscript 👀
@BasedPureblood
@BasedPureblood 2 жыл бұрын
Hi Kenny.
@simondj8572
@simondj8572 2 жыл бұрын
I really like nnn
@mik13ST
@mik13ST 2 жыл бұрын
I think the Midnight Commander should be the terminal file manager of choice for people like Luke. All these MC replacements with fancy features (image previews, icons, VCS integration) kind seem soydev-ish. Keep the traditions!
@DorperSystems
@DorperSystems 2 жыл бұрын
@I ain't no millionaires son! come on man get with the program. useful features = soyface. pointless minimalism = gigachad.
@mik13ST
@mik13ST 2 жыл бұрын
​@@DorperSystems Gigachad, lol. In that case, Luke should switch to TTY console (what do you need X11 for?) and refrain from using terminal UIs (terminal wasn't meant to be used like this btw) by using plain ed to edit files. Maybe he could get an actual VT100 physical terminal. That would be gigachad.
@DorperSystems
@DorperSystems 2 жыл бұрын
@@mik13ST Yes i'm joking. However, ED is the standard EDitor.
@SantiagoGonzalez-sl5lj
@SantiagoGonzalez-sl5lj 2 жыл бұрын
Looks good. Can you do bulkrename with LF?
@LukeSmithxyz
@LukeSmithxyz 2 жыл бұрын
Yeah, I have it run vidir for bulkrenames. Not sure if there's a default way now.
@Maldito011316
@Maldito011316 2 жыл бұрын
7:45 # before extention # after extention
@MrG0CE
@MrG0CE 2 жыл бұрын
UEBERZUG DOESN'T WORK IN WAYLAND.
@africayean1311
@africayean1311 2 жыл бұрын
17:49 I don't see any mouse on the webcam, what did you do there mr.luke
@mcechss
@mcechss 2 жыл бұрын
A Luke viewer who doesn't know the trackpoint?
@africayean1311
@africayean1311 2 жыл бұрын
@@mcechss trackpoint on an external keyboard?
@centralintelligenceagency6825
@centralintelligenceagency6825 2 жыл бұрын
@@africayean1311 Yes
@wojtekjatja7289
@wojtekjatja7289 2 жыл бұрын
Lol your primary group is wheel ?;) I see you are using pam wheel module for su.. but whats the point of havibg this as primary group and not secondary... confused! cheers ,)
@allhasread
@allhasread 2 жыл бұрын
What keyboard is Luke using?
@jarifazmain5170
@jarifazmain5170 2 жыл бұрын
my linux daddy is here
@tonio9973
@tonio9973 2 жыл бұрын
kant couldn't do it, fichte coudn't do it, schelling couldn't do it
@roflushkin1586
@roflushkin1586 2 жыл бұрын
what is the program in 12:30?
@kortaffel
@kortaffel 2 жыл бұрын
Just use midnight commander like the rest of us
@g0kultrainstinct
@g0kultrainstinct 2 жыл бұрын
Can you make a video on vifm? it is also a good vi based file manager
@LukeSmithxyz
@LukeSmithxyz 2 жыл бұрын
I used vifm briefly in 2018, but quit because I thought it was annoying.
@g0kultrainstinct
@g0kultrainstinct 2 жыл бұрын
ohh but i think vifm has two panes and we can also scroll through previews are adv over lf and also there is a script called vifmpane like lfcd which can be handy to change dirs after exit Though lf is also a good file manager :)
@kronikpillow
@kronikpillow 2 жыл бұрын
I am confused as to how Luke is moving his mouse cursor, with both of his hands on the keyboard?
@alionicle
@alionicle 2 жыл бұрын
He has a video on that keyboard that is like the thinkpad with the trackpoint
@ari-athbadminton0301
@ari-athbadminton0301 2 жыл бұрын
He has custom binds for mouse movements XD
@jean-samuelfaubert6632
@jean-samuelfaubert6632 2 жыл бұрын
))Rockefeller Foundation((
@AlexAegisOfficial
@AlexAegisOfficial 2 жыл бұрын
4:55 if your program doesn not adhere to the XDG Base Directory specification*
@danplt
@danplt 2 жыл бұрын
Can a make a video on Sway
@senhekhoryun1325
@senhekhoryun1325 2 жыл бұрын
Hey guys, could someone please shed light as to how he changes terminal opacity in 6:08?
@pratheekshetty7714
@pratheekshetty7714 2 жыл бұрын
He made a video abt urxvt 4years ago... kzbin.info/www/bejne/m5Kll5Kve62jqZo at timestap 3:00 he tells about bg opacity
@abhinavlakhani5637
@abhinavlakhani5637 10 ай бұрын
Uebersug? I use sixel btw 🤣
@anonymous-bm2kp
@anonymous-bm2kp 2 жыл бұрын
Lf is not displaying icons but rather question marks "?".
@drumitar
@drumitar 2 жыл бұрын
yeh this file manager, you prolly never heard of it
@kubamaliszewski1167
@kubamaliszewski1167 2 жыл бұрын
Ey yo European gang here.
The Most Controversial Children's Book in History
40:38
Solar Sands
Рет қаралды 216 М.
My FAVORITE File Manager - Complete Midnight Commander Tutorial
22:32
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 39 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 11 МЛН
vifm - The Terminal File Manager For The Vim-Centric User
24:07
DistroTube
Рет қаралды 75 М.
NNN vs Ranger - Which Terminal File Manager is Best?
19:49
The Linux Cast
Рет қаралды 26 М.
Ranger: The Linux File Manager For Vim Lovers
18:06
NeuralNine
Рет қаралды 10 М.
Ly -  A Nerd's Display Manager
13:24
The Linux Cast
Рет қаралды 216 М.
NNN: Is This Terminal File Manager As Good As People Say?
22:23
Brodie Robertson
Рет қаралды 31 М.
Kitty Is A Fast And Feature Rich Terminal Emulator
17:55
DistroTube
Рет қаралды 148 М.
Are Terminal File Managers Really Worth The Effort?
9:11
Brodie Robertson
Рет қаралды 26 М.
7 Essential Command Line Tools (2022)
9:12
Tech Craft
Рет қаралды 203 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,9 МЛН
Зарядка-брелок для Apple Watch
0:39
Rozetked
Рет қаралды 149 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 6 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 465 М.
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 1,7 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН