podbrushkin

joined 3 months ago
[–] podbrushkin@mander.xyz 1 points 11 hours ago

Can you give a hint on how to control screen saturation with color profile? I suppose task is to create synthetic color profile, without any calibration devices. I've spent some time trying to create such profile, but failed, all I found is gnome-gamma-tool, but it can create only VCGT tag.

[–] podbrushkin@mander.xyz 2 points 1 day ago

Send this to Rainbolt.

[–] podbrushkin@mander.xyz 1 points 2 days ago (1 children)

This is so cool. I will check my Plasma version. What about Mac, are they also capable of fullscreen color management?

[–] podbrushkin@mander.xyz 1 points 5 days ago (3 children)

KDE Plasma, select the “built-in” color profile, and you’re done, no more oversaturated colors

Just did it. Fullscreen, not oversaturated. How is it even possible. ICC profile is built-in in memory of my laptop screen? Even Windows can't do it. There's a billion of tabs and menus in color management settings in Windows. I've spent billion time on this topic and you tell me I can just click a checkbox, even without a terminal? Why Gnome even exists...

There is no saturation slider, though. I've seen it on some screenshots.

 

cross-posted from: https://mander.xyz/post/43884598

NCBI Tree of Life

Felt cute, might delete later.

Entire taxonomy tree visible at once, 1M+ taxa. Based on NCBI database, layout made with Voronoi Treemap.

  • Now with smooth zooming;
  • Can switch between higher/lower scaling;
  • Pale prerendered labels from higher zoom level;
  • Thin stroke of polygons from lower zoom level;
  • Without unclassified taxa;
  • NCBI provides very detailed hierarchy.

Previous versions:

Dataset is here: taxdmp.zip.

 

NCBI Tree of Life

Felt cute, might delete later.

Entire taxonomy tree visible at once, 1M+ taxa. Based on NCBI database, layout made with Voronoi Treemap.

  • Now with smooth zooming;
  • Can switch between higher/lower scaling;
  • Pale prerendered labels from higher zoom level;
  • Thin stroke of polygons from lower zoom level;
  • Without unclassified taxa;
  • NCBI provides very detailed hierarchy.

Previous versions:

Dataset is here: taxdmp.zip.

[–] podbrushkin@mander.xyz 1 points 1 week ago (1 children)

I wonder, if ICC color correction is applied to full screen without apps even knowing it, what about color managed apps? They still apply their own transformation beneath, which makes output being affected by two color profiles, or by a single one but twice?

[–] podbrushkin@mander.xyz 1 points 1 week ago

This is very promising. Thank you for the tip. I thought my only hope is CTM. Day of switching to KDE is now closer to me.

[–] podbrushkin@mander.xyz 1 points 1 week ago (1 children)

That's interesting. I'm on Gnome. I thought presence of this color tab depends on whether Linux kernel, VGA and VGA driver support Color Transformation Matrix or not. It would've been nice to solve half of my problems just by switching to KDE.

[–] podbrushkin@mander.xyz 1 points 1 week ago (5 children)

I've spent a lot of time on color profiles and I didn't include section about them because I came to conclusion it's not possible to affect fullscreen saturation with them. Are you sure you can affect saturation system-wide with color profiles? Because in Gnome it's not possible. I actually asked it in my post originally but no one commented on this matter yet.

[–] podbrushkin@mander.xyz 1 points 2 weeks ago (1 children)

I was able to access this forum but I doubt it is related to my question. nvidia-settings was last mentioned in September 2024. 17 mentions of xrandr overall.

[–] podbrushkin@mander.xyz 1 points 2 weeks ago (3 children)

In X11 there is no Color tab for me either.

[–] podbrushkin@mander.xyz 2 points 2 weeks ago

