Code Monkey home page Code Monkey logo

Comments (7)

BzfpWg9g avatar BzfpWg9g commented on May 24, 2024

Workaround: https://github.com/PCMan/gtk3-nocsd. Installing procedure depends on your OS

from tuner.

smalltimer avatar smalltimer commented on May 24, 2024

Thanks for the response @BzfpWg9g - had no idea gtk-nocsd existed! I'm on Debian 10 and I installed it right from the repo. But unfortunately can't figure out how to get the nocsd to work with flatpak. Any tips? Couldn't find too many answers by googling.

from tuner.

BzfpWg9g avatar BzfpWg9g commented on May 24, 2024

Sorry, @smalltimer, no experience with flatpk but there should be deb file in normal repository. After installing try adding this to ~/.profile

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

Maybe you need to reboot/logout afterwards. I know I had some difficulties getting this to work but can't remember the steps.

from tuner.

smalltimer avatar smalltimer commented on May 24, 2024

Hi again, do you mean this repo for tuner has a .deb too? I can't seem to be able to find it.

from tuner.

BzfpWg9g avatar BzfpWg9g commented on May 24, 2024

Ah I understand. You installed Tuner via flatpak and gtk3-nocsd via deb. No, unfortunately there is no deb for Tuner (as far as I know). Did you try adding the 2 lines in ~/.profile? Did it work?

If not maybe flatpak, snap, etc. behave differently than regular installations. I built Tuner from source so I can't tell. If you want to check if gtk3-nocsd is working you could try installing some regular application which uses client side decorations, e.g.. gnome-mahjongg.

from tuner.

smalltimer avatar smalltimer commented on May 24, 2024

With Debian you can install gtk3-nocsd systemwide so there's no need to include it in .profile. I tested it with gnome to-do and it works.

Regarding tuner: I don't understand why CSD cannot be left alone In any case, the software works. It's just ugly on most operating systems! Leaving this open in case someone comes up with a trick to make gtk3-nocsd work with flatpak.

from tuner.

BzfpWg9g avatar BzfpWg9g commented on May 24, 2024

I read some pages about flatpak now and it seems the applications are isolated from the rest of the system. Stumbled across this site: https://githubmemory.com/repo/kujeger/flatpak-gog/issues

flatpak run com.gog.PrisonArchitect
ERROR: ld.so: object '/home//.var/app/com.spotify.Client/libgtk3-nocsd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Running Prison Architect
ERROR: ld.so: object '/home//.var/app/com.spotify.Client/libgtk3-nocsd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

You could try to find out the folder for Tuner, maybe something like /home//.var/app/com.github.louis77.tuner/ and putting libgtk3-nocsd.so there (if the folder is persistent).

from tuner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.