Kubuntu12.04 (KDE) sets the Brightness of the screen (Brightness) and TouchPad

Source: Internet
Author: User
Kubuntu12.04 (KDE) sets the Brightness of the screen (Brightness) and touchpad. These two days, Kubuntu12.04 has been installed on the Asus X43B Series notebook (ubuntu unity interface is not used, it is mainly because the user-defined functions are not very useful). it is found that many shortcut keys do not work. it may be because the shortcut key settings are different... kubuntu12.04 (KDE) sets the Brightness of the screen (Brightness) and touchpad. These two days, Kubuntu12.04 (ubuntu unity) is installed on the Asus X43B Series notebook.
Interface is really not used, mainly because the user-defined is not used), found that many shortcut keys do not work,
It may be that the shortcut key settings are different. set the TouchPad switch: I know that the default value of the Fn + F9 control touchpad is changed to Ctrl + Alt + T, and the keyboard must be started
The synaptiks tool works. I don't like to start too many programs, so I checked it online,
Find the following code and use the command line to set the TouchPad switch: [plain] #! /Bin/bash ts = 'synclient-l | grep touchpadoff' ts =$ {ts # * =} if ("$ ts" = 0 )) then synclient TouchpadOff = 1 else synclient TouchpadOff = 0 fi save the file and add the executable permission. Choose System Settings> shortcut key> custom shortcut key> right-click
Add a global shortcut key and point action to the script above. set the shortcut key in trigger,
Because Fn cannot be set, I have set the Windows key. set the screen brightness adjustment shortcut: Note: My laptop graphics card is a card HD7470M, on the internet found a catalyst 13.1beta installed. by the way, the AMD watermark will appear in the lower right corner of the screen when the beta drive is installed.
Replace the UNSIGNED line in the/etc/ati/signature file with the following characters.
Information sharing is beneficial to everyone )! [Cpp] 9777c589791007f4aeef06c922ad54a2: ae59f5b9572136
D99fdd36f01_d358fa643f2bd4a2644d9efbb4fe91a9f6590
A145: f612f0b01f2565cd9bd834f8119b309bae11a1ed4a26
61c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309
Bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc after installing the driver, there will be the aticonfig command, this command sets the brightness ratio
The built-in Fn + F4/F5 is easy to use without delay. the parameters used are as follows: [cpp] aticonfig -- query-dispattrib = lvds, brightness // query aticonfig -- set-dispattrib = lvds, brightness:-50 // The setting script is as follows: [cpp] #! /Bin/bash val = 'aticonfig -- query-dispattrib = lvds, brightness | grep value:
| Awk-F "," {'print $ 2'} 'val =$ {val # *:} if [$ #! = 1] then echo $ val exit 0; fi max_val = 'aticonfig -- query-dispattrib = lvds, brightness | grep
Value: | awk-F "," {'print $ 4'} 'max_val =$ {max_val # *:} min_val = 'aticonfig -- query-dispattrib = lvds, brightness | grep
Value: | awk-F "," {'print $ 3'} 'min_val =$ {min_val #*:} if ["$1" = "up"] then if [$ val-eq 100]; then exit 0; fi val =$ ($ val + 10 )) if [$ val-gt 100]; then val = 100; fi aticonfig -- set-dispattrib = lvds, brightness: $ val elif ["$1" = "down"] then if [$ val-eq-100]; then exit 0; fi val = $ ($ val-10) if [$ val-lt-100]; then val =-100; fi aticonfig -- set-dispattrib = lvds, brightness: $ val fi exit 0 when setting the shortcut key, action is the script path parameter, for example:/tmp/SetBrightness. sh up/down script:
Http://up.2cto.com/2013/0319/20130319010712806.rar
Http://up.2cto.com/2013/0319/20130319010712464.rar
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.