You are not logged in.
Pages: 1
Hi,
how do I define how the window shadows are drawn? the offsets and so on? by default the shadow seems to fall towards the top left corner that's just wrong. I remember that I did change those settings somewhere but I just can't remember how I did it..
- bracket
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
In the xfwm4 code: src/compositor.c
Offline
isn't the option there in wm settings?
Before you criticize someone, walk a mile in their shoes
That way, if they get angry, they're a mile away and barefoot
Offline
In the xfwm4 code: src/compositor.c
Is that really the only place? I'm using the 4.4 beta and I REALLY hope there would be some sort of gui or even setting file where you could edit these. It's possible that I was using xcompmgr earlier, but don't remember..
- bracket
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
isn't the option there in wm settings?
please tell me if you can find it. becouse I didn't.
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
In the settings dialog you can only change the opacity (transparent - opaque) settings
and enable/disable the dialog/window shadow.
There is no way to change the shadow position/offset. There will probably never a setting
to change this, since it doesn't fit in the Xfce philosophy.
So you have to change the #define's in the compositor.c file .
Offline
Mm this also seems to affect the shadow: <install_dir>/share/themes/<your_theme>/xfwm4/themerc
Offline
Juuust perfect.. now I can't get the compositor activated. No matter what I do. the compositor tab just wont come to the Window Manager Tweaks. I know that xfwm4 should be started with --compositor=on option but that just doesn't do it. And yes, there is composite "true" on my x.org.conf
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
Are you sure xfwm4 is compiled with compositor support?
[code=Command]xfwm4 -V[/code]
Offline
Yes, twice already.
$ xfwm4 -V
This is xfwm4 version 4.3.90.2 (revision 22378) for Xfce 4.3.90.2
Released under the terms of the GNU General Public License.
Compiled against GTK+-2.8.19, using GTK+-2.8.19.
Build configuration and supported features:
- Startup notification support: No
- Render support: Yes
- Xrandr support: Yes
- Embedded compositor: Yes
- KDE systray proxy (deprecated): No
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
Ok, somehow a reboot did what restarting the X didn't so now the compositor works again.
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
Yes! I did it! there are certain setting in the ~/.config/xfce4/xfwm4/xfwm4rc
shadow_delta_height=5
shadow_delta_width=5
shadow_delta_x=0
shadow_delta_y=0
Came settings can be used in the themerc file of each xfwm4 theme in(well, in gentoo) /usr/share/themes/ but I guess the correct way is to edit that xfwm4rc file instead. Why those settings are not in the Compositor tab in the Window Manager Tweaks?
[ :: bracket :: ]
[ :: http://nutz.wox.org/bracket/ :: ]
Offline
Because shadow offset wouldn't be a userfriendly setting.
Xfce must be easy to configure and since most people won't change this value, a hidden setting is good enough.
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 570.16 KiB (Peak: 587 KiB) ]