wlr-randr doesn't work: compositor doesn't support wlr-output-management-unstable-v1. Probably wrandr (it's not even in apt repo) will not work either, also gamma is about contrast, not saturation.

[–] podbrushkin@mander.xyz 1 points 2 weeks ago (1 children)

Can't access this url, it never stops loading. Maybe I will try Tor later.

 

Ubuntu, Gnome, Wayland, nVidia, Intel integrated graphics.

I have a wide-gamut OLED screen. When regular sRGB is mapped to it, it leads to oversaturation. I can use color profiles in color managed applications to get accurate colors, but it's not system-wide and it have no effect on most of the apps. On Windows 11, I was able to change hue/saturation both in Intel Command Center and in ASUS preinstalled bloatware. On Linux, I've spent a lot of time, built below markdown file and I still have no suitable saturation control. Did I miss something?

If you're using KDE and you have a swappedRedAndGreen.icc color profile preinstalled in your color management settings, can you enable it to check if it affects whole system or only color managed applications (like some of image viewers)? If you have SDR Color Intensity in your KDE Display settings and it works, can you check if CTM is supported by your system (xrandr --properties | grep ctm)?

Gnome Extensions

There are some saturation extensions which work nice for X11 but bad for Wayland+fractional scaling, they degrade performance in any case: https://extensions.gnome.org/ https://github.com/zb3/gnome-saturation-extension

nVidia Settings

In some systems nVidia control panel has color settings:

nvidia-settings

Should look like this: https://askubuntu.com/a/664299 but no such option for me. Maybe switching between Open/Proprietary nvidia drivers will enable color settings? When I switch Primary GPU from Intel to nVidia and reboot, new props appear, but no color props. ctm doesn't appear in xrandr either. xrandr display id changes to eDP-1-1. Performance and heat issues appear. Mouse lags a little bit.

xrandr and xcalib

X11 only.

# You can make white less white, but can't change black in xrandr with gamma/brightness props:
xrandr --output eDP-1 --gamma ('{0}:{0}:{0}' -f 1.9) --brightness 0.5

# This one changes black point!
xcalib -brightness 10 -alter 

xcalib defaults: gamma=1.0 brightness=0.0 and contrast=100.0.

To reset xcalib use one of these:

  • Restart PC;
  • Alt+F2 -> xcalib -clear -> Enter;
  • Ctrl+Alt+Delete and wait for 60s or press Right, Enter

xrandr BroadcastRGB

# Check Broadcast RGB available values (default: Automatic):
xrandr --props | sls 'Broadcast RGB' -Context 0,1 | select -f 1
#>       Broadcast RGB: Limited 16:235
#                supported: Automatic, Full, Limited 16:235

# Change to Limited:
xrandr --output eDP-1 --set "Broadcast RGB" "Limited 16:235"
# Black is now less black, white is less white, screen is softer.
# Will reset to default after reboot.

libvibrant

X11 only https://github.com/libvibrant/libvibrant https://unix.stackexchange.com/a/730078

git clone --depth 1 https://github.com/libvibrant/libvibrant.git
# sudo apt install cmake
# sudo apt install libx11-dev libxrandr-dev libxext-dev libxi-dev
# sudo apt install nvidia-settings libxnvctrl-dev
cmake ..
& ./build/cli/vibrant-cli --version

# FAIL
# CTM should be supported by driver/display for libvibrant to work:
# xrandr --properties | sls ctm

For non-laptop screens there are ddcutil and ddccontrol. They should work as if you're changing your settings using physical buttons on your display.

KDE has saturation settings? https://zamundaaa.github.io/wayland/2023/12/18/update-on-hdr-and-colormanagement-in-plasma.html "SDR Color Intensity" option. Maybe it relies on CTM?

KDE can affect whole screen appearance with regular ICC profiles without VCGT tag?

 

I wanted a simple clipboard history on Win+V.

I've installed CopyQ - it's ugly, starts with a lag and doesn't quite work on Super+V shortcut. I've switched to Wayland and it silently stopped working altogether.

Next, I've installed Gnome Clipboard History Extension - it looks good, fast, works on Super+V, but for some reason it can't paste into Kate text editor.

Is it possible to get a reliable clipboard history manager on Gnome+Wayland, or should I stop wasting my time? Maybe someone has a working solution?

I am a little but frustrated by the obstacles I encounter trying to get this simple feature.

 

cross-posted from: https://mander.xyz/post/41224832

ITIS Tree of Life

Just finished another visualization of entire taxonomy tree. Previous is buried here: GBIF ToL.

Main concept is very simple: each taxon is a point, and each taxon has a clockwise-bent arc from it's parent taxon.

Trick is to place those points in a meaningful way. At first, I was using force-directed algorithm to do it. In general, it succeeded in grouping points by clades, but introduced a lot of branch overlapping (check how purple Echinodermata is "intruded" into Arthopoda in GBIF version).

Force-directed algorithms can layout not only trees, but basically any graph, and I thought: maybe tree-specific algorithm will produce a better result? I've found out there is a cool Voronoi Treemap algorithm which for any given tree can build a set of nested polygons, a polygon for each node in a tree. Not only it eliminates branch overlapping problem, but also it ensures those branches fit into convex polygons and you can even add gaps between adjacent branches. So I've built a CLI wrapper around a Java implementation I've found on GitHub.

At first, I've used it for NCBI database, but I didn't use gaps and haven't published interactive version yet (but there are PNGs in Wikimedia Commons). Then, I've made a treemap for ITIS. Points are points and polygons have been used for mouse hover feature. When I was making force-directed GBIF, I had to separately compute those polygons for each clade of given ranks. Now both points and polygons are computed by an algorithm, which is nice.

What do you think?

 

ITIS Tree of Life

Just finished another visualization of entire taxonomy tree. Previous is buried here: GBIF ToL.

Main concept is very simple: each taxon is a point, and each taxon has a clockwise-bent arc from it's parent taxon.

Trick is to place those points in a meaningful way. At first, I was using force-directed algorithm to do it. In general, it succeeded in grouping points by clades, but introduced a lot of branch overlapping (check how purple Echinodermata is "intruded" into Arthopoda in GBIF version).

Force-directed algorithms can layout not only trees, but basically any graph, and I thought: maybe tree-specific algorithm will produce a better result? I've found out there is a cool Voronoi Treemap algorithm which for any given tree can build a set of nested polygons, a polygon for each node in a tree. Not only it eliminates branch overlapping problem, but also it ensures those branches fit into convex polygons and you can even add gaps between adjacent branches. So I've built a CLI wrapper around a Java implementation I've found on GitHub.

At first, I've used it for NCBI database, but I didn't use gaps and haven't published interactive version yet (but there are PNGs in Wikimedia Commons). Then, I've made a treemap for ITIS. Points are points and polygons have been used for mouse hover feature. When I was making force-directed GBIF, I had to separately compute those polygons for each clade of given ranks. Now both points and polygons are computed by an algorithm, which is nice.

What do you think?

 

In all GUI text editors, web browsers and IDE's you can move a cursor:

  • left/right arrows - move by char;
  • ctrl+left/right - move by word;
  • home/end - move to start/end of line.

Add Shift to any of above combination and everything you jumped through now is selected and you can: Ctrl+C, Ctrl+X,Delete to copy/cut/delete selection.

Also, you can Ctrl+Delete and Ctrl+Backspace to delete a next/previous word.

Also, you can Ctrl+Home/End to jump to start of first line or end of last line.

I want this to work when I type in a command in my Terminal.

Is it possible in Linux? It's a vanilla experience in Windows+Powershell, thanks to default PSReadlLine extension. It works both in conhost.exe and in Windows Terminal, but doesn't work in WT + cmd.exe, which makes me think it's PSReadLine which is responsible for this technological perfection.

"But you can't copy with Ctrl+C, it's..." - You can. When something is selected It copies selection to clipboard, otherwise it sends SIGINT.

I'm not bound to any distro or terminal application, but right now I don't see these incredible text editing techniques working even in Ubuntu+Powershell+PSReadLine, to say nothing about the Bash. I've tried installing WezTerm, but it doesn't have text selection either, at least by default. And I'm inclined to think it has nothing to do with terminal emulators at all, since it works in conhost.exe+Powershell.

 

Twitter is criticised for being closed for those without an account.

  1. Download Mastodon official app for iOS;
  2. Launch it.
  3. Congratulations! Create an account or go away.

I think maybe it would’ve been cool if Mastodon was… open for everyone?

 

For me, best known source of analog photos is lomography.com, but maybe something else is available? I know of Flickr, but when I’ve tried to use it for this purpose, experience was very poor.

In earlier days analog photography was the only choice, therefore photo archives have been compiled only with film photos. All professional photographers have been working with film. Using internet to look at images was troublesome, and I remember I had a CD with photos of tigers, and nature, and stuff (because how else would you look at a tiger on PC when you don’t have internet connection?). Maybe similar compilation is available to browse/download somewhere?

I feel like this CD is gaining its value again.

 

I'd like to tweak my feed by hiding all posts containing certain key words, e.g. 'democracy, leftists, murder, liberals, fbi, market' etc.

Basic use case: Don't like what you see? Select keyword -> click RMB -> "Fitler for a week". Now you won't see any posts with this keyword on any Lemmy instance.

Is it possible somehow? Maybe a client with this functionality exists? Does it sound useful to anyone but me?

 

This is a full hierarchy tree of green plants. All taxa are colored by kingdom/phylum/class etc it belongs to.

kingdom

phylum

class

order

family

depth

Here is an interactive version, but it's for all kingdoms and is based on another taxonomy database.

 

Clusters are different kingdoms (can you guess which is which?), coloring applied by phylum.

4,452,270 taxa, made with Graphviz and Gephi Toolkit.

view more: next ›