Aiz0 / dotless

My dotless files
2 stars 0 forks source link

Declutter Home #1

Open Aiz0 opened 4 years ago

Aiz0 commented 4 years ago

This is a list dotfiles that currently still reside in ~/, or atleast used to

Currently not installed

Applications that create dotfiles in ~/ but are currently not installed or in use.

dotfiles that can be safely removed

Aiz0 commented 4 years ago

There is currently a pull request for protonvpn-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. No longer relevant, see https://github.com/Aiz0/dotless/issues/1#issuecomment-805057507

Aiz0 commented 4 years ago

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.

Aiz0 commented 4 years ago

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.

Aiz0 commented 4 years ago

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.

Aiz0 commented 4 years ago

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.

Aiz0 commented 4 years ago

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.

Aiz0 commented 4 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

Setting OMNISHARPHOME to XDG_CONFIG_HOME solves the issue with the .omnisharp directory. Pushing a commit that does that

Aiz0 commented 3 years ago

I've created a wrapper script for unityhub which in turn solved multiple issues I had with it. See #7

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.

Aiz0 commented 3 years ago

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.