Empty XDG user directories turn into symbolic links #2004 #homedirectory #symboliclink #2304 #xdg
#homedirectory #symboliclink #xdg
For #ScreenReader users, this #CLI based file manager is very easy to use:
https://github.com/leo-arch/clifm
Note: Use the wiki to learn its many commands and key bindings
If not using #ArchLinux, use the #OpenSUSE build server to get a binary for your #Distro
#A11Y #Accessability #Linux #Bash #XDG #FileManagers
#screenreader #cli #archlinux #opensuse #distro #a11y #accessability #linux #bash #xdg #filemanagers
Couldn't open intellij as sudo user It shows error: XDG_RUNTIME_DIR not set in the environment #permissions #sudo #xdg
Just sharing a random thought on my mind. If you maintain or are developing software for Linux, BSD, etc.
PLEASE adhere to the #XDG Base Directory Specification. Do *not* just dump your program's files all over the user's Home Directory or into arbitrary locations.
This spec is designed to make things predictable, simple, and easy to locate, back up, and manage for the user and other software. :twilightsheepish:
Additionally, when placing content in these locations, please name your sub directories appropriately.
You can find the spec here
https://specifications.freedesktop.org/basedir-spec/latest/
Dear #android, #rust / #cargo, #cmake, #dbus, #hp, #mozilla #firefox & #thunderbird, #npm, #pipewire / #pulseaudio, #putty, #python, #steam, #wine, #yarn (and I'm sure many, many others),
Why don't you use #xdg defaults? This doesn't seem ridiculous to you?
#android #rust #cargo #cmake #dbus #hp #mozilla #firefox #thunderbird #npm #pipewire #pulseaudio #putty #python #steam #wine #yarn #xdg
How to open a PDF file with "Master PDF Editor" application from terminal? #commandline #executecommand #xdgopen #xdg #masterpdfeditor
#commandline #executecommand #xdgopen #xdg #masterpdfeditor
Are there best practices for defining which default files/dirs should have ENV variables that override the default locations? Should every cache or config file have an ENV variable to change it's location? Some? Or is supporting XDG_CACHE_HOME, XDG_DATA_HOME, and XDG_CONFIG_HOME "good enough" (tm)?
#envvars #xdg
`xdg-open` thinks I'm running WSL, and fails because I'm not? #kubuntu #2204 #windowssubsystemforlinux #xdg #xdgopen
#kubuntu #windowssubsystemforlinux #xdg #xdgopen
Не тільки неінвазивний глюкометр в Apple Watch. Над чим ще працює надсекретна лабораторія Apple XDG? https://itc.ua/ua/novini/apple-stvoryla-nadsekretnu-laboratoriyu-xdg/ #ГарнітураApple #AppleWatch #RealityOne #RealityPro #Глюкометр #Пристрої #Новини #Apple #XDG #AR #VR
#гарнітураapple #applewatch #realityone #realitypro #глюкометр #пристрої #новини #apple #xdg #ar #vr
Why isn't there an XDG `~/.opt` directory? Version managers (rbenv/ruby-build, chruby/ruby-install, nvm, etc) could install additional software versions into it for the local user without the need for `sudo` access.
#xdg #freedesktop
If your app uses #gstreamer to access cameras - be it for videochat or an ever more common QR code scanner - and you'd like it to be properly sandboxed as #Flatpak without direct device access using #xdg-desktop-portal, then #PipeWire just landed an MR for its gstreamer plugin that might make your life easier.
#PipeWire #xdg #Flatpak #gstreamer
Falscher Dateimanager
Wiederherstellen des Default-Dateimanagers.
#dateimanager #standard #xdg #nautilus
If you’re making a CLI tool, please support the XDG spec out of the box instead of coming up with your own env vars like $MY_CLI_CACHE_DIR and $MY_CLI_CONFIG, or worse, dumping all config and cache files under ~/.my-cli with no option for customization.
I’d like to share a side-project that I finally got to a minimally-useful state this weekend, in case others find it useful
Repository: https://gitlab.com/jokeyrhyme/xdp-hook-rs
Features (as of 0.1.2):
- monitors Location, ScreenCast, and RemoteDesktop portal sessions
- triggers configured scripts/command when these sessions are created/closed
Example use case:
- I’m using eww ( https://github.com/elkowar/eww ) as my status bar across the top of my screen
- I wanted to show/hide indicators whenever an application was using the ScreenCast portal (e.g. https://meet.jit.si/ or Zoom, or Teams, or whatever)
- so I’m using xdp-hook to detect when any application creates a ScreenCast session, and update the state in eww accordingly so that a blinking widget is displayed/removed
Suggestions and code contributions are welcome :)
It's funny, but XDG_STATE_HOME appeared in Guix Home earlier than it was added to the spec :)
https://git.sr.ht/~abcdw/rde/commit/c872857
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables