TankieTanuki,
@TankieTanuki@hexbear.net avatar

I hate it when an application puts its configuration data in its own dotfile under $HOME instead in ~/.config. Also hate it when caches are stored in ~/.config, because then I have to manually tag those subdirectories for exclusion before doing a backup.

JoMomma,

.word

Infiltrated_ad8271,
@Infiltrated_ad8271@kbin.social avatar

Someone should pass this on to valve.

RandomLegend,
@RandomLegend@lemmy.dbzer0.com avatar

Yes please!

Moonrise2473,

I’d like to set nautilus to show hidden files, but I can’t stand the amount of “trash” there’s in home

Everyone is thinking “my app is the best, it totally deserves a ~/.myappisthebest directory”

xXthrowawayXx,

Also if the normal invocation of your program produces more than 3k lines of stdout, sanitize it and default to a file.

Magnetar,

W should make a .dotfiles directory for them.

lloram239,

export XDG_CONFIG_HOME=/home/juser/.dotfiles

Lemmchen,
@Lemmchen@feddit.de avatar

Well, isn’t it .config by default?

lloram239,

Yes, but OP wanted .dotfiles. Nice thing with XDG is that you can change all that.

The user directories Desktop, Downloads, etc. can be changed as well: wiki.archlinux.org/title/XDG_user_directories

inetknght,

…that’s assuming that apps actually respect that environment variable. The problem is that if the app is writing to ${HOME} then they’re already not following XDG spec.

Mandrew002,

Hmmmmmm

No.

Linus_Torvalds,

Great read, thanks for sharing this!

demesisx,
@demesisx@infosec.pub avatar

deleted_by_author

  • Loading...
  • TheEntity,

    How does it help to write an application storing its files in the right place? It helps the user, sure, but that's not what this post is about.

    demesisx,
    @demesisx@infosec.pub avatar

    Duly noted.

    alper_celik,

    Even when using home manager or any other dotfile manager your $HOME folder is still filled with junk. It maybe in your controlled repo but it still ends up as symlink to that repo.

    some_guy,

    It needed to be said.

    RamdomSlaphead,

    Cough Snap cough

    Mio,

    Is there any good gui application for mange these but also edit them in a user friendly way like getting a dropdown for a settings like: Yes/No, Country Sweden. Number size range etc. So include validation. Even nix os does not have that.

    leastprivilege,

    I’m new to Linux. Should I be using something like chezmoi?

    benjacoblee,

    If you spend a decent chunk of time on config, I’d say yes - it’s worth learning 🙂

    jackpot,
    @jackpot@lemmy.ml avatar

    whats chezmoi

    kamenlady,
    @kamenlady@lemmy.world avatar

    My casa es tu casa - you’re always welcome

    That being said, chezmoi helps you manage your personal configuration files (dotfiles, like ~/.gitconfig) across multiple machines.

    Chunk,

    No it’s doesn’t matter. There are so many other things to learn.

    monobot,

    Here is nice help for python software to determine XDG directories (and more): pyxdg.readthedocs.io/en/…/basedirectory.html

    PyXDG contains implementations of freedesktop.org standards in python.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines