franglais125 / no-title-bar

Integrates maximized windows with the top panel
https://extensions.gnome.org/extension/1267/no-title-bar/
GNU General Public License v2.0
278 stars 39 forks source link

Does it work on Linux Mint 18.3? #81

Open zachliu opened 6 years ago

zachliu commented 6 years ago

I'm on Cinnamon 3.6.7 with GNOME Terminal 3.18.3. My hope was to get rid of the title bar of my gnome-terminal. But no luck till now. My $ screenfetch -t

 MMMMMMMMMMMMMMMMMMMMMMMMMmds+.        OS: Mint 18.3 sylvia
 MMm----::-://////////////oymNMd+`     Kernel: x86_64 Linux 4.13.0-43-generic
 MMd      /++                -sNMd:    Uptime: 1h 25m
 MMNso/`  dMM    `.::-. .-::.` .hMN:   Packages: 3064
 ddddMMh  dMM   :hNMNMNhNMNMNh: `NMm   Shell: zsh 5.1.1
     NMm  dMM  .NMN/-+MMM+-/NMN` dMM   Resolution: 1920x1080
     NMm  dMM  -MMm  `MMM   dMM. dMM   DE: Cinnamon 3.6.7
     NMm  dMM  -MMm  `MMM   dMM. dMM   WM: Muffin
     NMm  dMM  .mmd  `mmm   yMM. dMM   WM Theme: Linux Mint (Windos-10-Dark)
     NMm  dMM`  ..`   ...   ydm. dMM   GTK Theme: Mint-X [GTK2/3]
     hMM- +MMd/-------...-:sdds  dMM   Icon Theme: Mint-X
     -NMm- :hNMNNNmdddddddddy/`  dMM   Font: Noto Sans 9
      -dMNs-``-::::-------.``    dMM   CPU: Intel Core i7-7700HQ CPU @ 3.8GHz
       `/dMNmy+/:-------------:/yMMM   GPU: intel Iris 640
          ./ydNMMMMMMMMMMMMMMMMMMMMM   RAM: 5724MiB / 16020MiB
             \.MMMMMMMMMMMMMMMMMMM
franglais125 commented 6 years ago

I am not sure I can answer your question fully. You may be able to achieve the same goal by using xprop and setting the boolean manually (at least for one window to see if it works at all).

You need xprop and to set _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED for the terminal window.

You can refer to the source (here https://github.com/franglais125/no-title-bar/blob/master/decoration.js#L329) for some guidance.