Is there any way to get Firefox to use the native color picker?
Is there any way to get Firefox to use the native color picker?
![the background blur](https://sopuli.xyz/pictrs/image/a04e1088-e6f3-456e-983b-60b54bb5699a.png?thumbnail=256&format=webp)
![](https://sopuli.xyz/pictrs/image/a04e1088-e6f3-456e-983b-60b54bb5699a.png?thumbnail=1024&format=webp)
I use KDE Plasma, and much prefer the KDE color picker over the GTK one that Firefox uses, with input type=color
.
I know that I can set GTK_USE_PORTAL=1 to make Firefox use the native file picker, is there a way to make it use the native color picker as well?
I know there probably isn't a way, but I figured it's worth a shot asking.
Entire Comment Section discussing the weird comment of @over_clox instead of OPs Question lmao.
39 0 Reply😢
18 0 ReplyI solved the issue of Firefox not following my theme on KDE by abandoning Firefox and using Waterfox.
Functionally identical in every way except Waterfox follows qt instead of gtk.
It’s a stretch, I’ve never used waterfox’s color picker. But it may also use qt instead of gtk.
6 0 Reply
Ah, that's where the discussion is! Lovely!
*ignores OP question and scrolls down to join in*
8 0 ReplyI did try to find something last night but couldn't find anything unfortunately :(
4 0 Reply
Excuse me for not answering the question but are you using the color picker in Firefox really that frequently?
I would just choose a nice color with the picker of my choice and paste the hex-code / type the RGB in the custom panel of the default FF color picker and that's it.
26 0 ReplyNot really. I just like tinkering, and customising things, and I wanted to see if I could.
27 0 ReplyAh, I see! In that case I can completely understand your intention.
Edit:
I feel like the guy on Stack Overflow who says something like "That's bad practice, why would you do that?" and then the thread is closed.
And people who google how to solve a certain problem and get to the SO page never get to know the answer that would be relevant.
9 0 ReplyI'm not a dev, but I'm wondering if the 'Plasma Browser Integration' package has any influence on the picker? Or maybe there are GTK app settings in play.
Just a thought.
It really annoys me that Firefox is not more integrated in KDE than it is.3 0 Reply
I didn't even know there was a color picker in Firefox !? What it is used for?
19 0 ReplyThe color type form input. It’s a HTML standard, all modern browsers have it.
21 0 ReplyOh ok that makes sense I guess I don't usually use anything like that... Plus I was thinking of the browser itself using it for something...
8 0 Reply
In about:config see if setting widget.use-xdg-desktop-portal to true does anything for you.
17 0 ReplyHmm, it appears it already is set to true. Unfortunately that doesn't seem to work.
13 0 ReplyIf I recall correctly that enables the kde file picker at least
5 0 Reply
Yo kde color picker exists? How do I use this?
8 0 ReplyIt pops up whenever a KDE application offers colour selection. Easiest way is probably to open settings to
Appearance > Colors
and click theCustom
button.Falkon also uses it with
input type=color
which is why the screenshot says Falkon in it.9 0 Reply
It is using a system color picker. That's the gtk color picker. You'd need to configure xdg-portal to utilize a different picker I'm pretty sure.
https://wiki.archlinux.org/title/XDG_Desktop_Portal might point you in the direction you're looking for... Not 100% on this though... maybe switch from portal-gtk to portal-kde?
4 0 ReplyAlright, I’ll look into this. Thank you.
1 0 Reply
It's a bit of a PITA. If you're after a proper dark mode, there's an addon called 'Dark Reader' which works very well.
1 0 Reply