LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No xterm/rxvt or whatever terminal emulator transparency (https://www.linuxquestions.org/questions/slackware-14/no-xterm-rxvt-or-whatever-terminal-emulator-transparency-418333/)

njmf 02-22-2006 06:45 AM

No xterm/rxvt or whatever terminal emulator transparency
 
Hello, my first question on forum. :)

So, I have just installed Slackware 10.2 without KDE and using 2.6 kernel (from second slack CD), and I cannot manage to get pseudo-transparent background in terminal emulators. I have tried to set it in command line and .Xresource file; all works except transparency stuff. I can see that xterm and rxvt are compiled with transparency options, so I really cannot see what is the problem. Additionaly, I have installed slack's KDE (all default packages), and tried to set in transparency in Konsole, but failed. It is realy sad, I like fancy-geeky desktop :(

Hoya, cheers! :D

capnpayne 02-22-2006 09:22 AM

I didn't think you could get any transparency with xterm... :scratch:

Artanicus 02-22-2006 09:23 AM

xterm and rxvt IIRC cannot even do transparency, on the other hand Eterm, aterm and mrxvt do.

njmf 02-22-2006 10:55 AM

But there is a way to tell them to do transparency, I saw it (most common way is .Xresources file)! I compiled aterm on my own, and have enabled transparency on compile time, but nothing. And I know transparency can be done with "Konsole", too (tried it on other distributions), but there isn't any on Slack 10.2. Have anyone of you people got some transparent terminal emulator to work on Slack10.2? That should meen that I did something wrong.
On the other hand, it may be that some option is disabled (or accidentaly not configured) in xorg, I don't know what.

Thanks for replies, cheers! :D

dive 02-22-2006 11:10 AM

Put this in your .Xresources file (if you dont have one, you can make a new one):

aterm*transparent: true
aterm*transpscrollbar: true

My entire .Xresources file:

Code:

aterm*scrollTtyOutput: false
aterm*foreground: green
aterm*background: black
aterm*transparent: true
aterm*shading: 80
aterm*saveLines: 4500
aterm*tintingType: false
aterm*tinting: #c0c0c0
aterm*fading: 50
aterm*transpscrollbar: true
aterm*troughColor:black
aterm*pointerColor: green
aterm*pointerColorBackground: black
aterm*scrollBar: True
aterm*scrollBar_right: True
aterm*menuBar: True

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

xterm*foreground: green
xterm*background: black
xterm*curses:  on
xterm*saveLines:        4500
xterm*utmpInhibit:      False
xterm*truetintingType:True
xterm*scrollBar: True
xterm.vt100*internalBorder: 8
xterm.rightScrollBar: true

xterm*color0:rgb:00/00/00
xterm*color2:rgb:66/cc/66
xterm*color3:rgb:cc/cc/66
xterm*color4:rgb:66/66/cc
xterm*color5:rgb:cc/66/cc
xterm*color6:rgb:66/cc/cc
xterm*color7:rgb:cc/cc/cc
xterm*color8:rgb:63/33/33
xterm*color10:rgb:99/ff/99
xterm*color11:rgb:ff/ff/99
xterm*color12:rgb:99/99/ff
xterm*color13:rgb:ff/99/ff


Alien_Hominid 02-22-2006 11:12 AM

Eterm's transparency (as well as aterm's, i think) is pseudo and it does not work with dynamic backgrounds. To use transparency when static you must show your background location to eterm (smth with Esetroot if i remember correctly).

njmf 02-22-2006 12:40 PM

I have compiled mrxvt with transparency support and it didn't work (it worked in Ubuntu with same configure options).
dive, thanks for .Xresource file, but it didn't work, too. Colours have changed (like they are supposed to be), but there is no trace of pseudo-transparency. Tried on both kernels (2.4.31-ide and 2.6.13-generic), all the same.

Alien_Hominid, I know thats pseudo, it is supposed to take filtered desktop wallpaper, and draw it in some way, no windows or other stuff.

So, i figured out - there is problem in me or in some Slackware's factory settings. I can see you all are using Slackware current - do anyone maybe know that it worked in raw Slack 10.2 installation? I am a bit desperate :(

Thanks, bye! :)

dive 02-22-2006 12:51 PM

well I've used transparency since 10.1 and I don't think it's any setting in Slack.

Must be in configure options, but I think I just did a plain ./configure when I installed aterm. Keep trying it should work

Maybe try ./configure --help and see what options are available

dive 02-22-2006 12:55 PM

What output do you get with 'aterm +tr' in a term?

njmf 02-22-2006 01:10 PM

What I am saying is that I configured it right, it says there is transparency when I run "aterm -help", but I cannot see any of it. I am now in WinXP (have some crappy adsl modem with no drivers for Linux), so I can't say what will "aterm +tr" print out, but when I try it, I'll say here. ;)
I installed just 1st slack CD in first place, and have later added kde and 2.6 kernel, maybe that's the prob. Next thing to do is to reinstall it completely when I finish downloading all Slackware disks, even though I don't see how could *that* solve my mystery.

I'll be back! ;)

njmf 02-22-2006 05:23 PM

So, now I've reinstalled whole Slackware, excluded KDE and other boring stuff, and it doesn't work. Command 'aterm +tr' prints out nothing about transparency or stuff, just info about terminal window geometry (which is supposed to happen because it is compiled with transparency, otherwise it would print some error message, probably). But, alas, something weird IS happening: when I run aterm from xterm window (.Xresource is the one you, dive, use), in the moment (just moment) of bringing up window, I can see through it, I can see background image. But just for that moment, which is not very joyfull :(. I am confused...

ps.
Sorry for my annoyance :P ;)
Cheers!

dive 02-22-2006 06:45 PM

Actually that should have been -tr (sorry) and -trsb for the scrollbar trans:

aterm -tr -trsb

But it should give you transparency if it's there

njmf 02-22-2006 07:38 PM

I know that, both (+/-tr) say same thing - nothing. Does Xorg need to load some module, or kernel perhaps?... I mean, some module which enables transparency? I freaked out, I don't know what to think anymore... :lol: Tomorrow, after faculty, I'll try to install 10.1, then to upgrade to 10.2... If that fails... Dunno, I'll have to finish my LFS :D

Bye-o :)

dive 02-22-2006 07:42 PM

Dunno maybe some xorg.conf settings:

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "glx"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection

Section "Device"
Driver "nvidia"
Identifier "Card0"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 420]"
BusID "PCI:1:0:0"
Option "NoLogo" "True"
Option "RenderAccel" "true"
Option "HWcursor" "true"
Option "CursorShadow" "true"
Option "NvAgp" "3"
Option "TwinView" "1"
Option "ConnectedMonitor" "CRT,TV"
Option "MetaModes" "1280x960,800x600;1024x768,800x600;800x600,800x600"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30 - 50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "SVIDEO"
Option "NoTwinViewXineramaInfo" "True"
EndSection

njmf 02-23-2006 05:44 AM

Now, I have installed 10.1 from some DVD (it is official, I think, I've copied it from friend), and transparency works flawlessly! In both (10.1 and 10.2) installations I did all packages except KDE (both) and GNOME (10.1); I did configure xorg on 10.2, but not on 10.1. That might be problem, but I don't get it. So, I'm happy, problem is not in myself :). I'll try to install it later, when I'm back from science.

Bye-o!


All times are GMT -5. The time now is 10:46 PM.