LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2019, 09:59 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
How To Set A Dark Theme in Firefox


Hi:

I'm trying to set a dark theme in Firefox because my right click menu is a blinding white and my web pages are as well.

I've tried these instructions:

Tap on the F12 key to open the Developer Tools.
Select the settings icon in the top right corner of the screen.
Locate and check "Enable browser chrome and add-on debugging toolboxes".
Alternatively, set devtools.chrome.enabled to true on about:config.

Re started the browser and the system and still no joy.

I've also tried going to Mozilla Themes and attempted to add "Dark Reader" but when I try adding it to FF it takes me to the FF download.

I found the dark theme under Customize > Themes> and my Bookmarks Menus is now dark but my right click menu is still white.

I'm running FF 66.0.2.

Any help would be greatly appreciated:-

Last edited by Ztcoracat; 03-29-2019 at 10:05 PM.
 
Old 03-29-2019, 10:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Have you looked in Tools-->Add-ons-->Get Add-ons-->Find More Add-ons-->Themes?
 
1 members found this post helpful.
Old 03-29-2019, 10:10 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by frankbell View Post
Have you looked in Tools-->Add-ons-->Get Add-ons-->Find More Add-ons-->Themes?
Yes I just tried that and the "Find More Add ons" makes the FF menu and the bookmarks menu dark. However; the right click menu is still blinding white.

Is there a way frankbell to force Dark Reader to work with Slack?

https://addons.mozilla.org/en-US/fir...er/?src=search
 
Old 03-30-2019, 05:40 AM   #4
rjj
LQ Newbie
 
Registered: Mar 2016
Location: Portugal
Distribution: Slackware64
Posts: 25

Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Yes I just tried that and the "Find More Add ons" makes the FF menu and the bookmarks menu dark. However; the right click menu is still blinding white.

Is there a way frankbell to force Dark Reader to work with Slack?

https://addons.mozilla.org/en-US/fir...er/?src=search
Do you mean slack as in https://slack.com/?

If so, have a look at https://github.com/laCour/slack-night-mode.

Essentially, install https://addons.mozilla.org/en-US/firefox/addon/styl-us/ and add this style https://userstyles.org/styles/117475...ght-mode-black.
 
Old 03-30-2019, 10:46 AM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
I think it's a toolkit theme responsible for that menu, not browser theme.

So I patch gtk+3 source code to replace this:

_colors.scss
gtk-contained.css
gtk-contained.scss

Check end result with "gtk3-demo"

It's not backward or forward compatible, have to repeat every time gtk+3 gets an upgrade.
Which is why I prefer gtk+2 themes.
 
Old 03-31-2019, 01:00 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by rjj View Post
I abbreviated Slackware with Slack-

I tried installing Stylus however in the attempt to install it just takes me to a page to download FF.

The second link 'Slack Night Mode' I'm not sure how to install.
 
Old 03-31-2019, 01:04 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by elcore View Post
I think it's a toolkit theme responsible for that menu, not browser theme.

So I patch gtk+3 source code to replace this:

_colors.scss
gtk-contained.css
gtk-contained.scss

Check end result with "gtk3-demo"

It's not backward or forward compatible, have to repeat every time gtk+3 gets an upgrade.
Which is why I prefer gtk+2 themes.
I don't know how to apply patches elcore.....but thank you for trying to help me.
 
Old 03-31-2019, 01:27 PM   #8
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
If gtk3-demo menu is the same color as your problem menu, simply changing gtk3 theme from "Adwaita" to some other theme could work.
Don't need to patch anything really, I patch my changes into sources directly because 3rd party themes sometimes break and I don't want wait for them to fix.
Maybe look into this too, for your websites. https://github.com/Aris-t2/CustomCSSforFx
 
Old 03-31-2019, 02:18 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
If gtk3-demo menu is the same color as your problem menu, simply changing gtk3 theme from "Adwaita" to some other theme could work.
I'll give that a try Monday morning. Thanks-

I'm on a different Linux box right now.
 
Old 04-01-2019, 02:25 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm using XFCE and am having trouble finding the gtk3 conf file-

Looking here for now-
https://coderwall.com/p/no3qfa/setti...ia-config-file

Do I need to install this?
https://slackbuilds.org/repository/1...mix-gtk-theme/
 
Old 04-01-2019, 02:47 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
'm using XFCE and am having trouble finding the gtk3 conf file-
that answers my question

firefox uses my KDE custom Dark theme

mind you my gtk default theme is set to Adwaita-dark"

Last edited by John VV; 04-01-2019 at 02:50 PM.
 
Old 04-01-2019, 02:57 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by John VV View Post
that answers my question

firefox uses my KDE custom Dark theme

mind you my gtk default theme is set to Adwaita-dark"
My Slackware system is set to XFCE-dusk and all of my menu's are dark. I'm happy with that.

What I'm not happy with is my right click menu in FF.

My FF menu and my bookmarks menu is dark.....I just don't get how to change the right click menu if FF.

Any clues?
 
Old 04-01-2019, 04:03 PM   #13
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
I still suspect your browser theme colors the top menu, and not context menu (which is usually colored by gtk3), while your XFCE context menu is probably colored by gtk2.
Of course this is all my speculation without proof, since you won't provide any info on gtk-demo, gtk3-demo, XFCE version, or any screenshots of these tools and their respective menus.
UI's like a photograph, but you only show us inscription on the back which mentions a bug (and not the actual evidence of a bug).
 
1 members found this post helpful.
Old 04-01-2019, 07:26 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
The gtk-demo menu is black and the gtk3-demo menu is white.
I didn't know they were installed. I also didn't know they could only be launched via the cmd-line.


http://s1052.photobucket.com/user/Ul...tml?sort=3&o=0

http://s1052.photobucket.com/user/Ul...tml?sort=3&o=1

I'm running version 4.12 of XFCE.

Last edited by Ztcoracat; 04-01-2019 at 07:38 PM.
 
Old 04-01-2019, 07:43 PM   #15
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If I try to change the color to black and close the window it reverts back to dark blue.

http://s1052.photobucket.com/user/Ul...tml?sort=3&o=0

Last edited by Ztcoracat; 04-01-2019 at 07:49 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dark Gtk theme screws up Firefox 4.0 skyxn3t Linux - Software 8 05-10-2011 03:12 AM
LXer: Atolm GTK Theme + Clarity Icon Theme = Perfect for Dark Theme Fans LXer Syndicated Linux News 0 02-26-2011 11:50 PM
openoffice force default theme / no theme | dark theme fix H_TeXMeX_H LinuxQuestions.org Member Success Stories 1 03-08-2010 12:56 PM
dark gnome theme screws firefox up Marks256 Linux - Software 2 01-05-2008 05:22 PM
firefox colors - buttons, text fields, etc & dark gnome theme wet Linux - Newbie 3 12-09-2007 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration