LSD on Linux - the next gen "ls" command
Ғылым және технология
LSD (LSDeluxe) is the next gen "ls" command. It adds some neat colors to "ls" as well as unicode character icons.
📰 REFERENCED:
github.com/Peltoche/lsd
💰 WANT TO SUPPORT THE CHANNEL?
Patreon: / distrotube
Paypal: www.paypal.com/cgi-bin/webscr...
👕 BUY SHIRTS AND MUGS:
Help support this channel by purchasing these fine t-shirts, hoodies and mugs.
teespring.com/stores/distrotube
🗨️ JOIN ME ON DIASPORA AND MASTODON:
diasp.org/people/792034802a05...
mastodon.technology/web/accou...
📁 MY CONFIGS:
GitLab: gitlab.com/dwt1
Your support is very much appreciated. Thanks, guys!
Пікірлер: 177
As an lsd user, I approve! 💪
So this is the recommendation I get from watching videos about drugs and my CS course...
Didn't know you had to do LSD to use Linux, well maybe Arch!
@DistroTube
5 жыл бұрын
Arch can be a bad trip for some people!
@izaicslinux6961
5 жыл бұрын
@@DistroTube More so for the computer, when you bash the case in because a update broke everything :P
@ithraldharzul6887
5 жыл бұрын
Now I want to trip while installing Arch... Thanks for the horrible idea
@balla2172
5 жыл бұрын
How did you get your terminal to look like that it's very nice
@ithraldharzul6887
5 жыл бұрын
@@eddmnd8595 Because we are to lazy to wait for compilation to finish. Seriously, making a coffee while waiting for Firefox, Signal, and KDE/Gnome to compile is all well and good, but by the time it is all done you have already consumed a pot, not just made a cup. Give me the binaries unless I really need to eek out that single digit % performance increase.
„LSD adds neat colors“ nice xd
Nice!!! Just put LSD into my tool bag.
Niiiice, always bringing us good info, thank you dt.
This is good looking. Had to get it and must say, it is at least someways better than basic ls. Thanks.
Cool command thanks for showing us that .
The icons are great, thanks
Love the --tree option but I find using --depth with it is useful if you want to only look a few folders ahead or else it lists everything. I set up an alias lstree = 'lsd -a --tree --depth 2' for a nice tree view of current directory and the next tier of directories. Thanks Derek for making a video on this program
Looks cool, but the reason the "-h" flag in "ls" is behind a flag is because it's easier to parse numbers instead of human readable strings when you are working with scripts. So, great for the end user but not a replacement for ls.
@llothar68
5 жыл бұрын
As an interactive replacement it lacks a lot because the developer didn't want to be 100% into that. Wasted opportunity.
@Waitwhat469
4 жыл бұрын
The opposite seems like it would make sense, rather assume it's a user, and for scripting allow for easier formatting flags. It looks like it has a '--size ' option :)
Looks very cool.
I'm sorry but my parents always taught me to stay away from drugs.
@VanStabHolme
4 жыл бұрын
Then you should stop using linux
@75dhib
3 жыл бұрын
unixporn is not safe too
Lsd... Yeaah... I never forget hoffman 2000 trip ;P sry 4 offtop :) ehh those memories.. Thx 4 video. Nice done. Up & sub
love this
Sweet thanks.
pretty cool thanks
Pretty neat!!!
love you and your chanel! can you tell me what colorscheme that is on your powerline?
this video was a trip 😏
I was using 'exa', but 'lsd' seems to have better icon support, but dude, about 'cd' and 'ls' being the most commonly used commands, you have to take a look at fzf (if you haven't already). It's the best productivity boost I had in a long time, its a fuzzy finder for file/directory and you usually set a bash/zash keybinding to invoke it, and set 'lsd' or 'exa' to show on the 'preview' area (also, 'bat' to preview files is awesome). I was using ranger for some time, but I don't even need a file manager anymore, fzf is awesome and integrates perfectly with lsd
Well. I think the alias-thingy goes a bit overboard, because you will probably want to use the non-unicode variant for piping stuff into other programs. Still, lsd as more user-oriented fronted seems great!
Nice video! thanx for presenting this tool :) I was wondering how you can get the unicode icons? is there a font package to install?
@Speleon100
5 жыл бұрын
Ok i should have search better : just need to install nerd-fonts
Do you have a link to your PS1? Thanks for the vid, I didn't know about the LSD command.
Nice...!!!
Thanks for showing this great tool, but i got the problem that the unicode icons are very smal. Do you (or someone) know this issue?
Linux in the Sky with Diamonds
I sometimes disable all colors in Putty, I find too many colors drawing unnecessary attention - Lucy in the Sky with Diamonds
How is that terminal called? it looks kinda nice. with the arrows etc
Hey! How do I get the terminal layout which you're using? I found that pretty interesting....
@DistroTube
5 жыл бұрын
I'm using zsh with the powerlevel9k theme.
Unfortunately icons are bugged on Konsole.
My terminal font ("Hack") doesn't seem to support these Unicode characters.
Should I switch to FreeLSD now?
Nice! Sadly my terminal emulator konsole does not support the unicode icons..
Thanks, now my pc will be tripping balls!
ls does have the -F option too.
There is even a typo in the help page.. "An ls comment" :D On a more serious note: This tool cannot be considered a "next-get ls" since it doesn't even do half of what ls can do. I mean where is e.g. sorting by other attributes than name and modification time?
@user-ux2kk5vp7m
3 жыл бұрын
1 year late, but its not a typo as its pronounced "An "el es" comment"
how can you have the icons so big compare to the text? my icons of folder,.. are so small
Hey guys, this is Derek, my new acid plug.
A good alternative to ls is a proper file manager instead of a barren scrolling console ;)
Can I get LSD on npm? (Node package manager) Can I get it on Git bash?
Do you have a peertube and/or a mediagoblin account?
You should try exa as well.
In the current GIT version, it can be customized with themes.
Hey, what font do I need for the symbols to render?
@DistroTube
5 жыл бұрын
I use the Nerd Fonts.
Telling someone you really like this software will be quite dodgy....Unless you are already talking about Linux stuff. "BTW, I really like LSD"
Unfortunately it does not show colors and icons so beautifully on Debian terminal.
@szhzs6121
5 жыл бұрын
try muhsrooms
you can press ctrl + L (no caps) on terminal to clear it
@fuseteam
5 жыл бұрын
ooh thanks sakura
Question for the folks on here.... I have put LSD into my tool bag and I love it. But if you pipe output to LESS, you lose color. I've tried LESS with the "-r" option and issued "--color always" on LSD. Best I can get is the ANSI codes listed in LESS. Any suggestions? Is there a newer replacement for LESS?
@betafaccion2289
5 жыл бұрын
replacement for LESS: 'bat' also, can you confirm its outputting colors on pipe? try 'lsd --color always | cat -A' and see if it have ansi codes, if not maybe try '--color=always' (note the '=' syntax)
@jonspoonamore3721
5 жыл бұрын
@@betafaccion2289 Thanks for the reply. I've tried all that. It's a no go. The ANSI codes do list. That's the best I can get it to do. I'm currently on the look-out for a good Less replacement. I'll give "BAT" a try. I have found "MOST" so far. And I like it way better than "LESS". But, still no color.
@betafaccion2289
5 жыл бұрын
@@jonspoonamore3721 'bat' is one of the tools in what is becoming an informal 'modern unix standard tools', together with other reimaginations et reimplementations of old posix tools, mostly reimplemented in rust (giving better performance and better user and dev experience than the old ones in C), but keeping the common unix traditions and patterns. I listed some of the others tools in another comment here, I highly recommend all of those, as it does seem to be happening a convergence on them (check their stats on github and alike, the user count and the stability they are reaching is above of some passing novelty)
LSD on Linux is great and all... But have you ever had Linux on LSD?
@dragonboyjazz
5 жыл бұрын
yes i have tried arch linux 😈
@pugpugpugs5382
5 жыл бұрын
@@dragonboyjazz did you enjoy your superiority?
@deathfromthekrypt
5 жыл бұрын
wish i could screenshot all the rainbows that come out from my polybar while tripping
Is there a command which continuously runs ls and cd until you press ctrl-c?
@doktork3406
5 жыл бұрын
just make a sh scrips that continuously does LS and CLEAR this should do exactly what you want and it works on any linux too
LSD on linux with unimatrix and a good playlist ain't bad either ;)
I am running ubuntu DESKTOP 18.04 LTS and used the snap syntax.. After it installed.. this is what i get...
exa and colorls are more popular than lsd. What's the difference lsd and the other two?
Is there a dnf for fedora usser pls ?
the icons do not show in openbox
How does it compare to exa?
I thought you could already set up colors with LS_COLORS for regular ls ? Depending on file type etc Maybe i was wrong ?
damn i just got some LSD it's so cool seeing so many colors now ;)
How did you get your terminal to look that way
@m3hdim3hdi
5 жыл бұрын
i want to know too
@MrScafir
5 жыл бұрын
@@m3hdim3hdi Looks like a theme from oh-my-zsh: github.com/robbyrussell/oh-my-zsh Oh-my-zsh is a framework for zsh (bash equivalent)
@m3hdim3hdi
5 жыл бұрын
@@MrScafir thanks bro
@arpitbharti6245
5 жыл бұрын
Powerlevel 10k
“ls” is all you need.
Isn't LSD just a command line, shell based file manager like vifm or ranger?
@DistroTube
5 жыл бұрын
LSD isn't a file manager. All it does is list contents of a directory. Vifm, ranger, mc, etc are proper file managers that let you navigate the directory structure, copy, delete, move, edit, and all the other stuff you would expect a file manager to handle.
@SimGunther
5 жыл бұрын
No, it's an 'ls' replacement with unicode characters next to the file name and the ability to view file trees with branches. Not sure if I'd use it considering how it doesn't change too much from ls, but I'm sure others would find it useful :)
@GabeGinorio
5 жыл бұрын
I bet you could build a file manager based on LSD.
@SimGunther
5 жыл бұрын
@Learn Linux There's also the 'tree' command, which is built into most distros.
I like this a lot! PS, it also works on macOS via HomeBrew :)
Anyone experiencing this error: "cannot access '.': Permission denied (os error 13)", I installed lsd from snap on Ubuntu.
@DamjanDimitrioski
5 жыл бұрын
I found the issue already posted on Github, the solution was: sudo snap install lsd --devmode, now it works.
I am going to try this. Please dont call the police.
I thought I read Linus on LSD. Damn.
@DistroTube
5 жыл бұрын
Would explain a few things.
Well, I'm gonna look at linux on lsd.
Just installed this on macOS. Schweet!
Hey bro, how you install it on «Windows» tried 100 times but nothing? ʅ_(ツ)_ʃ I have WSL > Ubuntu 20.04
Just installed it on my Manjaro Budgie, but unfortunally not working well. Desktop Downloads Music Public Videos Documents Dropbox Pictures Templates The icons are not showing correctly.
@AlgentAlbrahimi
5 жыл бұрын
Installed nerd-fonts-termius, and now is working fine.
@penguin1714
5 жыл бұрын
@@AlgentAlbrahimi Can I ask how you installed these? On debian and I can't find a way to install it there.
@AlgentAlbrahimi
5 жыл бұрын
@@penguin1714You mean the fonts?
Don't typ e `clear`! Ctrl+L is your friend!
@VanStabHolme
4 жыл бұрын
I have tmux-vim-navigator so tmux simply assumes I want to go to the right pane, so I made that zsh types for me whenever I press :P
@NabekenProG87
4 жыл бұрын
Thx, I didn't know how much I needed this
@katech6020
3 жыл бұрын
The difference is that "clear" clears all terminal output, Ctrl+L just scrolls to place your prompt on top.
Someone can tell me what terminal is he using ? Like, lsd is pretty good but this terminal, wtf is that, so amazing!
@DistroTube
5 жыл бұрын
st. You can find my configs on GitLab: gitlab.com/dwt1/dotfiles
Compiz (original) was like given your machine LSD
So, now we have Weboob and LSD...all we need is an "acdc" command, and Linux would have sex, drugs, and rock and roll!
interesting ... lsd --tree is very much like the tree command for windows cmd
@KiteAnton
5 жыл бұрын
There is a tree package in Linux that does this as well, outputs similar to what shown in the video here with lsd --tree
I tried lsd and exa but I'll stay with ls with ls_colors for now.
I also recommend "exa"! It's awesome too
Lucy likes to spread her synesthetic love.
That is cool, but the icons aren't displayed properly in Ubuntu!
@DistroTube
5 жыл бұрын
You need to install a font that can display those characters. The Nerd Fonts are a good choice.
LSD on linux or linux on LSD?
Yeah.. LSD Linux and watch on them " Las Vegas Parano", "Trainspotting", "Requiem 4 a dream", "π", "Memento", "Natural Born Killers" ,"Pulp Fiction" :))) yeaaa...
Also check out "exa"
@DistroTube
5 жыл бұрын
Will check it out. Thanks.
@MartinsTalbergs
5 жыл бұрын
yeah I used that - it didnt give glyphicons thou. Thanks for sharing lsd! Will use that now.
@betafaccion2289
5 жыл бұрын
@@MartinsTalbergs there is an open PR I'm using, maybe It will be accepted soon. But lsd does seem to be better on this, besides being out-of-the-box
on lsd v0.16.0 the -h option doesn't seem to work anymore and you have to use --help instead The tree command is really nice. However, I wish the feature could be added where you can specify a maximum depth level that gets displayed with -L, like the regular tree command has.
dennis@T7500:~$ lsd cannot access '.': Permission denied (os error 13) dennis@T7500:~$ sudo lsd cannot access '.': Permission denied (os error 13 above after snap install.
@ScottMorgan88
5 жыл бұрын
Yes, me too on Ubuntu 18.04 :(
Somehow youtube decided to unsubscribe me from the notifications :(
Checkout "bat", a awesome "cat" alternative
@s.i.m.c.a
5 жыл бұрын
checkout windows, nice linux alternative xD
So basically this makes console look like gui with icons.
What manjaro flavors is it?
@DistroTube
5 жыл бұрын
Started life as Manjaro i3. Now with xmonad.
@tungkirezaprasakti9511
5 жыл бұрын
@@DistroTube why though? is it better than i3?
@DistroTube
5 жыл бұрын
Better? That's subjective. But for me, yes, I very much prefer xmonad to i3. But again, this is personal opinion.
I just came here to say that I prefer Linux *on* LSD. I'll show myself out...
@DistroTube
5 жыл бұрын
:D
Linux gets misued. Traditionality is the keyword.
lsd colorizes things
lds -FaRt
ASTER ISK
I get my LSD from Mitch
I made a new program (a wrapper for package managers, by default, apt): gitlab.com/moussaelianarsen/pak Licensed under GPLv3, written in Swift. The package manager can be changed from the config file. *Pacman requires a plugin I have not publicized yet because of its flag syntax.* If you need a plugin, just make a bash script translating apt syntax to pacman (e.g install runs pacman -S). If you want me to make it, msg me.
@ArsenGaming
5 жыл бұрын
I have added pacman, snap, and brew plugins to the page
The icons are bugged on iTerm on Mac :/
?HUH? why not use ls --color=auto, put that into an alias for ls done. Up the level!
@adlsfreund
5 жыл бұрын
That doesn't get you that slick subdirectory indenting though.
@MrHatoi
5 жыл бұрын
There's a lot more than the colors in lsd...
"He was part of the free speech movement back in the 60s, personally between the two of us he did too much LDS." -- James T. Kirk
lsd = ls + flare
unicode ...