Ocene za hide the titlebar
hide the titlebar — nanpuyue
Ocena uporabnika Łukasz Polowczyk
28 ocen
- Ocenjeno z 5 od 5— Olli Copperwolf, pred 9 meseciIt works very well and ditches the title bar. In management of extensions in Firefox, there are 3 urls that give you max, min, and close as well. Since they were all made by the same person, it seems they are referred at the bottom of the install page. So, easy peasy stuff here...
- Ocenjeno z 5 od 5— Kurotaku, pred 4 leti
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 16185473, pred 5 leti
- Ocenjeno z 5 od 5— the byung man, pred 6 leti
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 14788321, pred 6 leti
- Ocenjeno z 5 od 5— Grigorij, pred 6 letiAfter FireFox was updated to version 66.0 (64-bit). Doesn't work a small pixel high bar at the top.
We can't drag the windows around any more. - Ocenjeno z 5 od 5— Uporabnik Firefoxa 13402379, pred 7 letiGood for them who won't see close/minimize buttons. You can drag windows by small area between tabs and new tab button.
- Ocenjeno z 5 od 5— Tobias, pred 7 leti:-) super. THANKS. :-) :-) :-) :-) :-) :-) :-) It works and looks better than the build in solution. :-) :-) :-) :-) :-) :-) :-)
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 14264051, pred 7 leti
- Ocenjeno z 4 od 5— おまけ, pred 7 letiIt does work but it's a hacky solution and is not perfect. There are no minimize/maximize/close buttons. I hope mozilla adds this functionality by default.
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 14034577, pred 7 letiUbuntu Gnome 16.04.4 64-bit, Firefox 60.0 64-bit. It works!
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 14006935, pred 7 leti
- Ocenjeno z 5 od 5— Uporabnik Firefoxa 13912887, pred 7 letiFinally, a solution for a very common problem. It's a pity this add-on has so few users
- Ocenjeno z 5 od 5— zhangly, pred 7 letiDebian9 Gnome3 wayland firefox57.04 不能用,我按(http://eleveni386.7axu.com/blog/post/admin/Linux%E7%94%A8%E6%88%B7%E5%8E%BB%E6%8E%89Firefox-57-%E8%AE%A8%E5%8E%8C%E7%9A%84Title-bar)改了,OK!
install_hide_firefox_titlebar:
#!/bin/bash
# date: 2017-11-17
# license: GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt
# author: nanpuyue https://blog.nanpuyue.com
echo 'install: ~/.mozilla/native-messaging-hosts/hide_titlebar.json'
[[ -d ~/.mozilla/native-messaging-hosts ]] || mkdir -p ~/.mozilla/native-messaging-hosts
cat > ~/.mozilla/native-messaging-hosts/hide_titlebar.json << EOF
{
"name": "hide_titlebar",
"description": "Hide the Firefox titlebar.",
"path": "$HOME/.local/bin/hide-firefox-titlebar.sh",
"type": "stdio",
"allowed_extensions": ["hide-titlebar@nanpuyue.com"]
}
EOF
echo 'install: ~/.local/bin/hide-firefox-titlebar.sh'
[[ -d ~/.local/bin ]] || mkdir -p ~/.local/bin
cat > ~/.local/bin/hide-firefox-titlebar.sh << "EOF"
#!/bin/bash
# date: 2017-11-17
# license: GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt
# author: nanpuyue https://blog.nanpuyue.com
python - <from gtk.gdk import window_foreign_new, window_process_all_updates
import os
F_W_ID_List=os.popen("wmctrl -l|grep 'Firefox'").readlines()
id_list=[]
for iF_W_ID in F_W_ID_List:
w = window_foreign_new(int(iF_W_ID[:10], 16))
w.set_decorations(0)
window_process_all_updates()
EOF
chmod +x ~/.local/bin/hide-firefox-titlebar.sh
echo 'done' - Ocenjeno z 5 od 5— Uporabnik Firefoxa 13504291, pred 7 leti
- Ocenjeno z 3 od 5— Gammadeus, pred 7 letiI have already installed the script from the Github and I also run the 2. script (generated to ~/.local/bin directory) with the "-x" option), but it doesn't work.
How can I fix the problem ?
I use Firefox 57 (Quantum) on Linux Mint Debian Edition with Xfce desktop environment. (The xdotool package was installed after first run of the sh file generated to ~/.local/bin directory. After that I run this script again with success.)
Can You help me with some tips / advices to make this addon workable on my system ? (If you give me a mail-address we could talk about that there.)
Thx. - Ocenjeno z 5 od 5— Uporabnik Firefoxa 13486984, pred 7 letiDoes exactly what it's supposed to. Leaves a small 4 pixel high bar at the top so you can still click and drag the windows around. Thank you!