{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifgv5vsmi34tsgwbqbttdyo3mmmcddzik5vt3zmi3lmcbov2dbwau",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mhmk3rnbyth2"
},
"path": "/viewtopic.php?t=33258&p=271301#p271301",
"publishedAt": "2026-03-21T18:37:55.000Z",
"site": "http://forum.palemoon.org",
"tags": [
"Source",
"Issue #170 (Basilisk)",
"bug #1283299",
"client-side decoration",
"CSD",
"gtk3-classic",
"linear-gradient()",
"@namespace",
"@-moz-document"
],
"textContent": "Before:\n\n(Source.)\n\nAfter:\n\n(This image is \"GIMPed\" xD, but you can achieve the same, only the corners I don't know if will be rounded.)\n\n---\n\nVide:\n\nIssue #170 (Basilisk)\nFirefox bug #1283299\n\n---\n\nThis is called client-side decoration (CSD), and people on Linux got used to it. Personally, I hate it, and it was the reason I moved away from XFCE back in the day (and from GTK3 wherever I can after I got tired of compiling gtk3-classic every time).\n\n---\n\n**Extensions (Classic Add-ons Archive)**\n\n\n * HTitle,\n * Hide Caption Titlebar Plus.\n\nor...\n\n**The simple way**\n\n**1.** Add this CSS style to Stylem or to your profile's chrome dir:\n\nCODE:\n\n\n @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);@-moz-document url(chrome://browser/content/browser.xul) { #window-controls { display: -moz-box; -moz-appearance: -moz-window-button-box; } #minimize-button { -moz-appearance: -moz-window-button-minimize; list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-minimize.png\"); } #minimize-button:active { list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-minimize-pressed.png\"); } #restore-button { -moz-appearance: -moz-window-button-restore; list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-restore.png\"); } #restore-button:active { list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-restore-pressed.png\"); } #close-button { -moz-appearance: -moz-window-button-close; list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-close.png\"); } #close-button:active { list-style-image: url(\"file:/usr/share/themes/Raleigh/wm-assets/button-close-pressed.png\"); } #tabbrowser-tabs { background: #49667f; } /*#TabsToolbar { -moz-appearance: none !important; background: #49667f; }*/}\n\nOn my machine (Linux, GTK2), the above turns out like this:\n\nNotes:\n\n * **The first time you open Basilisk, you'll have to hit F11 twice** (couldn't figure out how to fix this).\n * The text that follows -moz-appearance, i. e, -moz-window-button-box, etc., can be replaced with none.\n * Change image urls after list-style-image to those of the theme you're currently using (look into /usr/share/themes/[your_theme]/wm-assests/, or [...]/[your_theme]/metacity-1/). If they are .xpm files, you'll have to convert to .png or whatever.\n * Change the tabbar's background color to match the titlebar color of your window manager (mine is #49667f). If it's a gradient, you can use linear-gradient(), etc.\n * If you want the tabbar's background color to fill the whole tabbar, uncomment the last portion of the code (remove the /* and */).\n\n**2.** Disable the titlebar for Basilisk.\nYou'll have to figure out how to do this for the window manager you're using (usually, it's very simple).\n\n* * *",
"title": "Basilisk • Simple way of adding window controls to the tabbar on Linux",
"updatedAt": "2026-03-21T18:37:55.000Z"
}