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.
Ah, that’s where the discussion is! Lovely!
*ignores OP question and scrolls down to join in*
I did try to find something last night but couldn’t find anything unfortunately :(
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?
Alright, I’ll look into this. Thank you.
I didn’t even know there was a color picker in Firefox !? What it is used for?
The color type form input. It’s a HTML standard, all modern browsers have it.
In about:config see if setting widget.use-xdg-desktop-portal to true does anything for you.
Hmm, it appears it already is set to true. Unfortunately that doesn’t seem to work.
If I recall correctly that enables the kde file picker at least
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.
Not really. I just like tinkering, and customising things, and I wanted to see if I could.
I’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.I have the plasma browser integration. It adds an item to “Share” in the context menu (for use with KDEconnect etc) and integrates Firefox with the media player.
Media integration should be done via mpris which ff does natively now, so that’s no longer done by the plasma addon
Are you kidding me? You mean the KDE Color Picker is basically an exact rip of the Windows Color Picker?
😂🤣
Edit: Look up the screenshots, I’m not in the least bit joking. That’s an exact clone color picker to Win9X.
KDE couldn’t be even marginally original?
And…? So what, if a design works, a design works. This is a colour picker.
Isn’t the purpose of Linux to actually step away from Windows, not copy it practically verbatim from 1993?
No. The purpose of Linux is to provide a free and open source operating system, that can be customised by yourself and the community to your liking.
I like KDE’s colour picker. It seems I would like the Windows one as well. It’s a good design. Linux doesn’t exist to be contrary, it exists to be a customisable, open experience.
The purpose of Linux is to be a free and open source OS kernel on top of which free and open source software can provide whatever user experience they want to provide and users are free to pick one.
But they’re not free to literally copy an existing interface from a big $$$ corporation…
Again, I use text based input as the main interface. Not RGB. Not HSL. I literally name my colors with text.
Want human flesh, type “human flesh”, not some unintuitive #RRGGBB crap.
I’ve read a lot of youre comments trying to understand youre meaning here, but are you trying to say you want to represent all 16 million colors of a 24 bit color?
And also somehow in a way that not extremely subjective to the user?
Ngl I’d love to see this as a product, and definitely keep me updated if this software ever has a usable demo
It’s a prototype program, take it for whatever it is…