Icons And Image Previews In Vifm, Plus Xterm Is Great!

  Рет қаралды 27,319

DistroTube

DistroTube

Күн бұрын

Пікірлер: 60
@jcwl70
@jcwl70 5 жыл бұрын
00:00 intro 01:15 ranger 02:22 vifm 02:52 get icons in vifm 04:27 get images preview in vifm 10:40 killing the myth xterm is bloated 13:20 thanks patrons
@RobBoudreau
@RobBoudreau 5 жыл бұрын
Quick tip: bind " ! sxiv -t %d & " to a key in vifm and you can go to a folder of images and open them as thumbnails in sxiv. The ampersand at the end of the command sets sxiv as a background process so you can still browse with vifm while viewing the images in sxiv. I find it a better, faster way of going through images than doing it with the viewer script. Sxiv also uses Vim keybindings so it's like you're still working in vifm, just with a separate viewer. Great show as always DT. :-)
@kellingc
@kellingc 5 жыл бұрын
I'm learning so much about the extra stuff from you and the chats on Sundays. I'm from the old days when the only graphics from the terminal was ASCII art. My favorite was Spock next to a model of the Enterprize. The detail and shading from placement of ASCII characters was cool.
@horatiopugwash9183
@horatiopugwash9183 5 жыл бұрын
I've been using xterm for years. Like vi, it's *the* default everywhere, it just works, and I'm too lazy to switch to another terminal emulator. 😋
@tostoday
@tostoday 5 жыл бұрын
ViFM sounds like a radio station.
@DistroTube
@DistroTube 5 жыл бұрын
And the hits just keep coming.
@tostoday
@tostoday 5 жыл бұрын
@@DistroTube lol
@andrewpalm2103
@andrewpalm2103 5 жыл бұрын
** UPDATE ** I use xterm, but in my setup I had to use both imgt and imgc scripts as per the vifm wiki. Also, to get the images into the right pane I had to increase the FONTW value from 7 to 11. (Hey, they are both lucky numbers.) With those adjustments the preview feature is now working well. Perhaps this might help in the uxrvt case, as well? Another advantage to xterm is very low latency compared to other terminals. Plus it works well with ranger and vifm without extensions or modifications. I've been using sxiv as my image viewer in vifm via a keybind (using the sxiv thumbnail mode), but I'll have to give that imgt script a try. Thanks for another helpful video Derek!
@sigxfsz
@sigxfsz 5 жыл бұрын
Whether a program is bloat shouldn't be defined by the binary installation size but rather the runtime resource characteristics. CPU and RAM usage for normal but also contextual operations.. although I can't think of many contexts a terminal application would want to test to functionally prove much.. maybe high scrollback usage to see if RAM spikes... multiple terminals and shared memory.. which is further subjectified by using rxvtd for a terminal daemon if that use case matters. Package instalation size could vary on not just compile time directives for the specific maintainers choices but also how well or wether at all it uses various dynamic linking contexts to system libraries. Lines of code is also subjective to compile directives but also compiler optimization of the specific coding methodology. Just saying. Proper comparison. Personally, I'm stuck on Sakura since urxvt borked on unicode/powerline/fontawesome issues for me. I'm going to resolve it better at some point by figuring out the known topica obscura on urxvt's developers philosophy on unicode handling domain of responsibility.. or shift to st.. either way.. meh. terminal programs.
@andrewskangah3710
@andrewskangah3710 4 жыл бұрын
1:47 That wallpaper has been my wallpaper for a whole week. Dt always feels very relatable
@riseabove3082
@riseabove3082 4 жыл бұрын
Great video.... as always. Love your content DT
@sauron1427
@sauron1427 5 жыл бұрын
The biggest complain I've heard about xterm isn't that it's big, it's that the code is a bit of a mess and hard to maintain - from an end user's perspective it probably makes little to no difference what terminal is installed as long as it has the features you need.
@DistroTube
@DistroTube 5 жыл бұрын
Yea, I ain't reading the code. When people talk about "bloat" I assume they are talking about install size. 1MB installed is not bloat in my book. But opinions will vary.
@benway123
@benway123 5 жыл бұрын
I got it running with urxvt and playing with the fonts, thankfully. Thanks to you I can quit ranger now, was always a bit slow on my gdp pocket 2 ;) C code ftw ;)
@iMarimbaFTW
@iMarimbaFTW 5 жыл бұрын
Is vifm written in C?
@benway123
@benway123 5 жыл бұрын
@@iMarimbaFTW Seems so: github.com/vifm/vifm/tree/master/src
@jcwl70
@jcwl70 5 жыл бұрын
fast tip for vifm (as you can read in vifm) " Open editor to edit vifmrc and apply settings after returning to vifm nnoremap ,c :write | edit $MYVIFMRC | restart so to edit vifmrc just type: ,c
@encycl07pedia-
@encycl07pedia- 5 жыл бұрын
lol. I didn't think icons would be a reason people would not use vifm. The color schemes and file extensions are all I personally use. As for viewing images, I use fbi as fileviewer (in tty, obviously) and have a custom shortcut for Pix. It's really easy.
@VittoIB
@VittoIB 2 жыл бұрын
Xterm has been just fine for general use. It can be a pain not having tabs, but they don't really matter in a tiling wm that creates stacks momentarily. There's tabbed, but it's not that necessary.
@bobgrimes8618
@bobgrimes8618 5 жыл бұрын
I could never go as minimal as you do. Tome, GNOME 2 is as “minimal “ as I get!
@DistroTube
@DistroTube 5 жыл бұрын
Gnome 2 is pretty minimal by today's standards. :D
@merajularefinpial3639
@merajularefinpial3639 5 жыл бұрын
I can't see image previews in my terminal. I tried to use w3m-img but it didn't work. Can you please help? I am using ranger.
@dierealitat9485
@dierealitat9485 4 жыл бұрын
could u please share your ranger config? or tell me how u got rid of the main bar which comes up when u select a directory or file? looks much better with a bold font insteadt of the bar
@Subzearo
@Subzearo 4 жыл бұрын
What do I need to install to stop the icons from displaying empty boxes?
@DistroTube
@DistroTube 4 жыл бұрын
A better font.
@AlucardNoir
@AlucardNoir 5 жыл бұрын
You get bored with terminal emulators... aren't they like just clones of one another? is there actual difference between pseudo-transparent terminal emulator A and quasi-transparent terminal emulator B?
@lemler3337
@lemler3337 5 жыл бұрын
i have always used xterm it's great
@sergeynosov1901
@sergeynosov1901 5 жыл бұрын
I set FONTH=15 and FONTW=7 in imgc and it's work for me on xfce-terminal.
@CrustyAbsconder
@CrustyAbsconder 5 жыл бұрын
Hey Distrohuggers, I inserted an new shiny SSD in my machine and pulled out my beloved SSD with Tumbleweed. I just installed the Developmental Stable Edition of Neon. That was probably the easiest install I have ever had. Anyways, my machine is now sporting KDE Plasma 5.14.5, KDE Applications 18.12.1, and KDE Frameworks 5.54. Underneath all that is Ubuntu 18.04. This is probably just a temporary thing for me, as it may be 3 or 4 weeks before those KDE features are in Tumbleweed. Only been using it a few minutes, but resources seem similar to Plasma 5.14.4 on Tumbleweed. I wanted to test my new scanner and laserprinter and my new faxing app ( XenFax ) in a different distro ( other than Tumbleweed ), before throwing in the towel and purchasing Windows 10. I need to purchase a new laptop anyways, so I might have to settle for one with Windows. Leaning towards a Dell G3 17.
@wonderingwhy6410
@wonderingwhy6410 5 жыл бұрын
I prefer sxiv for browsing images.
@gatterlinux8426
@gatterlinux8426 5 жыл бұрын
Xterm is wonderful
@DistroTube
@DistroTube 5 жыл бұрын
Xterm masterrace!
@gavinvales8928
@gavinvales8928 5 жыл бұрын
Wait it does almost all the stuff in one config?
@DistroTube
@DistroTube 5 жыл бұрын
Mostly one config...the vifmrc file. There are color scheme files if you want to play with the theme. And, of course, now I have that bash script (imgt) that gives me the image previews.
@gavinvales8928
@gavinvales8928 5 жыл бұрын
@@DistroTube awesome! that is the one thing I don't like about ranger. Looks like I giving vifm a try!
@Element_Finland
@Element_Finland 5 жыл бұрын
@@gavinvales8928 what other files does ranger need than than the rc file? This is a complaint I've never heard
@0M9H4X_Neckbeard
@0M9H4X_Neckbeard 5 жыл бұрын
@@Element_Finland scope.sh
@sud0x3
@sud0x3 5 жыл бұрын
You could just pass all filetypes to scope.sh beasue its not a config file its a shell script.
@leonardocafferata6697
@leonardocafferata6697 5 жыл бұрын
xterm is bloat, in the same sense as when some ppl using neovim say vim is bloat. It's not the usual 'python is slow, and look how many LOC that project has' kinda bloat(which xterm has some of that as well), it's more like 'that program has SO much legacy code that doesnt do anything for me'. That's vim case, and that's xterm case. if you want another opinion, read the README in the xterm repo and, as the developers themselves put it 'Abandon All Hope, Ye Who Enter Here' The only surprise after running tokei on all 5 cases you showed (plus xfce4-terminal) is that lxterm is smaller by all accounts than upstream st, that was indeed surprising. I'll probably read the code and test both to see why's that. but yeah, TL;DR, xterm is bloat because of all the 'historical baggage' it has collected over the years.
@sklorpion
@sklorpion 5 жыл бұрын
Thank You great channel! 1. can't make it work on guake "Error: Failed to obtain image size." 2. arch users need to edit path in scripts to /usr/lib/w3m/w3mimgdisplay i found that path by running find / | grep w3mimgdisplay 3. of course there's a need to make scripts executable chmod +x on scripts
@alimirolyaee7543
@alimirolyaee7543 Жыл бұрын
fine
@saeidsaati4021
@saeidsaati4021 4 жыл бұрын
Hey, thank you, there is a default mark for ~/.config/vifm = 'z I always use it for going to there.
@halturin
@halturin 4 жыл бұрын
and just try to use shortcut for that :) ,c (yes, just comma and then c. it opens an editor with vifm and applies the changes once you save it and exit from the editor)
@proxxyBean
@proxxyBean 5 жыл бұрын
At the end of this month of i3wm, would it be possible to have you show what it’s like to migrate from i3 to sway.
@novosprospectus882
@novosprospectus882 5 жыл бұрын
How do you enable preview?
@DistroTube
@DistroTube 5 жыл бұрын
You mean what key to press in vifm to get file previews to appear? "w"
@novosprospectus882
@novosprospectus882 5 жыл бұрын
@@DistroTube thanks, also try midnight commander it's a cool file manager.
@sergey9679
@sergey9679 5 жыл бұрын
vi ay yef yem
@distroverse
@distroverse 5 жыл бұрын
Stop using old ass w3m-img :P! Ueberzug is a lot better and also works really with any terminal. I tested it on st, termite and gnome-terminal, lxterminal, xterm, urxvt, konsole, alacritty and all of them worked perfectly on ranger (you need to get ranger from git, as they didn't done new version which contains support for it) using this method. It is possible to use it with any program, so someone can make script to use it in vifm. Xterms README: Abandon All Hope, Ye Who Enter Here This is undoubtedly the most ugly program in the distribution. It was one of the first "serious" programs ported, and still has a lot of historical baggage. Ideally, there would be a general tty widget and then vt102 and tek4014 subwidgets so that they could be used in other programs. We are trying to clean things up as we go, but there is still a lot of work to do. And nothing changed :D
@0M9H4X_Neckbeard
@0M9H4X_Neckbeard 5 жыл бұрын
I can confirm this, Überzug is the way to do image previews - it just works!
@Luna_Voynich
@Luna_Voynich 5 жыл бұрын
I use Terminator
@PeloeCeci
@PeloeCeci 5 жыл бұрын
Hello, I really like the content of your channel, I would like to comment on Chromefy, design in XDA to turn any pc into a chromebook, hugs
@nykal1510
@nykal1510 4 жыл бұрын
What sort of diabolical mind even comes to such an idea...?
@PeloeCeci
@PeloeCeci 4 жыл бұрын
@@nykal1510 github.com/sebanc/brunch
@nykal1510
@nykal1510 4 жыл бұрын
@@PeloeCeci But why would anyone want that?
@kostasapostolopoulos_yt
@kostasapostolopoulos_yt 5 жыл бұрын
I use vty
@xthebumpx
@xthebumpx 5 жыл бұрын
The cool kids use either st or termite with i3
@wackydriver
@wackydriver 5 жыл бұрын
xterm ISleep
@chueewowee
@chueewowee 4 жыл бұрын
You dont get 'random' previews of metadata etc. ; yo American smust stop using the word in the worng way so very often. Bad habit
@VanosTurbo
@VanosTurbo 5 жыл бұрын
I prefer Midnight commander as file manager.
VIFM in-depth look and customization
40:38
linux dabbler
Рет қаралды 6 М.
vifm - The Terminal File Manager For The Vim-Centric User
24:07
DistroTube
Рет қаралды 76 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 19 МЛН
Free Software Is Under Attack! (Will You Help Defend It?)
32:02
DistroTube
Рет қаралды 21 М.
Let's Rice Our Dmenu With Patching
21:38
DistroTube
Рет қаралды 75 М.
LF: File browsing, Image Previews written in Golang
18:29
Luke Smith
Рет қаралды 62 М.
Vifm and Überzug (Ueberzug) Image Previews
12:45
DistroTube
Рет қаралды 27 М.
NNN vs Ranger - Which Terminal File Manager is Best?
19:49
The Linux Cast
Рет қаралды 27 М.
Some bashrc recommendations and what I use
19:17
Luke Smith
Рет қаралды 114 М.
Top 5 Terminal Emulators
27:02
Learn Linux TV
Рет қаралды 94 М.
What Are Linux Users Putting In Their Config Files?
31:47
DistroTube
Рет қаралды 92 М.
ViFM - An AWESOME File Manager
17:08
The Linux Cast
Рет қаралды 8 М.