LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-14-2007, 11:09 PM   #1
ULADK
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Slackware Current
Posts: 26

Rep: Reputation: 15
Xorg Shadows


Hello,

I have shadows enabled in X (using xfce4 compositor). My questions are:

1. Can you change the look of the shadow's, size, opacity and colour?
2. Can you exclude certain apps/windows from having shadows applied to them?

Thanks to all
 
Old 08-17-2007, 09:29 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You are pretty limited as to what you can do with just the basic Composite extension. You can give xcompmgr a few command arguments to change the shadow opacity, radius, and relative position (I.E. where the light source is), but that is pretty much it.

To do more advanced things like shadow colors and per-window overrides, you need to use Beryl (or Compiz Fusion, whenever it is ready). Beryl shouldn't take a whole lot more resources than the normal compositor, assuming you don't go crazy with the effects. That is, if you are concerned about your hardware's performance running Beryl over the compositor.
 
Old 08-17-2007, 01:27 PM   #3
ULADK
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Slackware Current
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for your reply,

All I need really is what you stated: radius and opacity.

Since XFCE4 compositor just turns shadows on and off, XFCE4 just checks to see if I have the following enabled in my /etc/X11/xorg.conf right?

Code:
Section "Extensions"
    Option   "Composite"   "Enable"
EndSection
I cannot find xcompmgr on my machine but I have shadows enabled. Is this something I install after to manipulate the basic settings that are already enabled?

If I give xcompmgr a few arguments will they be stored in config file and remain until I change arguments again?

Thanks for clearing things up,
Regards
 
Old 08-17-2007, 08:14 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You can get xcompmgr from freedesktop.org, which you would use in place of the XFCE compositor. You can't use both at the same time, so just turn compositing off in the XFCE configuration.

Then you would configure xcompmgr with the command line arguments to change the various aspects to your liking. There are many examples out there, but the only way to really get it suited to your liking is to read the man page and play around with it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No shadows for Superkaramba themes while using translucency/shadows in KDE? lasindi Linux - Software 1 03-05-2006 09:19 PM
No TV Out & No drop Shadows in Xorg! raid517 Linux - Hardware 1 04-17-2005 03:57 AM
Lindows...in the shadows? Quiber Linspire/Freespire 3 01-22-2005 04:33 AM
I want shadows fannymites Linux - Software 1 11-15-2004 11:55 PM
Window Shadows Boffy Linux - General 4 10-05-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration