惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Cloudbric
Cloudbric
G
GRAHAM CLULEY
S
Securelist
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Spread Privacy
Spread Privacy
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
T
Tailwind CSS Blog
博客园_首页
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
O
OpenAI News
J
Java Code Geeks
T
Tenable Blog
K
Kaspersky official blog
AWS News Blog
AWS News Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
T
Threatpost
月光博客
月光博客
H
Heimdal Security Blog
Security Latest
Security Latest
The Hacker News
The Hacker News
Y
Y Combinator Blog
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
C
CERT Recently Published Vulnerability Notes
D
Docker
Google Online Security Blog
Google Online Security Blog
D
DataBreaches.Net
V
Visual Studio Blog
H
Help Net Security

HN's home page

Rainbow Query Language | Hacker News Exec into Node via Kubectl An AI native hedge fund The Seven-Action Documentation Model | Hacker News Package Manager for Kubectl Plugins Tongan Castaways | Hacker News Tech overlords plan for conscious AI to conquer the cosmos. What could go wrong? Data Breach Disclosure Lag Is Getting Worse How LLMs Work | Hacker News I Dropped PRDs for Shape Up Go Experiments Explained | Hacker News FCA's Palantir deal could expose UK financial data to Trump's US, critics fear WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality The first murder conviction via DNA analysis Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video] Show HN: Replace shell commands with bun shell typescript scripts Quay.io Is Down | Hacker News AI driven analysis of brokerage account fees in the UK Bill Gates Spent Years Crafting His Image. Now It's Cracking Using LLMs to secure source code Wi-Fi 8 in the Lab [video] The household battery revolution that could change energy bills and the world Is Python Becoming Pinyin? | Hacker News Livia – Executive Assistant | Hacker News FindMyPipe – Query Apple Find My from Linux for AI Agents Show HN: Agent skill for creating product launch videos with Remotion RecruitMyself – AI job search copilot for resumes and applications AI coding agents and the erosion of system understanding The 'Resting' Generation and South Korea's Youth Recession AMD Computex 2026: 10 Years of AM4, AM5 Support Through 2029 Docker Networking Explained | Hacker News Textbooks in Tokenland | Hacker News Key Chemistry Question Answered, No Quantum Computer Required Gifts For Retrocomputing Fans – remix yesterday's tech with a modern spin Miscellany № 49: introducing the quasiquote – Shady Characters Amazon Thinks the Future of Data Centers Is a Technical Problem It Just Solved A brief history of the UUID (2017) Flying High Unpressurized (2016) | Hacker News Five Years of Trying to Add Recursion to Lychee How British comfort food won over the French Blorp Language | Hacker News Decache – you might have the internet's lost media in your PC's cache folders Criminal Activities and Migration | Hacker News A free, open-source library of DESIGN.md files for AI-generated UIs MiniMax M3 | Hacker News People are apparently farming citations on ResearchGate – Chuniversiteit Hacker News Basketeer – a typed TS SDK for your Tesco account, with nutrition data 'Penguin' decays from CERN's Large Hadron Collider experiment hint new physics Emergence World: A Laboratory for Evaluating Long-Horizon Agent Autonomy Homebrew lead Mike McQuaid: Sandboxes and Worktrees - My Secure Agentic AI Setup Lean, Not Backpressure | Hacker News AI Dangers Eclipse Nuclear Weapons at Singapore Defense Forum Open source analytics that answers backbase How turkey hacked the hair-transplant industry How GPT Image 2 Is Transforming Marketing Workflows in 2026 Improve Git monorepo performance with a file system monitor Strava for Claude Code MiniMax M3 on Qubrid AI There's Something Else We Should Be Worrying About Celebrity Profile of an A.I. Actress What Is Windows K2? | Hacker News AI is devoid of meaning and humanity. Its vapid voice suits the political moment Show HN: Interpreto – Live Translation for Travel Taxicab Geometry Sealed classes and interfaces in Java (2025) Show HNs | Hacker News My AI Skill Edited This Video That Explains My AI Skill – Arcturus Labs Amazon Pinpoint End of Support The Mystery of the Backward Index MP/M's Process Dispatcher SlimTide Reviews: A Modern Solution for Metabolism and Energy Learning Lustre: Type-safe front end development with gleam Thomas Mann: Goethe Heartened by Panama (As Suez for English, or Danube-Rhine) How to make Message Log of the Unreal Engine 100 times faster Sum-product, unit distances, and number fields Can Meta Buy Belief? | Hacker News Twenty Years of Bigtable | Hacker News Show HN: Combine WigglyPaint GIFs into Video Show HN: AgentThreatBench – Benchmark for AI Agent Memory Security Genius Spotted in the Wild Napkins: Where Ethernet, Compaq and Facebook’s cool data center got their starts (2011) Moderate caffein use alters sleep-related EEG Nvidia Announces RTX Spark | Hacker News Show HN: Ministry of Everything – CLI agent harness for a single operator CEOs blame AI for layoffs, MIT prof says it fits a pattern to find cover story Bugs I didn't expect while building a zsh cleanup script for macOS dev machines Nvidia jumps into PCs with new chip debuting in laptops from Microsoft, Dell, HP Nvidia unveils PC 'superchip' in challenge to Apple and Intel Show HN: Having fun making mini static site apps Synthea API: Create Synthetic Medical Records as a Service Berkshire Hathaway to buy Taylor Morrison for $6.8B in cash The most complex model we understand [video] SanDisk stock is +4,440.53% in the past year Driftwm: What if your window manager worked like a whiteboard? US Immigration enforcement looks into buying ad data AI Is Creating More Work for Australia's Workplace Tribunal Finding New Biblical Cross-References with Codex Glide: A tiling window manager for macOS Ultra-highly efficient enrichment of uranium from seawater via studtite nanodots (2024)
XFCE4 desktop icons no longer persist positions after 4.20.2 update
eth0up · 2026-06-30 · via HN's home page

