Open Aiz0 opened 4 years ago
There is currently a pull request for No longer relevant, see https://github.com/Aiz0/dotless/issues/1#issuecomment-805057507protonvpn-cli
to adopt XDG base dirs. If merged it would remove the .pvpn-cli
directory from home. As there haven't been any updates for a few months now i might try to install that myself. Alternatively i could switch to using openvpn
directly.
I noticed that dotnet
uses the environment variable DOTNET_ROOT
to specify where dotnet
stuff is installed. I'm going to try installing dotnet
with that environment variable set.
For steam
I might be able to create a wrapper script similar to the firefox
wrapper script where I set the home directory to something else before launching steam
. I don't know if that would work for the games too though.
I set the DOTNET_ROOT
and DOTNET_PACKAGES
environement variables and moved everything there. I did notice that I might not actually need dotnet and nuget installed at all. I'll have wait and see if it doesn't work.
dotnet
doesn't seem to respect the environment variables since it creates a .dotnet
directory in ~/
when I run a command such as dotnet help
I might have misunderstood what the environment variables do, but atleast everything seems to work without those directories.
I've created a wrapper-script for steam
similar to firefox
wrapper script. It's seems to be working fine at the moment. I've only tested launching one game but it went without issues. I need to try factorio
to see whether it creates a directory in ~/
or in the new steamhome directory. Steam creates 5 dotfiles so moving them out of ~/
is nice.
Switching from osu-lazer
to osu-lazer-bin
in the AUR means i don't need dotnet
and all it's dotfiles. So that's good.
Protonvpn seems to have made a new linux-cli app, it's currently not available for arch. I don't know if this rewritten app means that it supports XDG base dirs but I hope it does.
I have to use unity for school work. Unity doesn't respect the XDG base dirs and instead just uses ~/.config/
and ~/.local/share/
. I have not had a very nice experiance using unity on linux. Unityhub doesn't work at all, I can't open existing projects and editors have to be placed in ~/Unity/Hub/Editor/
. I tried changing the directory where editors are stored within unityhub but new projects failed to start because it couldn't load plugins.
Since unityhub is totally useless I have to use the unity editor to open projects. While this is annoying, atleast it works. path/to/editor/Unity -openfile path/to/project/Assets/Scenes/scene.unity
Because I use Unity I have to use C# and Mono. Mono creates a .mono
directory in ~/
.
I also get a .omnisharp
directory in ~/
from omnisharp-roslyn
which omnisharp-vim
uses as it's language server. The .omnisharp
directory is always empty but it's created everytime I edit a .cs
file with nvim. I still haven't gotten unity to work with omnisharp-vim
which is something i need to look into.
The old protonvpn cli
has been rebranded as the community version and will no longer receive any commits. I will have to wait for the new linux-cli app to become available.
Setting OMNISHARPHOME
to XDG_CONFIG_HOME
solves the issue with the .omnisharp
directory. Pushing a commit that does that
I've created a wrapper script for unityhub
which in turn solved multiple issues I had with it. See #7
I finally got around to test if factorio
still creates a directory in ~/
when launched through steam which has it's home set to somewhere else. Factorio does still create a ~/.factorio
directory which is disappointing.
Due to me having run into using dotnet
again, I've looked into ways to remove the ~/.dotnet
and ~/.nuget
directories.
The ~/.nuget
directory contains two subdirectories. packages
and NuGet
.
I've found this which specifies how to manage some directories and how to override them.
With the environment variable NUGET_PACKAGES
i was able move one subdirectory out of the ~/.nuget
directory.
The other subdirectory contains a NuGet.config
file which according to this means I should be able to move the config file to ~/.config/NuGet/NuGet.Config
. I don't know if they support using XDG_CONFIG_HOME
instead but unfortunately it doesn't matter since dotnet
is hardcoded to use ~/.nuget
.
There is a proposal to fix this but it will probably take a while.
The~/.dotnet
directory on the other hand is unlikely to ever be removed.
I'm currently only using dotnet
to build udev rules from OpenTabletDriver-udev
.
Since this isn't a regular thing I do and will likely only happen once more, I will delete the directories from ~/
and not bother doing anything more at the moment.
The new protonvpn-cli
supports XDG base dirs and the ~/.pvpn
directory can be removed.
There however seems to be a ~/.cert/nm-openvpn
directory created by openvpn
or networkmanager
.
I managed to move ~/.factorio
into ~/var/share/factorio
see commit 5f78c9a for details.
I am going to stop trying to do markdown in commits. It must be something i imagined to be a feature when it clearly isn't.
openshot
creates a ~/.openshot_qt
directory.
I have currently not found a way to set the location of this directory.
Openshot sucks in multiple ways so using something else is an option.
I've looked into the possibility of openshot
supporting XDG base dirs.
There is a WIP pull request that adds support for this.
While that is great and all it still sucks to use and i would muck prefer to ditch it and use something else instead.
Because of that I've decided to try out olive
. It's a video editor that looks to be better than openshot. Atleast for my use cases.
While I haven't dove to far deep into it's functionality it can atleast cut exactly on the currently displayed frame.
Since I am not going to use openshot
anymore I am going to remove it from the list.
This is a list dotfiles that currently still reside in
~/
, or atleast used to.cert
: byprotonvpn-cli
.pki
: byfreetube
,spotify
.mozilla
: byfirefox
[FIXED] see 2dd61102269b52c780493d652322363db04aa41b.steam
,.steampath
,.steampid
,.pulse-cookie
.pki
: bysteam
[FIXED] wrapper-script.factorio
: byfactorio
(game) [FIXED] see 5f78c9a.local/share/unity3d
,.local/share/UnityHub
: byUnity
[FIXED] wrapper-script, see eba5f649dccba847ad9091b19b387747bb957c2d.config/unity3d
: byUnity
[Fixed] wrapper-script, see eba5f649dccba847ad9091b19b387747bb957c2d.omnisharp
: byomnisharp-roslyn
(language-server foromnisharp-vim
) [FIXED]Currently not installed
Applications that create dotfiles in
~/
but are currently not installed or in use..dotnet
: bydotnet
[Removed].nuget/NuGet
: bynuget
(dotnet package manager).mono
: by Mono (open source .NET).rubberband.wisdom.d
: by rubberband (used byardour
)dotfiles that can be safely removed
[ ] A
.mozilla
directory is created in~/
. This happens whenfirefox
is opened from another program. The.mozilla
directory can be safely removed but it's a bit annoying to have to remove it.[x] A
Downloads
directory is created in~/
. byspotify
. The issue has been reported Here [FIXED] wrapper-script, see 8a1f4d869c02de79879feb64402d7f34d0f92f07[ ] A
.pulse-cookie
dotfile is created in~/
. I don't know why it's created since$XDG_CONFIG_HOME/pulse/cookie
exists. At the moment it seems that it's created when audio is played in a game run bywine
vialutris
.Not Mentioned
.pam_environment
: the first thing the system looks for to set a users environment variables. Going to be deprecated in the future..ssh