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

Nautilus on GNOME 45 looks broken #51

Open
DannyFatty707 opened this issue Oct 10, 2023 · 3 comments
Open

Nautilus on GNOME 45 looks broken #51

DannyFatty707 opened this issue Oct 10, 2023 · 3 comments

Comments

@DannyFatty707
Copy link

Screenshot from 2023-10-10 14-07-59
After upgrading to GNOME 45, Nautilus seems broken with the background's transparency. All other GTK4 apps work fine.
image
For example, Easy Effects (which is on GTK4) works fine with no issues.

@kschat
Copy link

kschat commented Oct 10, 2023

I was able to workaround this by adding the following CSS to ~/.config/gtk-4.0/gtk.css:

/* Temp workaround */
.nautilus-window .content-pane {
    background-color: rgb(245, 245, 245);
}

This will at least make Nautilus usable until a proper patch is applied.

@DannyFatty707
Copy link
Author

DannyFatty707 commented Oct 12, 2023

I was able to workaround this by adding the following CSS to ~/.config/gtk-4.0/gtk.css:

/* Temp workaround */
.nautilus-window .content-pane {
    background-color: rgb(245, 245, 245);
}

This will at least make Nautilus usable until a proper patch is applied.

image
It works, but it's just for the light mode. I'm on dark. Can you make one for dark mode?

Update: I've now modified kschat's workaround for Mono's Dark mode:

/* Temp workaround */
.nautilus-window .content-pane {
background-color: rgb(42, 42, 42);
}

You need to replace 245 with 42 for dark mode, or use 245 if you're on light mode.

image

As you can see here, it looks better now.

@4JX
Copy link

4JX commented Nov 25, 2023

In my case the sidebar was also transparent, so I needed an extra selector

.nautilus-window .content-pane,
.nautilus-window .sidebar-pane {
    background-color: rgb(42, 42, 42);
}

Though I'm pretty sure #252525 is the de-facto dark background color and #f0f0f0 the light mode one

4JX added a commit to 4JX/nixos-config that referenced this issue Nov 25, 2023
Until witalihirsch/Mono-gtk-theme#51 is resolved/full Gnome 45 support exists
4JX added a commit to 4JX/nixos-config that referenced this issue Jan 22, 2024
Until witalihirsch/Mono-gtk-theme#51 is resolved/full Gnome 45 support exists
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