Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only working in terminal #72

Open
noavolution opened this issue Aug 12, 2022 · 2 comments
Open

Only working in terminal #72

noavolution opened this issue Aug 12, 2022 · 2 comments

Comments

@noavolution
Copy link

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!

@quacoo1
Copy link

quacoo1 commented Oct 26, 2022

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"

@josvanr
Copy link

josvanr commented Nov 13, 2022

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants