LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2014, 05:51 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Weird issue with compton


Hi, I am running a 2bwm session. When I get on it this is my first screen:

http://screencloud.net/v/v46D

(I know, astonishing)

I didn't set a wallpaper yet so I set the green background with "xsetroot -solid \#254444" on my .xinitrc. However if I use compton my "wallpaper" turns to this:

http://screencloud.net/v/jQ2Q

And even if I issue "xsetroot -solid \#254444" I can't get the green background back. I know it is not a major issue, but something is wrong somewhere.

I got my compton.conf from here and I didn't change a thing. Unless I am missing something I don't see nothing on the compton.conf that would set a gray background.

Thanks. It is a silly issue but it is still an issue.

PS: My .xinitrc, just in case
 
Old 04-16-2014, 07:29 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
This is indeed weird behavior. I se in your .xinitrc that you rename the root-window to 2bwm (why do you do that?). It may be possible that this confuses Compton so that it can't properly determine the root-window. I would start with commenting out that line and try it again.
 
Old 04-16-2014, 07:32 PM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
I've set that because I've seen it somewhere as a way to set the wm name. And it is not causing the issue. I just commented it, restarted X session and it still happens.
 
Old 04-16-2014, 07:39 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by moisespedro View Post
I've set that because I've seen it somewhere as a way to set the wm name.
That is at least not what the manpage says, but I may be wrong.
Anyways, I can see nothing wrong in your config. Do you have those issues only with 2bwm or also with other WMs?
 
Old 04-16-2014, 07:40 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Well, I only use 2bwm. When I am not using 2bwm I use XFCE so I can't really say.

EDIT: Had i3 installed here, tested on it and as soon as I start compton the gray background appears.

Last edited by moisespedro; 04-16-2014 at 07:42 PM.
 
Old 04-16-2014, 07:53 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
OK, I just tried it with Blackbox and there also the background switches color when Compton is started when using a solid color set with xsetroot, but not when using a wallpaper (set with feh). So it is definitely a Compton issue. A look at the Compton bugtracker only revealed this topic that might be related: https://github.com/chjj/compton/issues/102
Maybe you can try some of the suggestions there or even report this behavior as bug. It seems that the Compton developer is a very helpful guy and can help you to fix that issue.
 
Old 04-16-2014, 08:03 PM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Well, gonna take a look at that later. I am going on a trip today (or tomorrow). It is kinda of an annoyance cause I liked the green background, wasn't really planning to set a wallpaper. I guess I can get used to the gray background or not use compton.
 
Old 04-17-2014, 05:13 AM   #8
Uncle Lumpy
Member
 
Registered: Feb 2010
Posts: 63

Rep: Reputation: 48
How about creating a *.jpg of that color green and then using that *.jpg as your wallpaper? You'd have the green background and maybe be able to use compton too? Just a kludge until you can figure out what is going on...

Lumpy
 
Old 04-17-2014, 11:07 AM   #9
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Looks like compton does not support xsetroot [†]. It may be easiest to use a different wallpaper setter, such as feh.
 
Old 04-21-2014, 04:35 PM   #10
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by Uncle Lumpy View Post
How about creating a *.jpg of that color green and then using that *.jpg as your wallpaper? You'd have the green background and maybe be able to use compton too? Just a kludge until you can figure out what is going on...

Lumpy
Man, that solution was so simple I didn't think about it lol

Quote:
Originally Posted by qweasd View Post
Looks like compton does not support xsetroot [†]. It may be easiest to use a different wallpaper setter, such as feh.
Thanks for the info
 
Old 04-21-2014, 05:47 PM   #11
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
https://www.youtube.com/watch?v=g87Xyt2agWQ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't access Windows. Weird, weird grub issue. MightyHard Linux - General 2 12-31-2008 05:35 PM
Issue with firefox - weird peeths003 Linux - Software 3 12-05-2008 06:02 AM
weird iptraf issue.... Basslord1124 Slackware 2 02-07-2007 10:43 AM
a weird issue about which jiawj Red Hat 2 04-26-2005 10:06 AM
Weird apt issue ? frochet Debian 1 12-31-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:34 PM.

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