At some point in the last few weeks, an XFCE4 update changed how desktop icon coords are stored and restored. I spent considerable time debugging this without identifying the cause.

System: Void, runit, XFCE 4.20.2, HD 3840×2160 HDMI-1

Symptom: Desktop icons set to default grid (1 of 8 options/"gravity"s) on reboot/resume. Previously, user-selected positions persisted.

The plausible suspect: ~/.config/xfce4/desktop/icons.screen0.yaml, which (seemingly) stores icon coords (row/col), removable devs w/last-seen timestamps, log of every file, directory, and UUID ever on the desktop, e.g items deleted last year.

Early attempts to wrangle this nasty yaml involved scripts for:

Backing it up with my preferred positions and overwriting the dictator version on resume =fail.

Applying chattr +i to make it immutable before suspend =fail.

Modifying it directly and forcing "xfdesktop --reload" =fail. Icon mutiny.

Here may be a clue. Editing the yaml whilst xfdesktop is running apparently produces no change to positions. This implies xfdesktop doesn't read the yaml to decide icon position at runtime; it writes the yaml after deciding positions. The yaml seems a log of an xfdesktop decision rather than an instruction.

I also probed xfconf, where I found no auto-arrange, sort-by, or position coordinate keys. All icon-related keys are style=2, gravity=0, and font/size/spacing/color preferences. The reset isn't caused by a toggle.

I corrected ghost monitor entries in xfconf. The display was registered under three IDs: monitor0 (generic fallback), monitorHDMI1 (no hyphen), and monitorHDMI-1 (correct). Purging the ghost entries, and separately adding a missing hyphen in displays.xml (HDMI1 > HDMI-1 to match xrandr's reported connector name), produced one successful logout/login with positions preserved, but the problem returned upon next resume.

After resume, with icons in dictator positions, I ran:

```killall xfdesktop && xfdesktop &```

Icons remained in the reset/default arrangement.

This suggests the resume hook isn't the failure point. If the yaml contained valid positions and xfdesktop read them at startup, a clean restart would restore correct placement. The reset may happen somewhere inside xfdesktop's domain, independent of suspend/resume.

Speculative hippopotamus, or AI-Assisted conjecture:

xfdesktop 4.20.2 introduced a column boundary check fix in xfdesktop_icon_view_unplace_item(). Based on behavior, this function (or something upstream of it) now triggers a full position recalculation at startup rather than loading stored positions. The yaml is written afterward, reflecting the recalculated result, which is why it always appears "correct" after the fact but does not survive a restart.

What I haven't yet done, and probably won't, due to previous experience in that neighborhood, is file a bug for xfdesktop4.20.2. Then why would I bother here, one might ask... Because I am weird.

Sidenote on data retention:

Separately from the icon bug, xfdesktop writes unnecessary persistent user activity data by default:

    icons.screen0.yaml retains obsolete entries for deleted files and unmounted drives, I think, indefinitely.

    xfdesktop memory-maps gvfs-metadata logs (including deleted UUIDs), meaning it reads file and drive activity history beyond what I think icon rendering requires.

    Clipman stores ~3-4MB of clipboard history by default and is a near-mandatory XFCE dependency, with, to me, no clear control option to disable it.

None of that is directly related to the icon bug, but perhaps worth etching in the ether for those interested.

And finally, something I've not yet tried: ```strace -e trace=openat,read,close -o /tmp/xfd-trace.log xfdesktop --no-daemon```

```grep -i yaml /tmp/xfd-trace.log``` Note that the above command may result in a necessary detour of your workflow.