rkoesters / xdg Goto Github PK
View Code? Open in Web Editor NEWFreeDesktop.org (xdg) Specs implemented in Go
License: BSD 3-Clause "New" or "Revised" License
FreeDesktop.org (xdg) Specs implemented in Go
License: BSD 3-Clause "New" or "Revised" License
I have the following error on Mac OS when trying to trash a file:
open /Users/MyAccount/.local/share/Trash/info/a.JPG.trashinfo: no such file or directory
Could you add support for XDG_STATE_HOME in xdg/basedir? It was added to the XDG spec in 2022 (the basedir documentation link is correct and includes this). It's important as a place for logs, history, etc.βstuff that shouldn't go in cache (since it's not safe to delete if the app can't recreate it), nor in config or data (since these each include things you might want to sync across machines, which is usually undesirable with history).
I was trying to convince downstream projects to add support, but then realized it doesn't exist here...
Thanks in advance for your help! π
Any plans to implement writing a .desktop file to disk?
The trash package currently doesn't provide a way to restore an item from the trash.
This could be a great addition when trashing big files from another partitions.
https://specifications.freedesktop.org/trash-spec/trashspec-latest.html [Trash directories] section.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.