LinuxCNC HAL #1(b): Using Linux efficiently

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • Upshot: I cover a bunch of bits that I find make work on Linux a whole lot faster.
    Topic index:
    00:00 - Intro, what's LinuxCNC based off, what makes it special, security notes
    04:30 - basic commandline tools, shortcuts, command history, make your life easier
    10:16 - find shit fast, grep, manpages, locate
    15:08 - kicking off GUI programs from the command line
    17:24 - installing extra software, sudo
    22:00 - git basics, github, gitk, keep track of your shit
    25:46 - symlinks so you can keep your shit where you want it
    28:22 - git example from scratch
    34:05 - git for backups
    36:59 - wrap-up
    As I put up more snippets about configuring and using Linux better, they'll go here: github.com/swolebro/swolebro-...
    Here's the full plasma build series:
    • CNC Plasma Build (Full)
    Just the LinuxCNC stuff:
    • LinuxCNC Guides
    Help me make more cool shit:
    paypal.me/swolebroshopworks
  • НаукаНаука

Комментарии • 24

  • @Eadsn
    @Eadsn 2 года назад +1

    Really good and interesting video. I have watched alot of youtube tutorials on Linux, but most of them were just repeating basic concepts and few had new information. You managed to skim over basic Linux commands, updates, editors, and even git in under 40 minutes. Really impressive, thank you for talking your time to make thease videos.

  • @DanielWood
    @DanielWood 4 года назад

    Another great video! I'm enjoying watching these. Really nice presentation and good audio!

    • @swolebro
      @swolebro  4 года назад

      Thank you! I'm not gonna lie, these videos were an absolute PITA to organize and shoot, but the more people they help, the more it makes the effort worth it!

  • @christiantreldal1585
    @christiantreldal1585 4 года назад

    Thanks for an excellent series about LinuxCNC. You are a very good teacher and gives a lot of inspiration, even though I haven't any plans for a lasercutter. Even though i've been using Linux since it came on floppies, l learnt a few tricks by watching this video.

  • @johnharding9936
    @johnharding9936 3 года назад

    I learn linuxcnc every 3 or 4 years when I build a cnc and then forget it all in between as it's so solid once it's set how you want it to work. These videos have been very well put together, thanks for putting them up. Great info

  • @goethe528
    @goethe528 3 года назад

    even as a regular linux user I learned something new in this video - great Introduction!

  • @nathans.509
    @nathans.509 4 года назад

    Brilliant video and instructor! Not limited to LinuxCNC!

  • @HandsonCNC
    @HandsonCNC 4 года назад

    There is an old developer saying... "If you find a problem that you need to use RegEx to solve, congradulations you now have two problems" ;-). Good stuff..

  • @GregsGarage
    @GregsGarage 4 года назад

    I've run through this and the other vids in this series a handful of times now... Still catching little things that I've missed. I'm starting to understand where things are and what I need to do to make them MINE! Fingers crossed, I should have some nice hacks working soon. Thanks again for the detail and the info.

  • @peterjansen4894
    @peterjansen4894 4 года назад +4

    Best advice ever: "do not watch Russian porn on your LinuxCNC machine". Wish I knew that earlier.

    • @tokarka8258
      @tokarka8258 2 года назад

      as russian speaker i must admit that all russian cnc community advicing not to watch russian porn at all)))

  • @madoxen3770
    @madoxen3770 Год назад

    thank you so much for such a good linuxcnc tutorial guide I have learnt alot and you put things in a way i can understand thank you, will you ever be making some more tutorials with current linuxcnc or any other parts of linuxcnc?

    • @swolebro
      @swolebro  Год назад

      I'd like to, but life has been on hard mode for the past few years. Haven't had a real shop since I moved in 2021, and I'm likely moving again this year and possibly changing careers.
      I guess you can subscribe and stay tuned! Hahahah.

  • @fredfreund2096
    @fredfreund2096 4 года назад

    Thx for your time & great video! Gedit sometimes alters the code with hidden chars... The editor nano is also easier than vim...

    • @swolebro
      @swolebro  4 года назад

      Yup, for commandline editing, nano is the most straightforward one out there.
      If you're copying files over from Windows, you're probably hitting the "carriage return/line feed" debacle. Back when your terminal was literally a typewriter printing out paper, some systems did a new line with CR+LF (now the Windows standard), some used CR-only (old Mac standard), and some used LF-only (new Macs, all Linux). Editors handle this differently, so when moving files around, you might see those extra CR's rendered either as ^M's or
      's, or maybe not at all.
      stackoverflow.com/questions/800030/remove-carriage-return-in-unix
      The example bit there with "od -c" lets you check for extraneous
      's in your file. Of course, the "dos2unix" command he shows isn't available on old-ass Debian 7, but the solution with "sed" is. There are various workarounds to keep those CR's from creeping back in, but the most straightforward is to just do the work on the Linux machine.

    • @swolebro
      @swolebro  4 года назад

      You don't necessarily need to be in the shop to be working "on the Linux machine" either. An SSH (command line) remote session works, as does VNC, which gives you a full-blown remote desktop.
      I regularly use VNC server (vino) to access my LinuxCNC box. If you've noticed the little laptop shown in some of my videos - that's not the CNC. All it's doing is running a VNC client (remmina) to connect to the Dell Optiplex 980 sitting under the plasma table. Means I don't need to have extra keyboards and monitors in the shop.
      I'll put a bit about setting that up in the GitHub project, but later. I want to knock out the rest of this series first.

    • @fredfreund2096
      @fredfreund2096 4 года назад

      Anydesk I heard should be good for remote desktop sessions... I saw it in action but didn't use it... I got to test it!
      I also started to build a cnc table, your videos about linuxcnc are way over my knowledge.... But that's my aim!to get that knowledgeable...

    • @swolebro
      @swolebro  4 года назад

      That's exactly why I'm making the videos, to help other people figure it out.
      I took a quick look at Anydesk, and I'm just gonna say, I'm generally skeptical of any closed-source commercial software running on Linux. Most companies just don't do it right, especially since there are so many varieties of Linux, each with their own quirks. If you can't install it via the system's package manager, it probably isn't worth installing.
      Lemme see if I can get off my ass this weekend and document how the Vino/Remmina pair works. Just need to squeeze that in with all the video editing in my backlog.

    • @swolebro
      @swolebro  4 года назад +1

      @@fredfreund2096 FYI, I went and did the write-up on using Vino as a VNC server. (It's only been on the to-do list for about a year. Hah.)
      github.com/swolebro/swolebro-youtube/tree/master/linuxcnc/misc
      It's got some steps to it, but at least that means it can be broken down into steps.

  • @shawneliason790
    @shawneliason790 3 года назад

    didnt read your user name until seeing in the command line.. ha.. swolEbro. funny

    • @swolebro
      @swolebro  3 года назад +1

      Honestly, it's less accurate now than it was a few years ago. Getting older, doing a lot more cardio, etc. But I'm keeping it. And the logo. (It's not mac n' cheese.)
      I still have people mistake me as several years younger than I am, but I'm not sure if that's because I've kept in shape, or because I'm that immature. Hahah.

    • @shawneliason790
      @shawneliason790 3 года назад

      @@swolebro I would love to reverse engineer my commandcnc system, Ive cloned the org hdd and installed an ssd then mounted the original to a pc running Mint where i can read and write to it.