可以改变屏幕亮度与C? [英] Possible to change screen brightness with c?

查看:144
本文介绍了可以改变屏幕亮度与C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Linux中使用C,将有可能改变观看屏幕的亮度?这不是预计会比在我的Ubuntu和Fedora的安装运行便携其他。我问我如何与操作系统交互来改变亮度。

Using c in linux, would it be possible to change the brightness of the viewing screen? This isn't expected to be portable other than running on my installs of ubuntu and fedora. I'm asking about how I would interface with the os to change the brightness.

推荐答案

我开始从Ubuntu pacakges下面的列表中,该工具允许你管理你的屏幕的亮度选择(提示:这取决于品牌)

I'd start with selecting from the following list of ubuntu pacakges, the tool that allows you to manage your screen's brightness (hint: it depends on the brand)

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

一旦你选择了它,

Once you have selected it,

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

应该让你在正确的轨道上。

should get you on the right track

这篇关于可以改变屏幕亮度与C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