Better visual dimming of cut (Ctrl+X) files and folders (nautilus extension)

:scissors: Cut Item Dimmer — cut-dim.py

Provides a clear visual feedback when cutting files or folders with Ctrl+X — the entire item (icon + label) is dimmed, just like Windows Explorer, Nemo or Thunar.

By default, Nautilus only slightly reduces the opacity of the icon — barely noticeable. This extension makes the effect obvious and restores full opacity automatically when the clipboard changes.

How it works:

  • Scans all Nautilus widgets every 300ms
  • Detects items with the cut CSS class on their GtkPicture widget
  • Applies set_opacity(0.3) on the parent cell (icon + label together)
  • Restores set_opacity(1.0) as soon as the item is no longer marked as cut

Dependencies: python3-nautilus python3-gi gir1.2-gtk-4.0

you can find it here

For those who don't want to use an extension you can try a little trick, but it only target the icon (don't ask me for the label there is no class cut on it in nautilus)
create or edit ~/.config/gtk-4.0/gtk.css
and add

picture.cut {
    filter: opacity(0.2);
}

you can change the opacity if you want.
Restart nautilus

nautilus -q
1 Like

Interesting!

1 Like