gtk3-nocsd icon indicating copy to clipboard operation
gtk3-nocsd copied to clipboard

Only working in terminal

Open noavolution opened this issue 3 years ago • 2 comments

Hi,

I followed the README instructions (on fedora 36) and put

export GTK_CSD=0
export LD_PRELOAD=<"full path" of your libgtk3-nocsd.so.0 file>

into my .bashrc. But it only works when I launch my apps from the terminal. How would I need to configure it to also work when launching apps from, for example, rofi?

Thanks in advance!

noavolution avatar Aug 12 '22 19:08 noavolution

Hello, Did you put the actual path to your libgtk3-nocsd.so.0 file?

Something like:

export LD_PRELOAD="/snap/gnome-42-2204/29/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0"

quacoo1 avatar Oct 26 '22 18:10 quacoo1

Hello!

I'm not exactly sure how it works on your system, but I use lightdm as display manager, and that reads ~/.xsessionrc before starting, you can set the environment variables there:

export GTK_CSD=0 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0

or whatever the location of your library is. Then after logging in again, it will work for all apps !

josvanr avatar Nov 13 '22 10:11 josvanr