hide the titlebar 的评价
hide the titlebar 作者: nanpuyue
28 条评价
- 评分 5 / 5来自 Olli Copperwolf,4 个月前It 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...
- 评分 5 / 5来自 Kurotaku,3 年前
- 评分 5 / 5来自 Firefox 用户 16185473,4 年前
- 评分 5 / 5来自 the byung man,5 年前
- 评分 5 / 5来自 Firefox 用户 14788321,6 年前
- 评分 5 / 5来自 Grigorij,6 年前After 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. - 评分 5 / 5来自 Firefox 用户 13402379,6 年前Good for them who won't see close/minimize buttons. You can drag windows by small area between tabs and new tab button.
- 评分 5 / 5来自 Tobias,6 年前:-) super. THANKS. :-) :-) :-) :-) :-) :-) :-) It works and looks better than the build in solution. :-) :-) :-) :-) :-) :-) :-)
- 评分 5 / 5来自 Firefox 用户 14264051,6 年前
- 评分 4 / 5来自 おまけ,6 年前It 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.
- 评分 5 / 5来自 Firefox 用户 14006935,7 年前
- 评分 5 / 5来自 Firefox 用户 13912887,7 年前Finally, a solution for a very common problem. It's a pity this add-on has so few users
- 评分 5 / 5来自 zhangly,7 年前Debian9 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' - 评分 5 / 5来自 Firefox 用户 13504291,7 年前
- 评分 3 / 5来自 Gammadeus,7 年前I 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. - 评分 5 / 5来自 Firefox 用户 13486984,7 年前Does 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!