Slock Is A Simple X Display Locker

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 89

  • @dmsalomon
    @dmsalomon 4 ปีที่แล้ว +113

    You should probably set user=nobody and group=nobody, so that the display locker has no privileges for better security. The only reason that it doesn't work initially is because Arch calls the no-privilege group nobody, and not nogroup.

    • @DistroTube
      @DistroTube  4 ปีที่แล้ว +29

      Thanks for sharing.

  • @poms3559
    @poms3559 4 ปีที่แล้ว +10

    I'm an old school type user for a long time, I prefer xscreensaver it's perfect and simple.

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 4 ปีที่แล้ว +1

    Thank you, Derek. Nice, simple.

  • @TheChemicalBassist
    @TheChemicalBassist 4 ปีที่แล้ว

    I've been tweaking my debian openbox install and I was actually looking for something like this. Thanks!

  • @lonniebest4697
    @lonniebest4697 2 ปีที่แล้ว

    On debian 11, there was no configuration required and it works great. I really like slock's defaults; it is so simple an nice and it sucks less than others.

  • @awabqureshi814
    @awabqureshi814 4 ปีที่แล้ว +16

    You reading my mind?
    I was just thinking how I desperately needed a screen locker

    • @luxxa
      @luxxa 4 ปีที่แล้ว +1

      Yeah, i3-lock sucks a lot in terms of customization.

    • @lavishjaat
      @lavishjaat 4 ปีที่แล้ว +1

      What is a screen locker?

  • @thalesofthewell
    @thalesofthewell 4 ปีที่แล้ว +24

    Congratulations, you just installed the Blue Screen of Death

    • @krozareq
      @krozareq 4 ปีที่แล้ว

      sed 's/INPUT\] =.*\/\*/INPUT] = \"#FF00FF\", \/*/' config.h && sudo make clean install
      Now it's the magenta screen of death. Down with anything Windows :D

  • @gonzafernan
    @gonzafernan 4 ปีที่แล้ว +2

    I installed it like two months ago. It's great!

  • @henninb
    @henninb 4 ปีที่แล้ว +3

    I wonder if this would this software work with a fingerprint reader?

  • @XorAlex
    @XorAlex 4 ปีที่แล้ว

    I use slock. It works great for minimal desktop environments that do not provide any screen locking functionality. It is elegant in it's simplicity.

  • @SageManeja
    @SageManeja 2 ปีที่แล้ว

    can slock have some sort of GUI ? I get really scared locked without a UI

  • @BurgerKingHarkinian
    @BurgerKingHarkinian 4 ปีที่แล้ว +1

    I haven't watched the video yet but I love that thumbnail!

  • @ImARichard
    @ImARichard 4 ปีที่แล้ว +17

    Its always interesting to see things like this. I would never want to use it, but interesting to see nonetheless. Clearly the suckless teams definition of suck, is very different from mine 😂

    • @mudskipper3234
      @mudskipper3234 4 ปีที่แล้ว +5

      Why wouldn't you want to use it? Seems pretty solid to me.

    • @ImARichard
      @ImARichard 4 ปีที่แล้ว +5

      @@mudskipper3234 I just tend to lean more towards modern polished GUI's over minimalist programs like this. The amount of resources saved or lack of bloat usually isn't significant enough for me to care.
      Definitely not saying there's anything wrong with it, just not my cup of tea.

    • @mudskipper3234
      @mudskipper3234 4 ปีที่แล้ว +4

      @@ImARichard Perfectly fine. I'm not an extremist when it comes to keeping things bloat free, but this is so simple and elegant, I personally really like the simplicity.

    • @mudskipper3234
      @mudskipper3234 4 ปีที่แล้ว

      @Username you seem like an insufferable person. Can't you just respectfully agree that we have different tastes instead of calling it autistic? I don't get the point of getting so worked up about this, It's my screen lock, why does it matter?

    • @luimu
      @luimu 4 ปีที่แล้ว

      @Username Nice one, never heard that before.

  • @Andrath
    @Andrath 4 ปีที่แล้ว +6

    For autolocking, xss-lock is better.

  • @urugulu1656
    @urugulu1656 4 ปีที่แล้ว +1

    well this for some reason reminds me somewhat of i3lock but this is even a little bit more minimal

  • @zeocamo
    @zeocamo 4 ปีที่แล้ว

    what 3:10 cap lock is bound to esc on a right vim setup so that patch is useless :)

  • @marioschroers7318
    @marioschroers7318 4 ปีที่แล้ว +1

    This is cool 🙂 I'm finally getting into the suckless stuff. Been thinking about how to use a full screen terminal with unimatrix running. That one patch you mentioned could make it possible, I assume. Will look into it.

  • @rharrington8669
    @rharrington8669 4 ปีที่แล้ว

    I'm looking to build a slock fork that blurs a screenshot with ImageMagick. Can't really understand the documentation though

  • @kurnma3776
    @kurnma3776 4 ปีที่แล้ว +1

    I use i3lock, and it is pretty simple

  •  4 ปีที่แล้ว

    How come your bash looks that nice? What utility are you using?

    • @DistroTube
      @DistroTube  4 ปีที่แล้ว

      It's called fish. ;)

  • @skylinefx049
    @skylinefx049 2 ปีที่แล้ว

    I get

  • @BryanJenks
    @BryanJenks 4 ปีที่แล้ว +1

    Hey DT i was messing around with the slock files, and im trying to display some unicode characters through the message patch but i cant find a font that displays them correctly. i did slock -f and tried a few and nothing seems to work, are any of those fonts utf-8?

    • @dameck9570
      @dameck9570 4 ปีที่แล้ว +2

      the message patch utilizes X-fonts and no opentype fonts. I did not find any unicode fonts therefore

    • @BryanJenks
      @BryanJenks 4 ปีที่แล้ว +1

      @@dameck9570 sad day :/

  • @sheikhshakilakhtar6844
    @sheikhshakilakhtar6844 4 ปีที่แล้ว +1

    Thanks a lock DT for making this video. I had no idea about that font size variable and tried with random numbers but nothing worked. However, there is one patch which I tried to use multiple times but it gave me errors at each try and it was the mediakeys patch (tools.suckless.org/slock/patches/mediakeys/). Please look into this.
    Once again, thanks.

  • @DeshierArchitecte
    @DeshierArchitecte 4 ปีที่แล้ว

    Every video showcasing Suckless software should always have the subtitle: that you have to compile and patch yourself in order to make it usable!

  • @user-oj3gb8nh2q
    @user-oj3gb8nh2q 4 ปีที่แล้ว +1

    Fucking amazing video, once again. Thanks, Derek.

  • @ricardorien
    @ricardorien 3 ปีที่แล้ว

    Nice! Can you do a review of PeppermintOS? Grat distro for low-spects Pc's. Its a life saver here in latin america.

  • @JDStone20
    @JDStone20 4 ปีที่แล้ว +1

    DT, have you seen scroll from suckless?

    • @KSPAtlas
      @KSPAtlas 3 ปีที่แล้ว +1

      Its not really interesting, just a program for scrolling

    • @JDStone20
      @JDStone20 3 ปีที่แล้ว

      @@KSPAtlas Right, but ST didn't have a scroll feature natively without a patch

  • @nevoyu
    @nevoyu 3 ปีที่แล้ว

    You know the input lock seems pretty good for a media console.

  • @nalinredteeth100
    @nalinredteeth100 4 ปีที่แล้ว

    I've got this error on my Fedora 32 :
    No protocol specified
    slock: cannot open display
    Anyone else as it ? Anyone know how to solve it ? I can't find docs on it

    • @KSPAtlas
      @KSPAtlas 3 ปีที่แล้ว

      Are you running Wayland?

    • @nalinredteeth100
      @nalinredteeth100 3 ปีที่แล้ว

      @@KSPAtlas not using Fedora anymore but thank you

  • @TheJohnniePlays
    @TheJohnniePlays 4 ปีที่แล้ว

    whats the point of this program?

  • @krisdoe
    @krisdoe 4 ปีที่แล้ว +1

    I use XSecureLock but after this video I am starting to think that slocker might be faster.

  • @webbonyoutube
    @webbonyoutube 4 ปีที่แล้ว +3

    Five minute gang

  • @SkyFly19853
    @SkyFly19853 4 ปีที่แล้ว

    Suckless!?
    I thought it was a way to explain...
    😏

  • @axipont8383
    @axipont8383 4 ปีที่แล้ว +1

    I was just thinking about lockscreens.

    • @axipont8383
      @axipont8383 4 ปีที่แล้ว

      I prefer electric sheep, though.

  • @الإسلامنتن
    @الإسلامنتن 3 ปีที่แล้ว

    TH-cam please stop spying on me

  • @PenguinRevolution
    @PenguinRevolution 4 ปีที่แล้ว +3

    I noticed you were using VIM, you should change to Atom. Atom is the best text editor.

    • @gaonkarprajwal
      @gaonkarprajwal 4 ปีที่แล้ว +7

      Is this a troll?

    • @PenguinRevolution
      @PenguinRevolution 4 ปีที่แล้ว

      @@gaonkarprajwal what do you think?

    • @PenguinRevolution
      @PenguinRevolution 4 ปีที่แล้ว

      @@gaonkarprajwal but when I troll I troll with the truth!

  • @AtomToast
    @AtomToast 4 ปีที่แล้ว +1

    Weird, I always called it s-lock

  • @UndefinedVoid
    @UndefinedVoid 4 ปีที่แล้ว

    Xsslock is better and works fine with laptop lids.

  • @thenextpoetician6328
    @thenextpoetician6328 4 ปีที่แล้ว +1

    DT does not mean dummy techie, but it could. lol

  • @negritolindo8838
    @negritolindo8838 4 ปีที่แล้ว +5

    bloated, I just unplug my monitor and take it with my

  • @fuseteam
    @fuseteam 4 ปีที่แล้ว +1

    s-lock :p

    • @DistroTube
      @DistroTube  4 ปีที่แล้ว +9

      Adding an extra syllable is bloat.

    • @fuseteam
      @fuseteam 4 ปีที่แล้ว +1

      @@DistroTube s-ure s-ure xD

    • @zvezdan956
      @zvezdan956 3 ปีที่แล้ว

      @@DistroTube thats why gnu should be pronounced "nooh" not "ganooh"

    • @theodiscusgaming3909
      @theodiscusgaming3909 3 ปีที่แล้ว

      @@zvezdan956 just say /gnu/, why add /a/ in the middle?

  •  4 ปีที่แล้ว

    or you can press win + L

  • @gogogogogogogogogogog9
    @gogogogogogogogogogog9 4 ปีที่แล้ว +5

    that's bloat
    if u want to lock ur pc just logout by killing wm

  • @tylerdean980
    @tylerdean980 3 ปีที่แล้ว

    If you don't use asciiquarium-lock don't talk to me

  • @Zoltar358
    @Zoltar358 4 ปีที่แล้ว +1

    First? Can't believe that... :D

    • @DistroTube
      @DistroTube  4 ปีที่แล้ว +2

      I can't believe it either.

    • @usrname1105
      @usrname1105 4 ปีที่แล้ว

      Crap

    • @kalyansriram6114
      @kalyansriram6114 4 ปีที่แล้ว

      gg

    • @AlucardNoir
      @AlucardNoir 4 ปีที่แล้ว +2

      You're not, it's just youtube playing with the view count.
      EDIT: At least a few times last year I was the "technically" first person to see a video, only to see the number of likes higher then one. 1 person saw this, but 10 likes it? sure thing TH-cam, sure thing.

    • @Zoltar358
      @Zoltar358 4 ปีที่แล้ว +1

      @@AlucardNoir Admit it. You're just green with envy :P

  • @piotrtalarczyk8987
    @piotrtalarczyk8987 4 ปีที่แล้ว

    I used it for some time, but it's too minimal. Now i use: betterscreenlock. User of slock should be nobody with its group.

  • @Jordan4Ibanez
    @Jordan4Ibanez 4 ปีที่แล้ว +5

    Why does this seem excessively over-complicated?

    • @Randomizer92mx
      @Randomizer92mx 4 ปีที่แล้ว +3

      Because it's the "suckless way" of doing things.

    • @dorukayhanwastaken
      @dorukayhanwastaken 3 ปีที่แล้ว

      Because:
      1) it's Suckless, so you have to do a lot of things yourself. SL devs intentionally make users do certain things themselves (e.g. configuring their apps by mucking with header constants and recompiling) to "keep the userbase small and elitist" (and easy to deal and reason with).
      2) locking the screen properly on Linux is overcomplicated in general because the kernel and X have several debugging and error recovery "features" (e.g. Alt+SysRq) that only serve as backdoors in practice
      3) mainstream DEs make it even more overcomplicated by trying (and failing apparently) to make their own screen lockers instead of just using XScreensaver, which could very well be considered to suck less per Suckless's definition as of version 6.00

  • @usrname1105
    @usrname1105 4 ปีที่แล้ว +4

    NoT FiRsT :(

  • @skapator
    @skapator 4 ปีที่แล้ว +1

    Should be: Suckless, software that sucks in a different way than others.

  • @aer0449
    @aer0449 3 ปีที่แล้ว

    My strong and complicated password is **

  • @krozareq
    @krozareq 4 ปีที่แล้ว +1

    "It would be frustrating if you had your caps key on"
    Bruh... "setxkbmap -option caps:none"
    Then rebind it to open a launcher such as dmenu or rofi. You're welcome.

  • @bubblineyuri
    @bubblineyuri 4 ปีที่แล้ว

    Reasons I barely watch your channel (but still support you on Patreon): you're being a meme for months now (with making videos exclusively about i3, Arch, suckless and the sorts) and I barely see anything informational on my part or what you'd think about certain types of distributions or software. Making a livestream with Luke Smith kind of threw me off. No hate, but I want the old DT back :/

  • @joaopauloalbq
    @joaopauloalbq 4 ปีที่แล้ว

    Looks really sucks :D