Add Cool Mouse shadow effects to your Xwindow

Source: Internet
Author: User
Article Title: add cool mouse shadow effects to your Xwindow. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I only tried and passed the installation of NVidia TNT2 and Geforce graphics cards. other graphics cards are not guaranteed.
In addition, if you are a newbie, do not try it easily. Otherwise, you will be at your own risk.
  
First, you must install the NVidia graphics card driver, go to www.nvidia.com to download a suitable driver for your Linux. The latest version is:
Http://www.nvidia.com/view.asp? IO = linux_display_1.0-3123
If you do not know which one to download, you can try NVChooser. sh provided by NVidia. if you do not install it, you can check the README provided above.
I downloaded the .tar.gz package and installed it on my Mandrake9.
  
After installation, configure your/etc/X11/XF86Config-4 (Redhat8 is/etc/X11/XF86Config) correctly against README again
  
If the installation and preparation are correct, the NVidia LOGO will be displayed when Xwindow is started.
  
Then open/etc/X11/XF86Config-4 again (Redhat8 is/etc/X11/XF86Config)
  
Find the section of your video card, such as my:
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic )"
Driver "nvidia"
Option "DPMS"
EndSection
  
Change
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic )"
Driver "nvidia"
Option "DPMS"
Option "NvAGP" "3" # enable the AGP effect ??? I am not quite clear about the role of this sentence.
Option "CursorShadow" "true" # enable the mouse shadow effect
Option "CursorShadowAlpha" "70" # shadow opacity
Option "CursorShadowXOffset" "4" # shadow distance from x axis
Option "CursorShadowYOffset" "3" # shadow distance from the x axis of the pointer
EndSection
Save and restart X. how do you see the shadow?
I wanted to show you a picture, but it seems that all the software cannot cut the mouse... Depressed !~~~

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.