LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-27-2005, 10:31 PM   #1
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Rep: Reputation: 15
aterm and true transparency


Hi,

I was wondering if there is a way to get aterm to have transparency with respect to all windows on the workspace rather than just the root background? I can emulate such effect with Gnome-terminal so I believe it's related to X server (Xcompsite extension or something) but I don't know how to utilize this with aterm.

Thank you
 
Old 07-27-2005, 10:49 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
i did this by creating a file in my home directory called .Xdefaults and add this:

aterm*cursorColor:blue
aterm*colorMode:true
aterm*pointerColor:yellow
aterm*pointerColor2:yellow
aterm*borderWidth:0
aterm*tinting:#ffffff
aterm*loginShell:true
aterm*transparent:true
aterm*shading:50
aterm*background:white
aterm*foreground:light blue
aterm*scrollBar:false
aterm*fade: 60
!aterm*font: 9x15
aterm*font: 8x13
aterm*saveLines:4500
aterm*geometry:85x30
aterm*truetintingType:True
!
! colors
!
aterm*color0:rgb:00/00/00
aterm*color1:rgb:cc/66/66
aterm*color2:rgb:66/cc/66
aterm*color3:rgb:cc/cc/66
aterm*color4:rgb:66/66/cc
aterm*color5:rgb:cc/66/cc
aterm*color6:rgb:66/cc/cc
aterm*color7:rgb:cc/cc/cc
aterm*color8:rgb:63/33/33
aterm*color9:rgb:ff/99/99
aterm*color10:rgb:99/ff/99
aterm*color11:rgb:ff/ff/99
aterm*color12:rgb:99/99/ff
aterm*color13:rgb:ff/99/ff
 
Old 07-28-2005, 04:33 PM   #3
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks detpenguin but that did not make my aterm terminal transparent with respect to other windows on the workspace. The Gnome-terminal has such capability but I just do not know how to enable this with aterm!
 
Old 07-28-2005, 06:36 PM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
You need to enable composite in your xorg.conf by adding
Code:
Section "Extensions"
    Option "Composite" "Enable"
EndSection
You need as well these 2 programs: xcompmgr and transset

With xcompmgr you enable true transparency and with transset you set the transparency percentage

Keep in mind you NEED to have Composite enabled in your X config file.
 
Old 07-29-2005, 12:35 AM   #5
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 15
Hammett,

I had the Extensions section in my Xorg but running xcompmgr and transset totally brought my X into the grounding halt. Weird thing, only the 2D driver application acted up with delay and glxgears still managed to output the same FPS as before. *sigh*.
 
Old 07-29-2005, 07:43 PM   #6
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
Hum....which video card do you have? If it's not 3D accelerated, you'll have A LOT of delay and CPU usage.
If it's 3D accelerated, get the latest drivers (if you haven't done it already).
Also keep in mind that real transparency is very unstable and it's still beta. I can run it without halting the X server, but the background is completely messed up.
 
Old 07-29-2005, 08:24 PM   #7
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 15
I have ATI Radeon 7500 and the it does have hardware 3D accelerated drivers (kernel modules+DRI/DRM/Xorg support). As a matter of fact I managed to up the FPS from 800 fps to 1600 fps by tweeking some options in my Xorg/DRI config file; I even recently upgraded from Xorg 6.8.1 to 6.8.2 (the latest stable version which has radeon drivers and modules included in the package). Anyway, the transparency works just fine in Gnome-terminal w/o slowing down the X. It only occures when I run Xcommgr and transset regardless of whether it's with aterm or any other terminal.

Anyway, all I was trying to see was whether it is possible to have such feature with aterm which apparently with current programs rather forget about it.
 
Old 07-30-2005, 07:35 AM   #8
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
Maybe you should use official ATi drivers instead of DRI ones....Perhaps you'll get better results.
 
Old 07-30-2005, 08:25 PM   #9
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 15
There are no official ATI driver for Radeon 7500 that's why I'm using DRI's packaged in Xorg X server which by the way works just great considering I'm getting 1600 FPS with this card. However, I do not see a connection between transparency and hardware 3D accelerated capabilities! Shouldn't this be a 2D driver problem?
 
Old 07-31-2005, 03:13 AM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
The Composite extension puts a lot of strain on your video card. The DRI drivers aren't as good as the official ones so it can't handle it as well. I have an nvidia card and with the official drivers I don't even notice a slow-down. But you won't be able to get the effect you want with aterm, even using composite. I'm suprised somebody hasn't patched aterm or rxvt to use composite for transparency by now, I would but a) am very novice in C and b) have tried playing with X and events and didn't have much luck so this would be much too difficult.

Incidentally, how did you do that with gnome-terminal? I don't use it but I might if I could get an effect like that...

Last edited by cs-cam; 07-31-2005 at 03:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aterm transparency only on workspace 1!! poto_floyd Linux - Software 6 12-14-2005 09:30 PM
fluxbox + aterm + rox transparency issues geomatt Linux - Software 0 08-10-2005 10:45 AM
aterm transparency doesn't work. rundmg Linux - Software 1 10-20-2004 10:54 PM
True Transparency :) zaicheke Linux - General 6 09-17-2004 05:54 AM
transparency and shadin aterm question phoenix99 Linux - Newbie 7 06-26-2004 04:11 PM


All times are GMT -5. The time now is 03:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration