You are not logged in.
Pages: 1
I am new to Linux and installing Arch was quite challenging. ![]()
I installed xfce and compton, but presently there are two problems regarding compton that I am unable to solve or find a solution for anywhere. One problem is when I use this code in the ~/.config/compton.conf file:
glx-use-copysubbuffermesa = true; Frankly I don't know what this thing does (I just copy-pasted the config file code in the ArchWiki page of Compton and commented out this line) , but when I use it and enable compton I get an error:
[hari@arch ~]$ compton --config ~/.config/compton.conf
glx_init(): Failed to acquire glXCopySubBufferMESA(). What does this mean and is there a solution for it?
The second problem is that when I remove that line from the config file and I enable compton, it works but only as long as the terminal is open. It stops working once I close the terminal. I am also not able to give any further commands using that particular terminal window. It's like the process of enabling compton is still going on and not returning the control to me.
Thanks in advance!
Last edited by Hari701 (2014-04-17 02:47:09)
Offline
The second problem is that when I remove that line from the config file and I enable compton, it works but only as long as the terminal is open. It stops working once I close the terminal. I am also not able to give any further commands using that particular terminal window. It's like the process of enabling compton is still going on and not returning the control to me.
Of course it does, the same thing happens with any application you run in a terminal.
Use the -b option...
-b
Daemonize process. Fork to background after initialization.
Offline
Oh, thanks! Any idea about the other problem?
Offline
The config is just an example. You should look up the syntax definitions, which is quite easy. You don't need to setup every config, just the ones you want to use and how.
A quick google brought up:
https://github.com/chjj/compton/wiki/perf-guide
It explains what is going on with your first issue.
As for the second question, you can always use & to run in background. For example, in a run command you can do "compton &" or in xinitrc you can add "compton &" or in terminal you can "compton &". Just tossing out some alternatives for ya.
Offline
glx-use-copysubbuffermesa = true; This option may or may not improve compton performance but only works with mesa drivers (which I assume you aren't using).
Just disable it if it doesn't work. you can read more about different config option in compton's documentation
As for the second question, you can always use & to run in background.
This actually doesn't work if you run application from terminal emulator and close it. You can use the -b option with compton, this thread mentions a few solutions for other applications that can't be daemonized
Offline
Thanks a lot, everyone. Really happy about the quick and helpful response in the forum! ![]()
Offline
Pages: 1