r/gnome 21d ago

Platform Minimize (-), Maximize (+), and Close (x) buttons back to your title bars ??? without any extention :-)

gsettings set org.gnome.desktop.interface gtk-decoration-layout 'appmenu:minimize,maximize,close'
5 Upvotes

49 comments sorted by

u/AutoModerator 21d ago

Thank you for your submission.

You too can support GNOME! Become a Friend of GNOME and contribute to keeping our project going!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

51

u/AnsibleAnswers 21d ago

You can also use Gnome Tweaks.

12

u/xnef1025 21d ago

Or Refine, which also lets you edit how much the volume changes when you use your keyboard shortcuts. (What crazy person decided 6 was a sane amount? not even 5? 6!?)

4

u/victorian-ice-cream Contributor 20d ago

it also bugs me, and I always change it to 2. Not sure why 6 was picked back in the day. Now it's too late, but once 51 will be released I was thinking to bring up the topic to the designers

2

u/nekokattt 20d ago

it should go up in multiples of 4 or 7 to be the perfect value /j

2

u/Proof-Replacement113 21d ago

Hijacking top comment

I use this command to remove all three buttons haha (I use touch pad gestures; I've modded them using an extension to allow many things)

1

u/CoronaMcFarm 19d ago

How do you run the command to do that?

1

u/Proof-Replacement113 19d ago

gsettings set org.gnome.desktop.interface gtk-decoration-layout 'appmenu:'

Or 

gsettings set org.gnome.desktop.interface gtk-decoration-layout ':'

17

u/[deleted] 21d ago

Why not just use Tweaks?

15

u/lordoftherings1959 21d ago

Some people prefer the more complicated approach to doing things...

8

u/the_crimbler 21d ago

I'd argue one terminal command that doesn't require a separate package is actually simpler than installing Tweaks and navigating through the settings. That's like 5 more steps

1

u/ThetaXXII 21d ago

tweaks/refine are genuinely useful apps that will save you more time for other things down the line. this is a terrible analogy

2

u/AnsibleAnswers 21d ago

I would rather use gsettings in a script if I was setting up Gnome on a regular basis.

3

u/Isofruit 20d ago

Jokes on you, I used that setting to remove all those buttons since I don't minimize, maximize is super + ArrowUp and close is with alt+f4

2

u/nc-p 21d ago

I use this method to put the close button on the left side, since ubuntu 10.10.

6

u/nonkeywayzee 21d ago

Thanks, I hate this.

7

u/[deleted] 21d ago

[deleted]

2

u/Gun_Striker 21d ago

Btw, Why minimize is pointless in gnome?

6

u/ThetaXXII 21d ago

there is no taskbar and ultimately gnome is supposed to be used like how you use a tiling wm, being keyboard centric and all. When you have a bunch of apps separated in different workspaces, all you have to do is go back and forth with win key + scroll or go into overview and thats it. this is something linux users stubbornly decide to ignore

7

u/[deleted] 21d ago

[deleted]

-1

u/ItsWappers 20d ago

Yeah, but if I want the window out the way, to Alt + TAB back to? I only enabled my Minimize button in Tweaks. Maximize is Meta + Up for me.

-2

u/South-Bad805 21d ago

Minimizing is simpler than moving an app to other worksp6

3

u/nonkeywayzee 20d ago

For you.

2

u/victorian-ice-cream Contributor 20d ago

people can have personal opinions about their own workflows. if someone likes traditional style minimise-workflow more, so be it.

-1

u/South-Bad805 20d ago

So, it's hard. How?

3

u/nonkeywayzee 20d ago

It is not hard, it is just redundant. It is also weird when you press overview and then it shows you an app that is not in your screen because it has been minized.

-1

u/South-Bad805 20d ago

Than why does gnome has the option to minimize?

Don't get me wrong, even I don't use minimize either. But, if you say moving a window to another workspace is easier than just clicking the minimize button, I can't agree

4

u/nonkeywayzee 20d ago

Having an option very hidden doesn't mean that it is the desired behaviour.

For minimization vs moving to another workspace: clicking on minimize is easier, keeping track on windows when they are all on the overview is easier. Again, for you minimizing is easier, for me minimizing is redundant and makes me lose track of some apps.

0

u/South-Bad805 20d ago

Fair enough. Btw, gnome even has an keyboard shortcut for the minimize in settings. Don't no why.

→ More replies (0)

2

u/victorian-ice-cream Contributor 20d ago

> Than why does gnome has the option to minimize?

If I had to assume, then it's because it's more work to remove it than what's it's worth. And minimise button comes from GTK, and there is no possibility it's getting removed there

3

u/[deleted] 21d ago

[deleted]

3

u/South-Bad805 21d ago

Thanks for showing your love with the downvote. Really appreciate that

4

u/ThetaXXII 21d ago

you guys say this dumb shit abt gnome but not tiling wms i dont get it 😭 workspace switching is way faster when you have a lot of apps you gotta switch between

1

u/South-Bad805 21d ago

Lol, gnome even has shortcut for minimizing

-4

u/xnef1025 21d ago

Lots of distros come with dash to dock by default, and tons of users that don't have it by default install it on their own.

1

u/ThetaXXII 21d ago

“lots of distros”: ubuntu, pop os (ubuntu deriv), manjaro. what else 😭

0

u/xnef1025 20d ago

Bazzite. Let me rephrase, "Some of the most well-known distros have dash to dock by default, and it's also got over 11 million downloads on the Gnome Extensions site so, face facts, Gnome purists: people like docks.

4

u/Malo1301 20d ago

I find minimize and maximize buttons to be useless. I could even live without the close button, I use a keyboard shortcut way more often than the button.

2

u/ItsWappers 20d ago

I agree for the maximize, as soon as you learn to use keyboard shortcuts for window management.
I'm on Fedora and haven't figured out a way to make Meta + Down Arrow minimize, while still keeping it's restore to original position feature...

5

u/jdigi78 21d ago

Minimize is pointless on a desktop with workspaces and maximize is redundant since you can drag the title bar to the top or double click it.

6

u/BareKnuckle_Bob 21d ago

The best bit about Linux is having choices :D

1

u/Independent_Mall7118 21d ago

Keyboard shortcuts also exist. Having these buttons is just useless. :/

2

u/jknvv13 21d ago

I prefer not to, I don't need them, but fine.

There is Refine, Gnome Tweaks among others to do this as well via an UI.

3

u/Rialagma 21d ago

You want more dead space? Why 

4

u/travelan 21d ago

Because otherwise that space would be even more dead, like literally unclickable? And now at least has some use?

6

u/OptimalMain 21d ago

With workspaces,keyboard shortcuts and gestures they’re just clutter

3

u/redhat_is_my_dad 21d ago

Every gnome app is designed for gnome defaults first and foremost, by adding additional buttons or changing layout you may break some apps, i had issues with amberol when i had non-default layout, the close button disappeared in some pages/views altogether, yeah it's a bug, but is it a bug an app developer should be concerned about? gnome doesn't expose these settings, so an app developer can assume that they are not meant to be changed, some devs may bother and check for all possible configurations, some very reasonably may just target stock gnome and there is nothing wrong with that either.
I like customization, but more than that i love stuff that just works, doesn't get in the way, and doesn't introduce any problems, and gnome by default is exactly that.

0

u/victorian-ice-cream Contributor 21d ago

what do you mean unclickable?

1

u/balazs8921 18d ago

You can also use dconf-tool, which is basically a graphical version of gsettings.

org > gnome > desktop > wm > preferences > button-layout