You are not logged in.
Greetings,
While trying to set up transparency for xterm in xmonad, I came across a strange error with xcompmgr. When I try to invoke it in a terminal, I get the following spam:
error 143: BadPicture request 139 minor 8 serial 2444
error 143: BadPicture request 139 minor 8 serial 2468
error 143: BadPicture request 139 minor 8 serial 2492And so on until I terminate it.
The Arch Wiki says that installing feh can solve this issue (specifically for awesome WM)... however, I already have feh installed.
If I simply invoke xcompmgr in my .xinitrc, it breaks completely - My background image (set with xloadimage) doesn't load properly and is simply replaced by a ghost image whatever window was last covering my screen.
Here is my .xinitrc if it helps. I commented out xcompmgr and devilspie because of the trouble they gave me.
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xsetroot -cursor_name left_ptr
xloadimage -onroot -center -background 444444 /home/atticus/Images/download.png
#xcompmgr &
#devilspie -a &
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
xrdb ~/.Xresources
exec xmonadLast edited by crayZsaaron (2013-08-05 00:59:27)
Offline
don't know about your particular issues, but i found xcompmgr pretty buggy (memory leaks, artefacts) and am happy with compton-git (AUR), using awesome WM.
Offline
Interestingly enough, I get a very similar error with compton:
error 143 (BadPicture) request 139 minor 8 serial 2222 ("RenderBadPicture (invalid Picture parameter)")So that probably indicates a deeper problem on my end, right? I guess I'm not really sure what it means by "Picture".
Last edited by crayZsaaron (2013-08-03 21:39:20)
Offline
Update:
It seems that xcompmgr can have some issues when xloadimage is used to set the background, as I was doing (see my posted .xinitrc). Now, I have replaced that line with:
feh --bg-scale /path/to/background.pngAnd everything works fine.
P.S. I'm not quite sure how to mark this solved...
Last edited by crayZsaaron (2013-08-05 00:58:46)
Offline
P.S. I'm not quite sure how to mark this solved...
Looks like you got it ![]()
Edit: BTW, Welcome to Arch Linux.
Last edited by ewaller (2013-08-05 01:02:14)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Online
I would recommend using compton (or better, compton-git) rather than xcompmgr. Xcompmgr was created as a proof-of-concept apparently, and has had some know issues in the past, which have included instability, memory leaks, and other generally funny behavior. I have no idea what the status is now, but I would imagine that it is probably not too much better (if at all) since I last used it, as the arch package has not been updated in nearly a year. Compton is a fork of xcompmgr-dana (dcompmgr) which was a fork of xcompmgr. It is pretty actively developed, but more stable, and offers numerous features that xcompmgr doesn't. Besides, the basic syntax is identical.
But if I had to pick one reason to try to sway you from xcompmgr it would be simply that it really is not very stable. Of course, do what you like, but those are my 2.41 cents.
Offline