De Drop Shadow

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

I'm using kdes' composite manager from kde 3.3 with xorg 6.8. One of the annoying things using drop shadows is applications like Super Karamba themes, dockers like KXDockers are giving wierd shadows with current composite manager. So I wrote this simple scipt to remove drop shadows from what ever the kde apps that does not fit to drop shadows.

Usage:
1. Execute the script (either double clicking or in command line).
2. When the cursot pointer become crossed, click on the application that you want to remove drop shadow.

(Special thanks to Thomas, author of Baghira theme for his hints on this)

BTW: If you want to know about my desktop setup refer: http://www.kde-look.org/content/show.php?content=23535

PLEASE don't ask me for my Amarok super karamba theme...unless you are sure that Apple will not sue me...:-)

tarekbaher

14 years ago

Great script :)

I found that I have to click on each superkaramba window for this to work.

Here is my modification to make it de drop shadow all superkaramba themes/windows

Tell me if it works.

(script follows .. put 7 whitespaces before the [^d] because the comment box removes duplicate whitespaces. I marked it in bold)

#!/bin/bash
# deshadowsuperkaramba.sh
ITEMS=`xwininfo -root -tree -int |grep " [^d]* \"superkaramba\""|cut -c 12-19`
for item in $ITEMS
do
dcop kwin default setUnshadowed $item
done
exit 0

Report

klti

14 years ago

Thanks very much for this script, i put it in autostart with some sleep time -> no more shodows on superkaramba widgets after login.

Report

tarekbaher

14 years ago

You're welcome.

Report

PomTom

14 years ago

If only kxdocker is the problem, the script could be executed automatically without even clicking by using xwininfo's "-name" option:

dcop kwin default setUnshadowed `xwininfo -int -name kxdocker | grep \
"xwininfo: Window id:" | cut -c 22-29`

I start it this way via autostart with a 10 seconds delay before execution to make sure kxdocker is already loaded.

Report

guppetto

14 years ago

Your missing execute permissions on the script. By default, the script does not have execute permissions. Make sure you run the following as the owner of the file (ls -l)

run the following at the command line:

1. chmod +x scriptname

2. ./scriptname &

3. click on window you want to remove the shadow from.

The script works with kompmanager which is really just xcompmanager with a few kde mods.

Hope this helps.

Report

v0id7

14 years ago

i cant seem to get this to run even in a root konsole. it tells me permission denied everytime.

Report

nuka

14 years ago

look at your desktop, you have apple logos and apple artwork everywhere. so far, they havent said anything to the peple that created them, i doubt they will do anything to you if you submit that karamba theme. the worst taht could happen is that they send you an email to delete it.

Report

nbensa

14 years ago

Hello,

how did you got that sidebar on konqueror?

Report

C

zammi

14 years ago

All about it here: http://www.kde-look.org/content/show.php?content=23535

Report

p0z3r

14 years ago

I've had no problems in the past running xcompmgr with SuperKaramba and having no "odd" shadows.

Just run it like this:
xcompmgr -CcFf

Report

C

zammi

14 years ago

Hi, I'm using the composite manager that comes with KDE instead of xcompmgr. Thanks for your tip, I appreciate it..

Report

Matti

14 years ago

I'm sure there's an option for configuring this in kcontrol centre. I don't have any issues with superkaramba themes, or kxdocker.

Matt

Report

C

zammi

14 years ago

Could you share your config file with us. That will be a great help. I'm aware that I'm not the only person having this issue.

Report

Matti

14 years ago

I just put the dock window size slider down to 0 in the shadow tab.

Matt

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Jul 31 2005
added Jul 31 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0