You are not logged in.

#1 2005-02-10 16:48:34

MillTek
Member
Registered: 2005-01-30
Posts: 442

Arch, Xorg and transparency

Hi,

I've been trying to get translucency working on my system for the past few days.  I am by no means a Linux expert, however, I can follow decent instructions - even complicated ones. 

In pursuing translucency I have found a great degree of interest on various forums and sites in being able to have only the window in focus non-translucent.  All others would have some degree of translucency.

The problem I have had is that available documentation is either confusing or contradictory.  For example, Xorg developed xcompmgr to handle window shadows, fading and translucency, but it also appears that XFCE (which I use) has a version as well.  A user (handle is Sir Alaron) on the Gentoo forum developed a patch to implement the translucency I suggested above.

Can we develop a similar method to implement it in Arch?  Once we had it and, say, a good wiki page on the topic I am sure that we would attract more users?


Jim

Offline

#2 2005-02-10 16:58:39

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch, Xorg and transparency

like this?

http://forchheimer.se/transset-df/

EDIT:
this does what you're looking for with a modified version of transset and a ruby script...
it wouldn't be hard to convert this into one C app... I may look at that when I get an internet connection at home again...

Offline

#3 2005-02-10 17:43:12

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Arch, Xorg and transparency

Exactly phrakture.  I have experimented with transset and like the effect.  It's the automation and systemic control of it that I'd like to see.  It's just I don't have the skill-set to achieve it!


Jim

Offline

#4 2005-02-10 18:45:16

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch, Xorg and transparency

MillTek wrote:

Exactly phrakture.  I have experimented with transset and like the effect.  It's the automation and systemic control of it that I'd like to see.  It's just I don't have the skill-set to achieve it!


Jim

no this isn't a link to transset - it's an app called transset-df... it was made so you can adjust properties on individual windows.  The ruby script at the bottom of the link runs in the background.  It sets transparency on all windows, and when one comes into focus, it removes transparency...

However, I think it only works for enlightenment... i'll look into it more later on

Offline

#5 2005-02-10 20:14:06

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Arch, Xorg and transparency

Thanks,


Jim

Offline

#6 2005-02-10 23:29:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch, Xorg and transparency

while I was bored at work, I wrote a little daemon to do this:
it loops through all windows, and sets transparency unless it's focused, then it makes it non-transparent... timeout is modifiable (default to 100ms), as is the opacity setting (default to 0.5)... it can run in a terminal or detached...

I'm on a windows box now, so can't test/compile it... and my arch box doesn't have an internet connection right now... so I'll have to go home, test and things, then put everything together and post it somewhere while at work tomorrow or the next day...

I'll keep you posted

Offline

#7 2005-02-10 23:33:54

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch, Xorg and transparency

just to let you all know - the code to do that is about 150 lines of C...

Offline

#8 2005-02-11 01:22:47

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Arch, Xorg and transparency

Excellent work phrakture!!!


Jim

Offline

#9 2005-02-12 06:02:22

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Arch, Xorg and transparency

Posted this in the other thread as well, fluxbox has this out of the box. fluxbox menu > Configure Transparency and yes, it uses composite not psuedo transparency.

Offline

#10 2005-02-13 11:31:15

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,436
Website

Re: Arch, Xorg and transparency

it does i checked - sorry cam smile

Offline

#11 2005-02-13 15:50:21

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Arch, Xorg and transparency

It does?! Holy CRAP!!! I have got to try that! :shock:

Offline

Board footer

Powered by FluxBB