?
Solved

transparency in kde windows

Posted on 2004-10-31
10
Medium Priority
?
1,529 Views
Last Modified: 2008-01-09
hi,

in almost every other screenshot i see that the windows, terminal, and all the programs are transparent.

how do i make them transparent?

suse 9.1 personal kde 3.2

thanks,
alex
0
Comment
Question by:rksprst
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 4

Accepted Solution

by:
EinarTh earned 172 total points
ID: 12461685
As far as I know, you'll need to patch KDE (kwin component) and recompile. Also you must have xcompmgr extension for X working (which I think requires X.org's X server instead of XFree86 which is shipped with SuSE 9.1) and you should preferably have working hardware accelerated rendering... In short, it's not easy to do on SuSE 9.1, although there are propably distro's out there that include this by default. (btw. the newly released SuSE 9.2 uses X.org's server and KDE 3.3, so it should be somewhat easier to do on that one)

That said, here are a few links for you to take a look at:
http://www.kde-look.org/content/show.php?content=16114
http://developer.kde.org/build/compile_kde3_3.html
http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency

You'll propably have to research some more, but these are good starting points.

cheers
0
 
LVL 1

Author Comment

by:rksprst
ID: 12463925
so in suse 9.2 all i would have to do is install transset
and then do transset .3 and click on a window?

or would i need to install anyother software?
0
 
LVL 4

Assisted Solution

by:bytta
bytta earned 164 total points
ID: 12476363
That depends on wether you're using XFree or Xorg.

If you're using XFree you will need to switch to X.org - which is a major operation and not advised unless you konw what you're doing.

Here's a gentoo HOWTO for that (steps 2-4 are gentoo specific - use the Suse pckacge manager to install/uninstall )
http://gentoo-wiki.com/HOWTO_Switch_from_XFree_to_Xorg

once you have X.org - all you need is transset AND xcompmgr
Note that xcompmgr must be running for transset to work.

Make sure that Suse rpms for these programs are available before you remove Xfree.

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 5

Assisted Solution

by:pbhj
pbhj earned 164 total points
ID: 12477927
In KDE on my Slackware, the Konsole has a setting for the schema that includes some transparent options.
0
 
LVL 1

Author Comment

by:rksprst
ID: 12479833
i looked for the transparent option in the konsole but i couldnt find it.
i did make my menus transparent (kde supports this) but none of the programs are.
im relatively a newbie to linux, so i dont want to try to install x, ill for sure mess everything up and i wont have any window manager working in linux.
i saw that gentoo site, ive spent around 4 hours googling this transparency thing on google before posting..ive prbbly seen every link u guys can find.

so besides installing x.org there is no way to make the windows transparent?
theres not a program that would work without x.org?

thanks guys
0
 
LVL 4

Expert Comment

by:bytta
ID: 12482194
1. Suse made the switch to X.org some time ago - are you suer you have Xfree?

2. Some terminals and consoles (aterm, konsole & others) offer transparency.
But the xorg way adds transprancy to programs that don't.

Aterm is similar to xterm, but not quite as good IMHO.  It's not on any distro CD I know of but
available at rpmfind.net and as an extra in all the "usual" repositories

My setting is like this, but you dont need to set the font and such...
aterm -sh 40 -bg black -fg white -tr -ls -sb -sr -st -sl 1500 -fn 6x13 -trsb

I've forgotten what  some of the options are, but this is my guess...
what matters:
-tr:       tranparent
-sh 40:  shading, 0-100
-bg/fg    back/foreground colours
what doesn't matter:
-sl 1500  no. saved lines
-fn 6x13  font name      
-sb -sr:   (not sure) a scrollbar on the right side
can't remember (it's all in the man page):
-trsb,  -ls -st

You might also need to map the delete-char to "^?" in aterm.
bindkey "\e^?" delete-char        # Delete
0
 
LVL 4

Expert Comment

by:EinarTh
ID: 12484416
rksprst:
Sorry about not replying sooner.

If you're not comfortable with 'getting down and dirty' on the OS, I'd say that with SuSE 9.1, you're out of luck (to many things can go wrong for a newbie).

However, if you go with SuSE 9.2 you _should_ be to get transparency with minimal fuss (have xcompmgr running, and use transset). I can't be 100% certain though, because I don't know what flags and patches SuSE used when compiling KDE... worth a shot tho ;)

FYI, the 'old' transparency in KDE (menubar, taskbar, konsole et. al.) isn't "real" transparency, i.e. it doesn't calculate the merged image on the fly, instead they fake transparency by taking a screenshot of the desktop background and clipping it to fit as their background. You can see this by moving a "transparent" windows around, or by moving another window below the "transparent" one.

Hope this helps somewhat.

cheers
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month4 days, 10 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question