Control: tags -1 + confirmed upstream On 09/01/2016 04:24 PM, Vincent Lefevre wrote: > When I connect to some machine with ssh and X11 forwarding (e.g. > "ssh -X hostname"), CSD are not disabled. The cause is that > $LD_PRELOAD is not defined (does not contain libgtk3-nocsd.so.0). > > I don't think that gtk3-nocsd can make this work automatically,
No, because we don't know if gtk3-nocsd is installed on a remote system. > but it should provide a way for the user to do this easily and > add some documentation. Yes. Patches are of course welcome. :-) > Well, the main problem is that the user > doesn't know the library name; currently it is libgtk3-nocsd.so.0, > but I suppose that this may change in the future (the 0 could > change to a higher value, for instance). And the user should not > be forced to guess. A solution could be to call gtk3-nocsd with > some option that would give the library name, so that the user > could have something like > > if [ -z "$GTK_CSD" ]; then > export LD_PRELOAD=$(gtk3-nocsd --lib) > export GTK_CSD=0 > fi > > in one of its startup files. Sounds reasonable, I will add that. Regards, Christian

