You are not logged in.

#1 2016-07-17 19:42:49

ututo
Member
Registered: 2015-09-29
Posts: 326

[SOLVED] Compton - Disable shadowing of icons (idesk)

Hello,
I was trying to set some launchers in my busen desktop with idesk but I don't want compton to draw shadows on them.

When I disable compositing I get this:
Selection_001.png

When I enable compositing I get this:
Selection_002.png

So, what I want is to get what you can see in the first picture but whitout disabling compton.
I added 'idesk' into the 'shadow-exclude' label in my compton.conf but it doesn't seam to work.

This is my compton.conf

# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
#clear-shadow = true;
shadow-radius = 5;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.5;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
#shadow-exclude = [ "n:e:xfce4-notifyd", "i:e:Conky" ];
shadow-exclude = [ "i:e:Conky", "i:e:idesk", "_GTK_FRAME_EXTENTS@:c" ];
#shadow-ignore-shaped = false;

# Opacity
menu-opacity = 0.9;
#inactive-opacity = 0.8;
#frame-opacity = 0.7;
inactive-opacity-override = false;
alpha-step = 0.06;

# Fading
fading = false;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;

# Other
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 = false;
sw-opti = false;

# Window type settings
#wintypes:
#{
#  tooltip = { fade = true; shadow = false; opacity = 0.85; };
#};

Do you have any clues?
Thanks in advance

Last edited by ututo (2016-07-17 22:50:50)


BunsenLabs on deviantArt
Don't touch my git!

Offline

#2 2016-07-17 19:50:37

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

From 'man compton'

           condition = TARGET:TYPE[FLAGS]:PATTERN

       TARGET is one of "n" (window name), "i" (window class instance), "g"
       (window general class), and "r" (window role).

       TYPE is one of "e" (exact match), "a" (match anywhere), "s" (match from
       start), "w" (wildcard), and "p" (PCRE regular expressions, if compiled
       with the support).

Did you make sure that 'TARGET' is correct for idesk? Get the window class/name with'xprop'


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-07-17 20:38:10

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

I've been trying different options but nothing seems to work.
This is the output I get from xprop when I click on any of those launchers

 » xprop
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_NET_WM_STATE(ATOM) = _NET_WM_STATE_BELOW, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_STICKY

BunsenLabs on deviantArt
Don't touch my git!

Offline

#4 2016-07-17 20:52:30

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

I can't test right now, but I can in an hour or two. I'll post back!

BTW, idesk is ancient, no? tongue


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#5 2016-07-17 20:58:13

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

yep... last stable version 0.7.5 ... is from nov 2005 big_smile


BunsenLabs on deviantArt
Don't touch my git!

Offline

#6 2016-07-17 21:49:07

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

And in .ideskrc do you have

Shadow: false

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2016-07-17 22:01:28

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

Yeas, this is my ideskrc dot file:

table Config
  FontName: Liberation Sans
  FontSize: 9
  FontColor: #FFFFFF
  ToolTip.FontSize: 9
  ToolTip.FontName: Liberation Sans
  ToolTip.ForeColor: #FFFFFF
  ToolTip.BackColor: #000000
  ToolTip.CaptionOnHover: false
  ToolTip.CaptionPlacement: Top
  Locked: false
  Transparency: 0
  Shadow: false
  ShadowColor: #000000
  ShadowX: 1
  ShadowY: 1
  Bold: false
  ClickDelay: 300
  IconSnap: false
  SnapWidth: 10
  SnapHeight: 10
  SnapOrigin: BottomRight
  SnapShadow: false
  SnapShadowTrans: 200
  CaptionOnHover: false
  CaptionPlacement: bottom
  FillStyle: fillinvert
  Background.Delay: 0
  Background.Source: None
  Background.File: None 
  Background.Mode: Center 
  Background.Color: #C2CCFF
end

table Actions
  Lock: control right doubleClk
  Reload: middle doubleClk
  Drag: left hold
  EndDrag: left singleClk
  Execute[0]: left doubleClk
  Execute[1]: right doubleClk
end

BunsenLabs on deviantArt
Don't touch my git!

Offline

#8 2016-07-17 22:23:04

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

I suspect idesk isn't supplying the requisite information to the WM

WM_NAME(STRING)
WM_CLASS(STRING)

EDIT: Found this on linuxquestions

idesk doesn't support compositing

Last edited by damo (2016-07-17 22:26:31)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-07-17 22:49:52

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

idesk doesn't support compositing

Ok. That's it! I'm moving back to windows then... XD

Thank you very much @damo. I've tried other DEs that allow icons on desktop but I always come back to openbox. I just love its simplicity. I guess I'll have to get used to it.


BunsenLabs on deviantArt
Don't touch my git!

Offline

#10 2016-07-17 23:02:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

^ You could cheat it by using clickable conky images I guess. Ask the conkymeister wink

I think you could also do it using cairo drawn on the root window - I've seen references to making that clickable as well.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-07-18 03:33:18

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,552
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

xfdesktop4 is another option for icons on desktop. It overwrites nitrogen, so you would disable that. (I'm using this atm)

Last edited by johnraff (2016-07-18 03:34:09)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#12 2016-07-18 07:34:52

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

johnraff wrote:

xfdesktop4 is another option for icons on desktop. It overwrites nitrogen, so you would disable that. (I'm using this atm)

This will disable the openbox menu, of course, but you can enable xfdesktop's menu and it auto-updates.

Yet another option is to use a file manager like PCManFM, SpaceFM, Nautilus, Caja, or I think even Rox-filer to control the desktop. PCManFM and SpaceFM will both let you still use the OB root menu...
https://wiki.archlinux.org/index.php/PC … management
https://wiki.archlinux.org/index.php/Sp … management

Drag and drop to desktop, very Windows XP. SpaceFM shown (with compton shadows enabled)...

Screenshot-07182016-034706AM.th.png

Neato, you can size the desktop icons up to 96x96!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#13 2016-07-18 08:52:14

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,552
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

hhh wrote:
johnraff wrote:

xfdesktop4 is another option for icons on desktop. It overwrites nitrogen, so you would disable that. (I'm using this atm)

This will disable the openbox menu

Only the right-click (which isn't usable anyway if you have a maximized app window); keyboard Super+Space still works.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#14 2016-07-18 09:16:35

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

Cool, I didn't know that!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#15 2016-07-18 18:57:59

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

I do have pcman installed, but I don't want it to control the desktop because I don't want to lose OB root-menu or nitrogen. Anyway, it's  only a matter of aesthetics. I can live with that.

On the other hand, I really appreciate your interest and suggestions.

cheers

Last edited by ututo (2016-07-18 19:04:19)


BunsenLabs on deviantArt
Don't touch my git!

Offline

#16 2016-07-18 19:08:05

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

I'll give both xfdesktop4 and pcmanfm a try and see if they suit my needs wink
Thanks


BunsenLabs on deviantArt
Don't touch my git!

Offline

#17 2016-07-19 00:27:05

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

@hhh, man! It works like a charm! Thankss

2016-07-18-212149_1920x1080_scrot.th.png


BunsenLabs on deviantArt
Don't touch my git!

Offline

#18 2016-07-19 00:52:19

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [SOLVED] Compton - Disable shadowing of icons (idesk)

wink Gorgeous desktop theme!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

Board footer

Powered by FluxBB