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.
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.
Ah, 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.
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
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.
Oh 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…
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.
Yo kde color picker exists? How do I use this?
It 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.
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.
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.
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.
I know. I wrote Color Painter, which also comes with its own very unique color picker.
My design works. My design is also extremely unique. I didn’t rip off an existing design.
Ok? My point is that it really doesn’t matter. A colour picker doesn’t have to be unique.
Unless they wanna avoid potential copyright violations…
My Color Painter and Color Picker software are protected by basic copyright laws, and have nothing similar to common existing interfaces.
That KDE color picker, I’m literally looking at exactly the same interface in Windows 3.11 right now. Huge ripoff, nothing original.
Huge ripoff, nothing special
Okay then don’t use it. The entire point of KDE is to provide a traditional desktop metaphor that windows users find friendly.
And if you’re especially irked, KDE like most FOSS is somewhat community driven, so be the change you desire if that’s your kind of thing. Or don’t do anything but complain. You’re completely free to do whatever.
But that said, you may perhaps be making a mountain out of a molehill, especially UI elements that if MS wanted to cite copyright, they would have done it long time ago. This has been the default color picker for KDE since the 2.x days.
This has also been the default color picker since Win311/Win95 days. Does this mean people want to backtrack on technology?
If that’s what they want who am I to tell them no? The point of open software is to be what the user wants. Why is any particular opinion more correct than another within a group that prides itself on giving users choice.
If KColorPicker isn’t someone’s cup of tea, there is nothing stopping anyone from changing that default out. The color picker that appears is a user setting.
If it’s such a problem for you, and you are obviously a colour picker expert, why don’t you make KDE a new colour picker. I’m sure the community would appreciate a new and innovative colour picker, if it’s genuinely better than the Windows style one.
Okay so…which of the things in the picture or discussion is color painter?
Is it in any way related to KDE Color Picker?
I feel like of all the things you’ve said so far, all of which have only tried to discourage the OP to get an answer, and not actually answer their question.
I’m calling out KDE for ripping off the Windows Color Picker. Not mad at OP directly, but still, might as well go back to Windows if that’s your preferred color picker.
But why would I go to Windows, if KDE has the same colour picker? Literally an argument for me staying is that the colour picker is identical, so not worth switching for the colour picker (which I really don’t care about when it comes to choosing a desktop).
All I wanted was to see if anyone knew of a way to allow Firefox to use my desktop environment’s colour picker. I don’t care if the design is “stolen” from Windows, and I doubt Microsoft cares either. You really have picked a very obscure, and rather stupid hill to die on.
Sorry for being harsh, I’m just frustrated that the discussion here is about KDE’s colour picker design, and not about customising Firefox, which is what I asked about.
I apologize for being harsh as well, but that old Win311 style color picker came from the 16 bit days. You wanna rewrite it in 64 bit?
Hang on… you don’t think they are literally the same program right?
The KDE colour picker is a different program that just looks like the Windows one. KDE’s colour picker isn’t “16 bit”.
That just sounds extremely petty…
It’s also the truth. Brutal truth no less, they ripped off the color picker from the Win311/95 era, with no concept on an updated GUI, they just carbon copied M$…
Feel free to submit a change if it bothers you that much…
Wait… yes? You dont want to? You just want to complain?
Ok then.It’s also something nobody asked, if we’re talking brutal truths
Can you imagine that someone can like some aspects of an operating system without liking the whole of it?
KDE isn’t an operating system, it’s a desktop environment on top of an operating system. Can’t they avoid copycat Windows?
What is Color Painter?
It’s an experimental graphics editor I wrote from the ground up, to search and process colors by name instead of looking at a bunch of RGB/HSL numbers that make almost no sense to natural artists.
Searching colors by name? Uh no thanks!
Do you have a link to the Github page? I can’t find it and think you’re full of shit
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.
Do you actually use Linux? The purpose of FOSS is to make it whatever you want it to be. It can be a step away, a step towards, a step multiple by the square root of negative one to MS Windows. The entire point is that you get to dictate the path you want to take.
… -1 doesn’t have a square root. Agree with the sentiment though
Yes, I’ve been running Linux Mint since 2016, thank you for asking.
Only for people who joined Linux because they’re spiteful of Windows?
Heaven forbid someone put hue on x axis and saturation on y axis and have a separate slider for value and allow you to manually input and allows you to save your favourites in a color picker they made.
Please read my other comments. I put a literal text axis on my color picker. You know, like you want red, you type “red”…
Don’t none of the rest of them do that.
Prove me wrong.
Which red? The word “red” represents a big range of colors.
Yes, there are descriptive words as well, like fire red, flesh red, plant red…
You think I wouldn’t put some thought into some common sense words?
oh god what a nightmare.
Not complaining, windows does some things right
By this logic, the fantastic WINE project is a heresy lol