ddcctl VS fd

Compare ddcctl vs fd and see what are their differences.

ddcctl

DDC monitor controls (brightness) for Mac OSX command line (by kfix)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ddcctl fd
22 172
1,807 31,668
- -
0.0 8.8
over 1 year ago 2 days ago
C Rust
GNU General Public License v3.0 only Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ddcctl

Posts with mentions or reviews of ddcctl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-15.
  • TIL there are apps that can control your monitor without touching the buttons on it
    9 projects | /r/todayilearned | 15 Apr 2023
    There are some other command line based open-source alternatives as well, like ddctl and m1ddc - the former only works on Intel, the latter on M1 Macs (M2 Pro and HDMI is not supported). Lunar has great CLI support as well for those who want a command-line based solution.
  • Let's talk: name your favorite accessories that improved your PC/desk area.
    5 projects | /r/buildapc | 18 Feb 2023
    https://github.com/kfix/ddcctl is what you are looking for! It works on my dell and asus monitors at least.
  • Mac mini m2 pro not working with dell ultrasharp u3223qe over usb
    3 projects | /r/macmini | 8 Feb 2023
    Only TB supports DDC? https://github.com/kfix/ddcctl
  • Monitor controls for Mac OS X command line
    1 project | news.ycombinator.com | 1 Feb 2023
  • The Apple TV expects you to have an iPhone in order to accept new iCloud terms and conditions
    5 projects | /r/technology | 16 Jan 2023
  • Ask HN: Best tips for reducing eyestrain while coding with astigmatism?
    3 projects | news.ycombinator.com | 19 Dec 2022
    I received the same diagnostic in 2017, which coincided with the year I got my first external monitor for my MacBook. Headaches and eye pain became a more common occurence in the first weeks, until I stumbled upon ddcctl [0] and the fact that monitor brightness can be changed from the OS.

    That's when I developed the first version of Lunar (https://lunar.fyi) to adapt brightness automatically throughout the day based on the sun position in the sky. (reading the light sensor was not possible at the time)

    That combined with Night Shift (macOS native version of f.lux) fixed most of my problems.

    I also tried blue light filter glasses but the only effect they had was removing more money from my savings. I feel like this is just modern day snake oil for computer workers.

    In the end, what fixed all of my problems was a LASIK [1] operation (well actually PRK because I had only a small abberation). I still recommend this to all my friends and relatives who are always complaining about their vision. It did change my life.

    I still cringe when someone turns on an overhead lightbulb though, I never use those in my home. Turns out this wasn't my astigmatism, it's just that most LED bulbs are simply too bright single point lights.

    I fit my home with TRADfri warm light lamps hidden behind sofa/door/desk [2], WLED-powered [3] LED strips and simple string lights (like you can see in the front page video on https://lowtechguys.com/volum/)

    [0] https://github.com/kfix/ddcctl

    [1] https://en.wikipedia.org/wiki/LASIK

    [2] https://www.ikea.com/gb/en/p/tradfri-remote-control-kit-smar...

    [3] https://kno.wled.ge/

  • Ask HN: What is the best income stream you have created till date?
    3 projects | news.ycombinator.com | 9 Dec 2022
    macOS apps which I share at https://lowtechguys.com/ bring me $7k/month on average at the moment, and it keeps growing.

    It started in 2017 when I shared the first free and open source version of Lunar (https://lunar.fyi/), an app for controlling monitors.

    At that time, there was only a command line for doing this stuff (https://github.com/kfix/ddcctl) and I wanted a more visual way of changing the brightness. So I learned Swift, learned how to bridge the ddcctl C code and call it from Swift, then made a rough interface and published it: https://www.producthunt.com/products/lunar#lunar-5

    It turned out people did have a need for this and asked if they could donate. I set up a Buy me a Coffee page and in 4 years collected about $5k in donations. That's a lot of money for a Romanian.

    When Apple Silicon appeared, Lunar didn't work anymore because the whole hardware arrangement and drivers were different, and there was no documentation on how to send I²C data. I took the plunge and quit my stressful job, bought an M1 MacBook and reverse engineered the I²C communication: https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/

    Then published Lunar 4 as a Free version with a Pro paid upgrade. I was reluctant with this, didn't think anyone would buy it, but to this day I'm able to be unemployed and put my ideas into practice because of it.

  • What are some useful cli tools that arent popular?
    23 projects | /r/commandline | 4 Jul 2022
    ddcctl - DDC monitor controls for the OSX command line
  • Dasung Macos shortcuts on M1
    2 projects | /r/eink | 2 Jul 2022
    Not really sure if ddcctl could help or is related to ddcutil, but in all case I had no chance with it.
  • HDMI Firewall
    9 projects | news.ycombinator.com | 21 Jun 2022
    No worries! The same sentiment is what keeps me enthusiastic about programming day after day :)

    So computer monitors have support for a communication protocol called Display Data Channel which is normally used by the host (Mac, PC) to get info about supported resolutions, frame rates, signal timing etc.

    On top of that, a command interface has been created called MCCS or Monitor Control Command Set [1] which allows changing brightness, volume, input and a ton of other aspects of the monitor, by sending specific bytes through the cable. That cable can be HDMI, DisplayPort, Thunderbolt, VGA, DVI. It doesn’t matter, as long as it has dedicated wires to carry the I2C signal.

    I2C is the 2-wire communication protocol used by DDC, and it basically defines things like “a pulse of 5V (volts) of x milliseconds followed by 0V of y milliseconds means the 0 bit. The 1 bit is represented by a pulse of 5V of 2x milliseconds”. It’s a bit more complex than that, also defining TCP-like features with data frames and ACK packets, but you get the idea. It’s something that both devices agree on so that they can send raw bytes using 5 volt pulses.

    I’ve created Lunar as an adaptive brightness app for macOS after finding out about a little CLI called ddcctl: https://github.com/kfix/ddcctl

    That’s where I learned how DDC packets look like, where to place the payload (brightness value between 0 and 100, input ID, etc) and how to write that to the monitor using the macOS I2C APIs.

    When Apple Silicon came out, none of that was possible anymore so I had to go looking around kernel assembly and private macOS frameworks for “the Apple Silicon way” of writing data through I2C.

    If you’re also curious how I learned that, it’s a very cool domain called “reverse engineering” and I learned it while working as a Malware Researcher at Bitdefender. A bit hard to get started, but so many gems to discover once you know how to open binaries in IDA/Hopper and look around their disassembled code.

    [1] https://milek7.pl/ddcbacklight/mccs.pdf

fd

Posts with mentions or reviews of fd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-16.
  • Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1)
    12 projects | dev.to | 16 Mar 2024
    ripgrep: A super-fast file searcher. You can install it using your system's package manager (e.g., brew install ripgrep on macOS). fd: Another blazing-fast file finder. Installation instructions can be found here: https://github.com/sharkdp/fd
  • Hyperfine: A command-line benchmarking tool
    2 projects | news.ycombinator.com | 6 Feb 2024
    hyperfine is such a great tool that it's one of the first I reach for when doing any sort of benchmarking.

    I encourage anyone who's tried hyperfine and enjoyed it to also look at sharkdp's other utilities, they're all amazing in their own right with fd[1] being the one that perhaps get the most daily use for me and has totally replaced my use of find(1).

    [1]: https://github.com/sharkdp/fd

  • Z – Jump Around
    16 projects | news.ycombinator.com | 15 Jan 2024
    You call it with `n` and get an interactive fuzzy search for your directories. If you do `n ` instead, it’ll start the find with `` already filled in (and if there’s only one match, jump to it directly). The `ls` is optional but I find that I like having the contents visible as soon as I change a directory.

    I’m also including iCloud Drive but excluding the Library directory as that is too noisy. I have a separate `nl` function which searches just inside `~/Library` for when I need it, as well as other specialised `n` functions that search inside specific places that I need a lot.

    ¹ https://github.com/sharkdp/fd

    ² https://github.com/junegunn/fzf

  • Unix as IDE: Introduction (2012)
    3 projects | news.ycombinator.com | 27 Dec 2023
    Many (most?) of them have been overhauled with success. For find there is fd[1]. There's batcat, exa (ls), ripgrep, fzf, atuin (history), delta (diff) and many more.

    Most are both backwards compatible and fresh and friendly. Your hardwon muscle memory still of good use. But there's sane flags and defaults too. It's faster, more colorful (if you wish), better integration with another (e.g. exa/eza or aware of git modifications). And, in my case, often features I never knew I needed (atuin sync!, ripgrep using gitignore).

    1 https://github.com/sharkdp/fd

  • Tell HN: My Favorite Tools
    14 projects | news.ycombinator.com | 24 Dec 2023
  • Potencializando Sua Experiência no Linux: Conheça as Ferramentas em Rust para um Desenvolvimento Eficiente
    5 projects | dev.to | 12 Dec 2023
    Descubra mais sobre o fd em: https://github.com/sharkdp/fd
  • Making Hard Things Easy
    11 projects | news.ycombinator.com | 6 Oct 2023
    AFAIK there is a find replacement with sane defaults: https://github.com/sharkdp/fd , a lot of people I know love it.

    However, I already have this in my muscle memory:

  • 🐚🦀Comandos shell reescritos em Rust
    9 projects | dev.to | 4 Oct 2023
    fd
  • Oils 0.17.0 – YSH Is Becoming Real
    6 projects | news.ycombinator.com | 11 Aug 2023
    > without zsh globs I have to remember find syntax

    My "solution" to this is using https://github.com/sharkdp/fd (even when in zsh and having glob support). I'm not sure if using a tool that's not present by default would be suitable for your use cases, but if you're considering alternate shells, I suspect you might be

  • Bfs 3.0: The Fastest Find Yet
    6 projects | news.ycombinator.com | 19 Jul 2023
    Nice to see other alternatives to find. I personally use fd (https://github.com/sharkdp/fd) a lot, as I find the UX much better. There is one thing that I think could be better, around the difference between "wanting to list all files that follow a certain pattern" and "wanting to find one or a few specific files". Technically, those are the same, but an issue I'll often run into is wanting to search something in dotfiles (for example the Go tools), use the unrestricted mode, and it'll find the few files I'm looking for, alongside hundreds of files coming from some cache/backup directory somewhere. This happens even more with rg, as it'll look through the files contents.

    I'm not sure if this is me not using the tool how I should, me not using Linux how I should, me using the wrong tool for this job, something missing from the tool or something else entirely. I wonder if other people have this similar "double usage issue", and I'm interested in ways to avoid it.

What are some alternatives?

When comparing ddcctl and fd you can also consider the following projects:

ddcutil - Control monitor settings using DDC/CI and USB

telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.

ddccontrol - DDC Control

ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore

winddcutil - Windows implementation of the ddcutil Linux program for querying and changing monitor settings, such as brightness and color levels.

fzf - :cherry_blossom: A command-line fuzzy finder

Lunar - Intelligent adaptive brightness for your external monitors

exa - A modern replacement for ‘ls’.

OSX_GVT-D - Guide to pass iGPU to MacOS KVM guest.

skim - Fuzzy Finder in rust!

display-switch - Turn a $30 USB switch into a full-featured multi-monitor KVM switch

vim-grepper - :space_invader: Helps you win at grep.