Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness.

Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness.

Scheduled Pinned Locked Moved Uncategorized
freebsd
13 Posts 7 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DoerkN Doerk

    Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness. I never felt the urge to change the brightness of my black login screen with green text, but now it's there.... Pressed F5, nothing happened but a message appeared "failed to change brightness".

    It seems that Ly tries to use brightnessctl to adjust display brightness, which is not available on FreeBSD.

    I really liked Ly because it's a simple and easy to use display manager with a minimalistic approach, but I have the feeling that more and more open source software is being developed with a focus on Linux, leaving other systems out in the cold.

    #Ly #FreeBSD

    Thomas StrömbergT This user is from outside of this forum
    Thomas StrömbergT This user is from outside of this forum
    Thomas Strömberg
    wrote last edited by
    #4

    @NebulaTide It doesn't solve the underlying ecosystem issue; but if you really wanted to use Ly - you could write a tiny shell script called brighnessctl that provided the correct compatibility backend.

    For fun, I asked Claude Code to take a stab at a script: https://gist.github.com/tstromberg/1e097edb2dbab3e8464b5908192e601d - it's overengineered AI slop - you can make a far simpler version with a single backend.

    In the long run, the community is probably better off with contributing FreeBSD support to brightnessctl, though.

    1 Reply Last reply
    0
    • DoerkN Doerk

      Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness. I never felt the urge to change the brightness of my black login screen with green text, but now it's there.... Pressed F5, nothing happened but a message appeared "failed to change brightness".

      It seems that Ly tries to use brightnessctl to adjust display brightness, which is not available on FreeBSD.

      I really liked Ly because it's a simple and easy to use display manager with a minimalistic approach, but I have the feeling that more and more open source software is being developed with a focus on Linux, leaving other systems out in the cold.

      #Ly #FreeBSD

      Baudouin FeildelA This user is from outside of this forum
      Baudouin FeildelA This user is from outside of this forum
      Baudouin Feildel
      wrote last edited by
      #5

      @NebulaTide it seems you are left in the dark in that case

      (don't look for me, I already ran away with my shame)

      1 Reply Last reply
      0
      • DoerkN Doerk

        Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness. I never felt the urge to change the brightness of my black login screen with green text, but now it's there.... Pressed F5, nothing happened but a message appeared "failed to change brightness".

        It seems that Ly tries to use brightnessctl to adjust display brightness, which is not available on FreeBSD.

        I really liked Ly because it's a simple and easy to use display manager with a minimalistic approach, but I have the feeling that more and more open source software is being developed with a focus on Linux, leaving other systems out in the cold.

        #Ly #FreeBSD

        Thomas :netbsd: :freebsd:T This user is from outside of this forum
        Thomas :netbsd: :freebsd:T This user is from outside of this forum
        Thomas :netbsd: :freebsd:
        wrote last edited by
        #6

        @NebulaTide That sort of thing has been going on since forever, and is IMO fine. As long as thé project is happy to accept and maintain portability patches.

        Ripping out support for non-Linux OSes is where things go wrong

        DoerkN 1 Reply Last reply
        0
        • DoerkN Doerk

          Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness. I never felt the urge to change the brightness of my black login screen with green text, but now it's there.... Pressed F5, nothing happened but a message appeared "failed to change brightness".

          It seems that Ly tries to use brightnessctl to adjust display brightness, which is not available on FreeBSD.

          I really liked Ly because it's a simple and easy to use display manager with a minimalistic approach, but I have the feeling that more and more open source software is being developed with a focus on Linux, leaving other systems out in the cold.

          #Ly #FreeBSD

          M This user is from outside of this forum
          M This user is from outside of this forum
          monwarez
          wrote last edited by
          #7

          @NebulaTide The config seems to suggest that it use this commands:

          # Brightness decrease command
          brightness_down_cmd = /usr/bin/backlight - 10

          # Brightness decrease key, or null to disable
          brightness_down_key = F5

          # Brightness increase command
          brightness_down_cmd = /usr/bin/backlight + 10

          Which is the correct command.

          DoerkN 1 Reply Last reply
          0
          • Thomas :netbsd: :freebsd:T Thomas :netbsd: :freebsd:

            @NebulaTide That sort of thing has been going on since forever, and is IMO fine. As long as thé project is happy to accept and maintain portability patches.

            Ripping out support for non-Linux OSes is where things go wrong

            DoerkN This user is from outside of this forum
            DoerkN This user is from outside of this forum
            Doerk
            wrote last edited by
            #8

            @tfb Unfortunately this is something that we see more and more often. Not in this case, but when it comes to desktop environments. When it becomes impossible to run a certain desktop environment on *BSD because it requires systemd, this DE is useless on BSD.

            Thomas :netbsd: :freebsd:T 1 Reply Last reply
            0
            • DoerkN Doerk

              @tfb Unfortunately this is something that we see more and more often. Not in this case, but when it comes to desktop environments. When it becomes impossible to run a certain desktop environment on *BSD because it requires systemd, this DE is useless on BSD.

              Thomas :netbsd: :freebsd:T This user is from outside of this forum
              Thomas :netbsd: :freebsd:T This user is from outside of this forum
              Thomas :netbsd: :freebsd:
              wrote last edited by
              #9

              @NebulaTide Yeah, definitely. The hostility towards portability from some corners is very upsetting; I haven't seen anything like that since trying to send Minix-compatibility patches to projects in the late 1990's. I'm quite concerned that my preferred DE isn't very kool anymore.

              I also think it's important to remember that of course most projects will have inconsequential Linux-isms in them, the same way so many had commercial unix-isms in them in the 90's. And as long as the reaction to BSD or illumos patches is "cool, thanks!" those are the good ones, and we should encourage them 😺

              Thomas :netbsd: :freebsd:T 1 Reply Last reply
              0
              • Thomas :netbsd: :freebsd:T Thomas :netbsd: :freebsd:

                @NebulaTide Yeah, definitely. The hostility towards portability from some corners is very upsetting; I haven't seen anything like that since trying to send Minix-compatibility patches to projects in the late 1990's. I'm quite concerned that my preferred DE isn't very kool anymore.

                I also think it's important to remember that of course most projects will have inconsequential Linux-isms in them, the same way so many had commercial unix-isms in them in the 90's. And as long as the reaction to BSD or illumos patches is "cool, thanks!" those are the good ones, and we should encourage them 😺

                Thomas :netbsd: :freebsd:T This user is from outside of this forum
                Thomas :netbsd: :freebsd:T This user is from outside of this forum
                Thomas :netbsd: :freebsd:
                wrote last edited by
                #10

                @NebulaTide also also, make some noise if you send them a FreeBSD patch, I'll do the same for NetBSD. The sysctl incantations are slightly different 😹

                1 Reply Last reply
                0
                • M monwarez

                  @NebulaTide The config seems to suggest that it use this commands:

                  # Brightness decrease command
                  brightness_down_cmd = /usr/bin/backlight - 10

                  # Brightness decrease key, or null to disable
                  brightness_down_key = F5

                  # Brightness increase command
                  brightness_down_cmd = /usr/bin/backlight + 10

                  Which is the correct command.

                  DoerkN This user is from outside of this forum
                  DoerkN This user is from outside of this forum
                  Doerk
                  wrote last edited by
                  #11

                  @monwarez Actually it was easy to fix and no evil intention by the developers of Ly. It seemed to be a backlight issue on my system. So in this case I was wrong, but this doesn't change the fact that development becomes more and more Linux-centric.

                  M 1 Reply Last reply
                  0
                  • DoerkN Doerk

                    @monwarez Actually it was easy to fix and no evil intention by the developers of Ly. It seemed to be a backlight issue on my system. So in this case I was wrong, but this doesn't change the fact that development becomes more and more Linux-centric.

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    monwarez
                    wrote last edited by
                    #12

                    @NebulaTide I don't think it is, they seems to care about FreeBSD by looking at the Readme, repo description and also some design choice like not forcing XDG_RUNTIME_DIR to use Linux specific path.

                    1 Reply Last reply
                    0
                    • DoerkN Doerk

                      @david_chisnall I agree. In this case, it doesn't bother me too much, but I have got the feeling that it only shows a general trend, where everything is more and more tailored towards Linux and the BSDs are ignored. We see this particularly with certain desktop environments.

                      In this case, it's easy to handle, but from a simple and lightweight display manager like Ly, I would expect that it just works and uses no OS-specific functionalities.

                      njsgN This user is from outside of this forum
                      njsgN This user is from outside of this forum
                      njsg
                      wrote last edited by
                      #13

                      @NebulaTide @david_chisnall What are BSDs doing with the non-portable XDG_CONFIG_HOME (.config/)? (Which is also backwards-incompatible, yay - funny thing that it'd all be avoidable if only subdirectories and files were required to still start with a "."?)

                      1 Reply Last reply
                      1
                      0
                      • R ActivityRelay shared this topic
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups