Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Transperent windows in xorg and other fancy stuff

Author:mike - Sun Oct 24 13:23:38 2004

First you need a recent xorg, (6.8.x) the one in gentoo portage will work.
configure X as you would otherwise do adding following to you config file:

Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
EndSection


If you have either an ati card or nvidia card you should add the respectivly
changes to your card-device section i your configfile.

Nvidia:
Option      "RenderAccel" "true"

Ati:
Option      "backingstore" "true"

Its a good idea to have som kind of hardware acceleration , my 1700mhz Pentium
M (Aprox 2.8ghz P4) with one gig of RAM are laggy as hell without ati drivers.

Add following line to make.conf (must be removed after this or you will break 
things)
ACCEPT_KEYWORDS="~x86"

emerge xcompmgr transset

Start x and run

xcompmgr -c 

and watch as your windows are being shadowed. You can tweak your settings if 
you want, xcompmgr -h should tell you enough to do so.

With xcompmgr -c running (for an instance put it in .xinitrc with a tailing & 
to make it go into background) you can run transset and click on a window to 
make it transperent.

I am thinking about hacking a fluxbox version to support tranperency nativly, 
if i do so it will be announced here later :)



OBS : 
redeeman CyberMike: foreløbig, kan du ændre det til kun at bruge ACCEPT_KEYWORDS="~x86" emerge xcompmgr
redeeman det giver det samme som at indsætte det, emerge og fjerne
redeeman windzor: begge ting virker, det er bare officielt korrekt at bruge package.keywords, fordi det er nemmere at holde styr på de maskede pakker man har
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk