hide the titlebar 的評論
hide the titlebar 作者: nanpuyue
28 筆評論
- 評價 5 分,滿分 5 分來自 Olli Copperwolf,1 年前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 分來自 Firefox 使用者 16185473,5 年前
- 評價 5 分,滿分 5 分來自 the byung man,6 年前
- 評價 5 分,滿分 5 分來自 Firefox 使用者 14788321,6 年前
- 評價 5 分,滿分 5 分來自 Firefox 使用者 13402379,7 年前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 分來自 Firefox 使用者 14264051,7 年前
- 評價 5 分,滿分 5 分來自 Firefox 使用者 14034577,7 年前Ubuntu Gnome 16.04.4 64-bit, Firefox 60.0 64-bit. It works!
- 評價 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
- 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,8 年前
- 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,8 年前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!