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 (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
 

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.