Reduce height of titlebar and size of controls?

Thanks for all your replies on this, and I apologize for bringing you back here. Still unable to figure out what happened that caused my Titlebars and Headerbars to suddenly change.

That said, I managed to do what I wanted and will share below in the event anyone is interested:

Following guidance per this link, I managed to get myself comfortable enough with modifying and creating the new .css file needed in ~/.config/gtk-3.0 folder; it was not already there and I am unsure if it should have been.
After following the directions and suggestions provided for editing this /.config/gtk-3.0/gtk.css, I clicked save. Then hit alt+F2 then, 'r', to reload gnome-shell.

My gtk.css file contents are an almalgamation of what I was able to find and modify, and I like the final result compared to the mess the gnome Headerbar/Titlebar was before starting.

My gtk.css contents:

/* shrink headerbars */
headerbar {
    min-height: 0px;
    padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
    padding-right: 2px;
    border: none;
    background-color: #2d2d2d;
}

headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
    margin-top: 0px; /* same as headerbar side padding for nicer proportions */
    border: none;
    margin-bottom: 0px;
}

/* shrink ssd titlebars */
.default-decoration {
    min-height: 0; /* let the entry and button drive the titlebar size */
    padding: 0px;
    border: none;
    background-color: #2d2d2d;
}

.default-decoration .titlebutton {
    min-height: 0px; /* tweak these two props to reduce button size */
    min-width: 0px;
    border: none;
}

window.ssd headerbar.titlebar {
    padding-top: 3px;
    border: none;
    padding-bottom: 3px;
    min-height: 0;
}

window.ssd headerbar.titlebar button.titlebutton {
    padding-top: 3px;
    padding-bottom:3px;
    border: none;
    min-height: 0;
}

button {
    icon-style: regular; 
 }

Night/Day Comparison:
*Note: Nautilus alongside Nemo
Peek-2022-05-30-15-20.md.gif
To my dismay, now that I seem to have this Titlebar issue working correctly, as well as the immediate search function of Nautilus under control, I want to go back to Nautilus if it weren't for two exceptions.

  1. Nemo has the 'dual-pane'option where Nautilus doesn't. I really like that dual-pane functionality. As customizable as Linux/Ubuntu is, and by extension Z16;
  • Is anyone able to think of a way to get that functionality into Nautilus?
  • If not possible, I would like to know if it would be possible if I could remove the File,Edit,View, etc. options from the default view of Nemo?
  1. When you search and then hit Backspace too many times, you end up navigating all the way to root... which whoa... if you have a fast keyboard repeat rate, you're doomed.
  • Even worse - you can't use Nautilus's navigation arrow -> to get back to any of the folders you might have sped past.
    **#2 is the root cause that I couldn't remember to mention before regarding Nautilus which got me started on questioning gnome and Nautilus and blowing up your forums with all these requests. I just hope this helps someone else down the line.

I've managed to get everything to my liking now, including my terminal window titlebar and border. :roll_eyes:
Peek-2022-05-30-15-58.gif
Now I just need to find a way to force nemo to handle all applications; some are still being opened by Nautilus after performing all suggested without hacking the system. I want to avoid uninstalling Nautilus because I've read it would break OSs. The dependencies that are uninstalled when sudo apt remove is used on Z16 scared me a little because there were quite a few "zorin" references in the return warning text.

Thanks!

1 Like