[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

A SOLUTION - Re: compton and shadows



On Fri, 7 Mar 2014 11:05:41 +0000
Sharon Kimble <boudiccas@talktalk.net> wrote:

> On Fri, 7 Mar 2014 07:16:43 +0000
> Peter Tynan <happy@sdf.lonestar.org> wrote:
> 
> > On 7 March 2014 02:46, Sharon Kimble <boudiccas@talktalk.net> wrote:
> > > If you use 'compton' and a launcher like 'docky' or 'plank' in
> > > 'fluxbox' you will find that there is a *shadow* extending to
> > > about one inch above your launcher. In this shadow you are unable
> > > to click any button or pane-descriptor like in 'tmux', it is
> > > effectively 'dead-ground' and unusable.
> > >
> > > Is there any way of shrinking this shadow so that you are able to
> > > use the full screen above the launcher, instead of the present
> > > 80%?
> > >
> > > To see this shadow in action run 'compton -c --shadow-blue 1' in a
> > > terminal, and you see the big blue shadow! And I want to shrink it
> > > to about the bottom half-inch of the screen, but, is it possible
> > > please?
> > 
> > Try including
> > 
> > shadow-exclude = "n:e:Notification";
> > 
> > in your .compton.conf
> > 
> Thanks for this Peter, I didn't have a '~/.compton.conf' until now!
> Mine is - 
> 
> # started 7/3/14 to try to exclude the shadow
> # Shadow
> #shadow = false;
> no-dnd-shadow = true;
> no-dock-shadow = true;
> clear-shadow = true;
> shadow-blue = 1.0;
> #shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'",
> "class_g ?= 'Notify-osd'", "class_g = 'Plank'" ]; 
> shadow-exclude = "n:e:Notification"; 
> shadow-ignore-shaped = true;
> 
> I still have the problem where I can't move between panes in tmux in
> the shadow, and there is no discernible difference anywhere else. But
> I'm hopeful that a solution will be found. 
> 
> Sharon.

I had asked about the compton shadow in #plank and #fluxbox on
irc.freenode and overnight ak|ra in #fluxbox suggested adding this to
my 'apps' file in ~/.fluxbox - 

[app] (name=plank)
 [Layer] {BOTTOM}
[end]

so I did so and restarted plank, and it works! I can have tmux sitting
right next to plank and *all* the pane descriptors work and are
clickable!

Apparently '[Layer] {BOTTOM}' puts it onto the lowest layer, where
regular windows can be stacked on top of it. Hence, tmux is completely
clickable in every pane, and I can stop moving programmes out of the
dead-area/shadow as they all work properly now. Brilliant!

Thanks, folk, you're the best!

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944

Attachment: signature.asc
Description: PGP signature


Reply to: