LordAmit / Brightness

Using Brightness Controller, you can control brightness of both primary and external displays in Linux. Check it out!
Other
1.06k stars 84 forks source link

How I handle on Debian 12 #249

Closed Jasdent closed 9 months ago

Jasdent commented 9 months ago
  1. sudo apt-get install python3-launchpadlib install this or launchpad source will not be deemed as a legit source
  2. sudo add-apt-repository ppa:apandada1/brightness-controller works
  3. sudo apt install brightness-controller works perfectly
archisman-panigrahi commented 9 months ago

Debian recommends that you don't add a PPA. Instead, manually download and install the .deb file from Launchpad

Jasdent commented 8 months ago

Update: I used this script on another instance of debian 12, sudo add-apt-repository ppa:apandada1/brightness-controller is no longer reliable because I got prompted with E: The repository 'https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu bookworm Release' does not have a Release file.

adding a source list file with the following content will resolve it.

# apandada1-ubuntu-brightness-controller-bookworm.list
deb https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu/ bookworm main
archisman-panigrahi commented 8 months ago

PPAs don't work in debian unless you properly add an entry to sources.list (which is not recommended by Debian developers, see https://wiki.debian.org/DontBreakDebian).

Consequently there is no version corresponding to bookworm.

Instead of adding the ppa, download the deb package from launchpad and install it.

On Sat, Mar 16, 2024, 12:11 AM zhuokuny @.***> wrote:

Update: I used this script on another instance of debian 12, sudo add-apt-repository ppa:apandada1/brightness-controller is no longer reliable because I got prompted with E: The repository ' https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu bookworm Release' does not have a Release file.

adding a source list file with the following content will resolve it.

apandada1-ubuntu-brightness-controller-bookworm.list

deb https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu/ jammy main

deb-src https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu/ bookworm main

— Reply to this email directly, view it on GitHub https://github.com/LordAmit/Brightness/issues/249#issuecomment-2001569543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXL2XEOZASQCCP5L273QWDYYPBATAVCNFSM6AAAAABCS65DQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRGU3DSNJUGM . You are receiving this because you commented.Message ID: @.***>