AskUbuntu · @askubuntu
229 followers · 1803 posts · Server ubuntu.social

Empty XDG user directories turn into symbolic links #2004 #2304

askubuntu.com/q/1484246/612

#homedirectory #symboliclink #xdg

Last updated 2 years ago

AskUbuntu · @askubuntu
134 followers · 1892 posts · Server ubuntu.social

How to make Spotify Snap Open Shared Song URLs?

askubuntu.com/q/1473517/612

#snap #spotify #xdg

Last updated 2 years ago

Ed Howland · @edhowland
19 followers · 269 posts · Server fosstodon.org

For users, this based file manager is very easy to use:
github.com/leo-arch/clifm
Note: Use the wiki to learn its many commands and key bindings
If not using , use the build server to get a binary for your

#screenreader #cli #archlinux #opensuse #distro #a11y #accessability #linux #bash #xdg #filemanagers

Last updated 2 years ago

AskUbuntu · @askubuntu
73 followers · 2047 posts · Server ubuntu.social

Couldn't open intellij as sudo user It shows error: XDG_RUNTIME_DIR not set in the environment

askubuntu.com/q/1464113/612

#permissions #sudo #xdg

Last updated 2 years ago

Just sharing a random thought on my mind. If you maintain or are developing software for Linux, BSD, etc.

PLEASE adhere to the 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
specifications.freedesktop.org

#xdg

Last updated 2 years ago

AskUbuntu · @askubuntu
72 followers · 2071 posts · Server ubuntu.social

Unable to change the name of file being downloaded

askubuntu.com/q/1463143/612

#gnome #xdg

Last updated 2 years ago

Andy Scott · @ascott
309 followers · 57 posts · Server fosstodon.org

Dear , / , , , , & , , / , , , , , (and I'm sure many, many others),

Why don't you use 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

Last updated 2 years ago

AskUbuntu · @askubuntu
65 followers · 2138 posts · Server ubuntu.social

How to open a PDF file with "Master PDF Editor" application from terminal?

askubuntu.com/q/1460555/612

#commandline #executecommand #xdgopen #xdg #masterpdfeditor

Last updated 2 years ago

postmodern · @postmodern
1195 followers · 1271 posts · Server ruby.social

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

Last updated 2 years ago

AskUbuntu · @askubuntu
54 followers · 1894 posts · Server ubuntu.social

`xdg-open` thinks I'm running WSL, and fails because I'm not? #2204

askubuntu.com/q/1457464/612

#kubuntu #windowssubsystemforlinux #xdg #xdgopen

Last updated 3 years ago

postmodern · @postmodern
1051 followers · 928 posts · Server ruby.social

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

Last updated 3 years ago

Robert Mader · @rmader
61 followers · 19 posts · Server floss.social

If your app uses 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 without direct device access using -desktop-portal, then just landed an MR for its gstreamer plugin that might make your life easier.

#PipeWire #xdg #Flatpak #gstreamer

Last updated 3 years ago

· @hertg
58 followers · 66 posts · Server infosec.exchange

I'm getting the vibe that if developed linux software, he would definitely put the config file in ~/.app instead of ~/.config/app/

#elonmusk #linux #xdg #standards #elondev

Last updated 3 years ago

· @hertg
58 followers · 73 posts · Server infosec.exchange

I'm getting the vibe that if developed linux software, he would definitely put the config file in ~/.app instead of ~/.config/app/

#elonmusk #linux #xdg #standards #elondev

Last updated 3 years ago

Also, I can't vote but if I could it would be
Been using it 100% with Sway for last couple years. Now that -desktop-portal-wlr works with screensharing and sway.. alls well

#wayland #xdg

Last updated 3 years ago

GNU/Linux.ch · @gnulinux
4166 followers · 3286 posts · Server social.anoxinon.de

Falscher Dateimanager

Wiederherstellen des Default-Dateimanagers.

gnulinux.ch/falscher-dateimana

#dateimanager #standard #xdg #nautilus

Last updated 3 years ago

ilyess · @ilyess
1117 followers · 2168 posts · Server mastodon.online

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.

#cli #xdg

Last updated 3 years ago

· @jokeyrhyme
66 followers · 908 posts · Server aus.social

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: gitlab.com/jokeyrhyme/xdp-hook

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 ( 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. 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 :)

#xdg #flatpak #linux #rust

Last updated 3 years ago

Andrew Tropin · @abcdw
381 followers · 698 posts · Server fosstodon.org

It's funny, but XDG_STATE_HOME appeared in Guix Home earlier than it was added to the spec :)

git.sr.ht/~abcdw/rde/commit/c8

specifications.freedesktop.org

#guix #RDE #xdg

Last updated 4 years ago