Solved

transparency in kde windows

Posted on 2004-10-31
1,359 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
Question by:rksprst
    7 Comments
     
    LVL 4

    Accepted Solution

    by:
    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
    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
    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
     
    LVL 5

    Assisted Solution

    by:pbhj
    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
    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
    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
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    913 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now