hardpixel / unite-shell

Unite is an extension that makes GNOME Shell look like Ubuntu Unity Shell.
GNU General Public License v3.0
906 stars 61 forks source link

Flatpak + Flatseal #303

Closed Froggy232 closed 1 year ago

Froggy232 commented 2 years ago

Hi, I desperately try to use the "Hide Windows Titlebar" function with flatpak app, and I was wondering if it was possible by tweaking flatseal. Capture d’écran du 2022-07-22 00-27-39 Here is a screen capture of flatseal. If not, do you know if this function will work with flatpak in the future? Thanks you

jonian commented 2 years ago

Hi @Froggy232, I don't know how you can do it with flatseal, but you can make flatpak apps work using the commands below:

sudo flatpak override --filesystem=xdg-config/gtk-3.0
sudo flatpak override --filesystem=xdg-config/gtk-4.0

# This command depends on where unite is installed
sudo flatpak override --filesystem=xdg-data/gnome-shell/extensions/unite@hardpixel.eu/styles

After that you can run flatpak override --show to see if your commands worked.

[Context]
filesystems=xdg-config/gtk-3.0;xdg-data/gnome-shell/extensions/unite@hardpixel.eu/styles;xdg-config/gtk-4.0;

If you can do the same with flatseal, please share you solution.

Froggy232 commented 2 years ago

Hello, Thanks you a lot for your answer! I'm away from home for a few days, but I will try your solution ASAP. I don't know how to make it work with flatseal, but if it's work with CLI it's good. I will report back and close the issue if it work. Thanks you a lot!

Froggy232 commented 1 year ago

It worked! Thanks you a lot

uohmak4fvpqe commented 1 year ago

Hi @Froggy232, I don't know how you can do it with flatseal, but you can make flatpak apps work using the commands below:

sudo flatpak override --filesystem=xdg-config/gtk-3.0
sudo flatpak override --filesystem=xdg-config/gtk-4.0

# This command depends on where unite is installed
sudo flatpak override --filesystem=xdg-data/gnome-shell/extensions/unite@hardpixel.eu/styles

After that you can run flatpak override --show to see if your commands worked.

[Context]
filesystems=xdg-config/gtk-3.0;xdg-data/gnome-shell/extensions/unite@hardpixel.eu/styles;xdg-config/gtk-4.0;

If you can do the same with flatseal, please share you solution.

Not working for me, be it Flatseal or Gedit I have the path ~/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles indeed and flatpak override --show prints the same as you

gaussandhisgun commented 10 months ago

If you can do the same with flatseal, please share you solution.

forcing the same overrides to global under Filesystem seemed to work (if anyone still cares about this) image image