GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Dr. Quadragon ❌ (drq@mastodon.ml)'s status on Tuesday, 23-Jul-2024 13:53:45 JST Dr. Quadragon ❌ Dr. Quadragon ❌

    Note to self:

    Flatpak stores all of its user configuration and otherwise application-specific files in ~/.var

    Which is actually great for a) not polluting ~/ and b) having all of the config in one place, finally.

    Although the naming could have been a little more obvious.

    In conversation about 10 months ago from mastodon.ml permalink
    • clacke likes this.
    • Embed this notice
      Ambassador Tabliček (strizhechenko@lor.sh)'s status on Tuesday, 23-Jul-2024 13:53:43 JST Ambassador Tabliček Ambassador Tabliček
      in reply to

      @drq but why not:
      -/.config
      ~/.local/flatpak

      In conversation about 10 months ago permalink
      clacke likes this.
    • Embed this notice
      clacke (clacke@libranet.de)'s status on Tuesday, 23-Jul-2024 18:35:10 JST clacke clacke
      in reply to
      • Ambassador Tabliček
      • AkhIL
      @akhil @strizhechenko Should be ~/.local/var/lib/flatpak in that case.
      In conversation about 10 months ago permalink
    • Embed this notice
      AkhIL (akhil@mastodon.ml)'s status on Tuesday, 23-Jul-2024 18:35:11 JST AkhIL AkhIL
      in reply to
      • Ambassador Tabliček

      @strizhechenko AFAIK `local` means the same as non-local but custom and overrides non-local, like `/usr/local/bin` and `~/.local/bin` overrides `/usr/bin`, `var` means "variable" and is meant to be used as a place to store application/service volatile data. So `~/.var/flatpak/...` is more UNIX-like.

      In conversation about 10 months ago permalink
    • Embed this notice
      Ambassador Tabliček (strizhechenko@lor.sh)'s status on Tuesday, 23-Jul-2024 18:35:13 JST Ambassador Tabliček Ambassador Tabliček
      in reply to
      • AkhIL

      @akhil anyway ~/.local/flatpak/app/<app_id> would be more conventional I think

      In conversation about 10 months ago permalink
    • Embed this notice
      AkhIL (akhil@mastodon.ml)'s status on Tuesday, 23-Jul-2024 18:35:14 JST AkhIL AkhIL
      in reply to
      • Ambassador Tabliček

      @strizhechenko
      Flatpak places everythong related to a single app into ~/.var/app/<app_id>
      So moving/removing all app data is simple as moving/removing single directory.
      @drq

      In conversation about 10 months ago permalink
    • Embed this notice
      iliazeus (iliazeus@lor.sh)'s status on Wednesday, 24-Jul-2024 06:36:45 JST iliazeus iliazeus
      in reply to
      • clacke
      • Ambassador Tabliček
      • AkhIL

      @akhil the convention in question is the XDG Base Directory spec:

      https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

      It does not specify `~/.var`; instead, as I understood, `$XDG_DATA_HOME/flatpak` should be used; and if `$XDG_DATA_HOME` is not set, `~/.local/share` should be taken as its value.

      Sadly, almost nobody does that properly anyway. Even when people try to do it the right way, they most often just hard-code `~/.local/share/whatever`, without taking that env var into account.

      @strizhechenko @clacke @drq

      In conversation about 10 months ago permalink
      clacke likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.