• 0 Posts
  • 15 Comments
Joined 3 months ago
cake
Cake day: August 11th, 2024

help-circle





  • I have used inkscape for this purpose and it can be effective. The display units can be changed in the preferences (inch, cm, etc) and basic shape dimensions input directly. You can input absolute position for shapes and nodes, but I didn’t notice an easy way for relative position. They also have a path effect called “Measure Segments” for that functionality. FWIW, I later preferred blender, but I might try a dedicated tool like LibreCAD mentioned in another comment. They seem to have decent documentation and a wiki.



  • I went a little overboard and wrote a one-liner to accurately answer this question

    history|cut -d " " -f 5|sort|uniq -c|sort -nr|head -5
    

    Note: history displays like this for me 20622 2023-02-18 16:41:23 ls I don’t know if that’s because I set HISTTIMEFORMAT='%F %T ' in .bashrc, or if it’s like that for everyone. If it’s different for you change -f 5 to target the command. Use -f 5-7 to include flags and arguments.

    My top 5 (since last install)

       2002 ls
       1296 cd
        455 hx
        427 g
        316 find
    

    g is an alias for gitui. When I include flags and arguments most of the top commands are aliases, often shortcuts to a project directory.

    Not to ramble, but after doing this I figured I should alias the longest, most-used commands (even aliasing ls to l could have saved 2002 keystrokes :P) So I wrote another one-liner to check for available single characters to alias with:

    for c in a b c d e f g h i j k l m n o p q r s t u v w x y z; do [[ ! $(command -v $c) ]] && echo $c; done
    

    In .bash_aliases I’ve added alias b='hx ${HOME}/.bash_aliases' to quickly edit aliases and alias r='source ${HOME}/.bashrc' to reload them.


  • I wanted something similar from a remote company I was working for. They were pretty good about fulfilling requests, but when I asked for a good kvm switch they said they had trouble in the past and instead recommended a usb hub that can toggle between machines. Then connect both machines to the same monitor and toggle the input. Not ideal, but low cost and functional. Might not suit your needs (would be annoying if you have to frequently toggle back and forth), but if you’re just trying to share your desk space between a work machine and personal, and the monitor input is easy to toggle, it’s worth considering.





  • I had a similar change of heart years ago, watching a docu-series on PBS and realizing I wanted more of that content in the world. Even though you can stream PBS for about $5 a month, I canceled Netflix so I could pay PBS $20 a month to start making up for all the time my money was flowing in the wrong direction.

    We’re likely to get more of the things we invest in, and less of the things we don’t. That investment includes attention in ad-driven market, not only money.

    I know I’m not the first person on lemmy to have this realization, it’s one of the many reasons I like it here.


  • I’ve had audio sync issues on kodi myself-- specifically osmc on Vero V which is optimized for playback. I tried checking my notes, because it was some time ago. Nothing definitive, but it may have been related to a random crashing issue that turned out to be a bad hdmi port-- which was the last thing I considered checking after triple checking everything else. Anyway, good luck with the troubleshooting. Audio sync issues are a pain but I can also attest yt-dlp has been solid.