Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: vscodium: add missing paths & codium redirect #4587

Merged
merged 3 commits into from
Oct 9, 2021

Conversation

kmk3
Copy link
Collaborator

@kmk3 kmk3 commented Oct 5, 2021

kmk3 added 3 commits October 4, 2021 15:43
Added on commit 4bb7dee ("small changes", 2019-02-07).
It creates the following directories on startup:

* ~/.config/VSCodium
* ~/.vscode-oss

Environment:

    $ grep '^NAME' /etc/os-release
    NAME="Artix Linux"
    $ pacman -Q vscodium-bin
    vscodium-bin 1.60.2-2

Note: The following entry is already on disable-programs.inc:

    noblacklist ${HOME}/.vscode-oss

It was added on commit de90834 ("Update disable-programs.inc",
2019-03-02).

Relates to netblue30#3871.
Both base names are valid:

    $ grep '^NAME' /etc/os-release
    NAME="Artix Linux"
    $ pacman -Q vscodium-bin
    vscodium-bin 1.60.2-2
    $ pacman -Qlq vscodium-bin | grep -v -e '/$' -e /resources/ |
      grep /bin/
    /usr/bin/codium
    /usr/bin/vscodium
    /usr/share/vscodium-bin/bin/codium

Note: The first two paths are symlinks to the third one.

Fixes netblue30#3871.
@kmk3 kmk3 requested a review from rusty-snake October 5, 2021 04:08
@henrythebuilder
Copy link

henrythebuilder commented Oct 5, 2021

Thanks @kmk3
I tried the changes (only for profiles) and they seem to work.
Two additional comments:

  • about vscodium: missing profile redirect: vscodium was renamed to codium #3871, and in general for VSCODE-related profiles (eg VSCODIUM type derivative applications), the profiles to use are those that include 'changes for Electron', in particular the commit Refactor code.profile as electron redirect, in this way with the latest profiles all seems to work without any local modification.
  • For those like me use VSCODE self-compiled and/or installed locally in portable mode it is necessary to enable access to the local installation directory, for example with read-write ${HOME}/bin/vscode in the local profile.

👍

@kmk3
Copy link
Collaborator Author

kmk3 commented Oct 5, 2021

@henrythebuilder commented on Oct 5:

Thanks @kmk3 I tried the changes (only for profiles) and they seem to work. Two additional comments:

Thanks for testing!

  • For those like me use VSCODE self-compiled and/or installed locally in
    portable mode it is necessary to enable access to the local installation
    directory, for example with read-write ${HOME}/bin/vscode in the local
    profile.

+1

Interesting, I didn't know that it had a portable mode on Linux.

@henrythebuilder
Copy link

Portable mode is interesting because it is easy to manage without installation in the system (Windows, Linux or macOS), especially in the case of self compilation:

👍

@netblue30
Copy link
Owner

merged!

@netblue30 netblue30 merged commit d1abb5b into netblue30:master Oct 9, 2021
@kmk3 kmk3 deleted the fix-vscodium branch October 9, 2021 17:51
@kmk3 kmk3 changed the title Fix vscodium profiles: vscodium: add new directories, codium redirect & misc fixes Sep 3, 2024
@kmk3 kmk3 changed the title profiles: vscodium: add new directories, codium redirect & misc fixes profiles: vscodium: add missing paths, codium redirect & misc fixes Sep 3, 2024
@kmk3 kmk3 changed the title profiles: vscodium: add missing paths, codium redirect & misc fixes profiles: vscodium: add missing paths & codium redirect Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vscodium: missing profile redirect: vscodium was renamed to codium
4 participants