小编典典

可以使用C更改屏幕亮度吗?

linux

在Linux中使用C,是否可以更改查看屏幕的亮度?除了在我安装的Ubuntu和Fedora上运行之外,这不是便携式的。我在问我如何与OS交互以更改亮度。


阅读 328

收藏
2020-06-07

共1个答案

小编典典

首先,请从以下列表中选择ubuntu pacakges,该工具可让您管理屏幕的亮度(提示:这取决于品牌)

nvidia-settings - Tool of configuring the NVIDIA graphics driver
smartdimmer - Change LCD brightness on Geforce cards
armada-backlight - adjust backlight of Compaq Armada laptops (E300, M500, M700)
ddccontrol - a program to control monitor parameters
eeepc-acpi-scripts - Scripts to support suspend and hotkeys on the Asus Eee PC laptop
fnfxd - ACPI and hotkey daemon for Toshiba laptops
gddccontrol - a program to control monitor parameters
spicctrl - Sony Vaio controller program to set LCD backlight brightness
tpb - program to use the IBM ThinkPad(tm) special keys
xfce4-power-manager - power manager for Xfce desktop
xfce4-power-manager-plugins - power manager plugins for Xfce panel
xvattr - Utility to change Xv attributes

选择之后,

sudo apt-get build-dep <pkgname>
apt-get source --compile <pkgname>

应该让您走上正确的路

2020-06-07