Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to enable minimize and maximize buttons?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
cdogg
Posts: 2
Joined: 2017-12-27 18:47

How to enable minimize and maximize buttons?

#1 Post by cdogg »

So it would be nice to have the Minimize, Maximize, and Close buttons in the top bar of open programs. How can I get them back and why were they ever removed?

Also would be nice to see all open programs in the top panel like any other modern taskbar. And it would be really nice to add shortcuts to the desktop.

Anyone know how I can get all these features on Debian 9?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: How to enable minimize and maximize buttons?

#2 Post by 4D696B65 »

gnome-tweak-tool?

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: How to enable minimize and maximize buttons?

#3 Post by steve_v »

You could start by mentioning which of the half-dozen or so possible desktop environments you are running, they all have different ways to do what you ask.
That said, the only one with defaults as dumb as you describe is the current GNOME desktop, if that's what you're running then see above.
My solution would probably be to ditch GNOME though, I hate the UI changes in v3 with a passion.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

cdogg
Posts: 2
Joined: 2017-12-27 18:47

Re: How to enable minimize and maximize buttons?

#4 Post by cdogg »

Running the default desktop environment.

Yes gnome-tweak-tool is what I needed. Thank you

User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1490
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 58 times

Re: How to enable minimize and maximize buttons?

#5 Post by oswaldkelso »

These are maxall and minall scripts. I use openbox but they are pretty DE/WM independent.

My maxall script

Code: Select all

#!/bin/bash
window_ids=$(wmctrl -l | cut -f1 -d " ")
for window_id in $window_ids
do
    wmctrl -i -r "$window_id" -b add,maximized_vert,maximized_horz
done
My minall script. Should probably be called unmax but it's in my openbox menu, xdotool in tint2 and fittstool across several machines so minall it is.

Code: Select all

#!/bin/bash
window_ids=$(wmctrl -l | cut -f1 -d " ")
for window_id in $window_ids
do

    wmctrl -i -r "$window_id" -b remove,maximized_vert,maximized_horz
done
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

Post Reply