LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-26-2016, 01:14 AM   #1
linuxlicious
Member
 
Registered: May 2011
Posts: 87

Rep: Reputation: 6
compton + spectrwm: Transparency not working...


So basically I want all inactive windows be transparent, but it doesn't seem to work in spectrwm. I tried some other WMs, e. g. LWM and it works fine there. What is going wrong there? Is there a workaround for this kind of problem? It seems to work fine for other people, so what's the deal? Any ideas?
Here's my compton.conf (generated with compton-conf):
Code:
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 4;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.6;
shadow-red = 0.0;
shadow-green = 0.0;
shadow-blue = 1.0;
shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
shadow-ignore-shaped = false;
menu-opacity = 0.7;
inactive-opacity = 0.5;
active-opacity = 1.0;
frame-opacity = 1.0;
inactive-opacity-override = false;
alpha-step = 0.06;
inactive-dim = 0.7;
blur-kern = "3x3box";
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
wintypes : 
{
  tooltip : 
  {
    fade = true;
    shadow = false;
    opacity = 0.75;
    focus = true;
  };
};
fade-delta = 7;

Last edited by linuxlicious; 04-26-2016 at 01:25 AM.
 
Old 04-26-2016, 04:42 AM   #2
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
spectrwm can simply not support it. On dwm there is a patch for it.
 
Old 04-26-2016, 08:47 PM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,800

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
AFAIK all of the "outside" compositors are essentially ceased in development. Still in very active development is KWin which I use in Xfce to great effect both in appearance and function. GTK3 makes more dependency issues than there used to be but not mant KDE libs are needed in with that increase. If interested consult distro-specific guides and/or tutorials for the list.
 
Old 04-27-2016, 01:40 AM   #4
linuxlicious
Member
 
Registered: May 2011
Posts: 87

Original Poster
Rep: Reputation: 6
Matt - I just remembered that it worked on another laptop (which is in pieces now) and I think I may or may not have asked either here or in the Archlinux forums how to stop the bar from getting transparent, so I'm pretty sure it's not an issue with spectrwm, but I'll have to veryfy that. So given that it does on spectrwm, why doesn't it work on this laptop? They both use the same graphics chipset (intel 950 or 915) and both run a basic arch linux setup with Xorg, Spectrwm and some needed apps.

PS:I have just confirmed that compton transparency works fine in spectrwm on my other crappy lappy. So any ideas why it doesn't work on my netbook?

Last edited by linuxlicious; 04-27-2016 at 03:00 AM.
 
Old 06-08-2016, 01:02 AM   #5
linuxlicious
Member
 
Registered: May 2011
Posts: 87

Original Poster
Rep: Reputation: 6
So... any ideas what might be going wrong? I already confirmed that it works fine on the other machine. Why not on this one? what am I missing?
 
Old 06-09-2016, 01:34 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
https://wiki.archlinux.org/index.php...indow_managers
there's a big fat NO for compositing for spectrwm, i.e. according to this list it doesn't even work with an external compositor.
if you were using compton on your other, defunct laptop, you surely would remember it.
maybe the transparent bar is/was fake transparency? i.e., it is not really transparent, but simply copies the underlying root window? that is quite common.
 
Old 06-11-2016, 01:53 AM   #7
linuxlicious
Member
 
Registered: May 2011
Posts: 87

Original Poster
Rep: Reputation: 6
Well then the setup on my other lappy most be an exeption then because I already verified that transparency works on Spectrwm on this one. I'm gonna have to take a snapshot of it so you can see that it is working on that laptop. It's not fake transparency because it disappears when compton is stopped. I remember that I was struggling to stop the bar from getting transparent but never figured that one out. I wonder if it might have something to do with spectrwm and/or compton being older versions? Maybe support for transparency has been removed since then?

PS: I can't help but think that if I can run compton on spectrwm and have windows blend in and out, then I should be able to have transparent windows on my acer netbook. Transparency seems to work fine in gtk windows though.
I was also wondering if maybe since I got spectrwm and compton from the AUR repos, maybe I installed a version with transparency compiled in?

Last edited by linuxlicious; 06-11-2016 at 02:03 AM.
 
  


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
[SOLVED] Transparency not working with XFCE 4.8 cccc Debian 1 09-25-2012 04:06 PM
Transparency not working with urxvt anon209 Slackware 23 02-04-2011 05:14 AM
terminal transparency on fluxbox not working? michaelinux Linux - Desktop 5 06-13-2010 07:41 PM
Working on pseudo-transparency in GDK PatrickNew Programming 0 05-02-2007 12:16 AM
Partial Transparency not working when using xsetbg ! Libu Linux - Software 2 02-05-2005 04:50 AM

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

All times are GMT -5. The time now is 05:17 AM.

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