No Minimize/Maximize buttons in Gnome 3

305

hm... Actually there's an option for minimize/maximize it's kinda hidden, when you click on nautilus top panel you get:

enter image description here

I'll add more solutions, when/if I find.

Share:
305

Related videos on Youtube

Hamed Kamrava
Author by

Hamed Kamrava

Updated on September 18, 2022

Comments

  • Hamed Kamrava
    Hamed Kamrava over 1 year

    I'm having trouble figuring out the problem with the following code. I'm trying to change the prop animating on a ProgressBarAndroid, and make it toggle every second. The code works as intended if I set loading to true in my constructor, but not if it's set to false (which is what I want, I don't want it to start animating right away). When it's set to false, the progressbar stays invisible all the time. Any ideas?

    import React, { Component } from 'react';
    import { ProgressBarAndroid } from 'react-native';
    
    export default class App extends Component {
      constructor(props) {
        super(props);
        this.state = {loading: false}; // works if it is set to true here instead
    
        // Toggle the state every second
        setInterval(() => {
          this.setState({loading: !this.state.loading});
        }, 1000);
      }
      render() {
        return (
            <ProgressBarAndroid animating={this.state.loading}></ProgressBarAndroid>
        );
      }
    }
    
  • Hamed Kamrava
    Hamed Kamrava almost 10 years
    I know that, not interesting...
  • JoKeR
    JoKeR almost 10 years
    window placement has nothing to do with buttons:-)
  • JoKeR
    JoKeR almost 10 years
    so, I did some deep research including Gnome official sources, and currently it's not possible to do with Gnome 3.10+ only the way like on the screenshot, not even adding extensions will help you to add minimize/maximize buttons. Only if you install/replace to other file browser. I guess this be fixed but it's a question to Gnome developers.
  • OdinRW
    OdinRW almost 10 years
    I use native windows placement plus keyboard shortcuts and I never felt like I need these buttons :p I already said with Nautilus it can't be done in Gnome 3 ;)
  • OdinRW
    OdinRW almost 10 years
    Apparently your research is 3 hours late than my answer :p
  • Ron
    Ron over 8 years
    A little explanation would be useful. What does the command do, why it will work..etc.
  • Admin
    Admin over 6 years
    Yeah this works, although it does mess with the positions of other components a bit. Another dirty workaround I just found, which doesn't affect the position of other components, is to first set loading to true, but then by using a setTimeout with a delay of 1 ms immediately set it back to false.
  • ReyHaynes
    ReyHaynes over 6 years
    @user2227486 That method works as well, it was actually my initial solution, but you'd have to continuously increase the delay based on how many moving parts are happening synchronously...and while I didn't have position issues you can control the position issue by styling View.
  • trixn
    trixn over 6 years
    @user2227486 You do not need that 1ms timeout. Just put that into componentDidMount() because that will be called after the initial render.