mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-23 11:30:14 +10:00
docs: how to fix default file manager on linux (#983)
This commit is contained in:
18
DOCS.md
18
DOCS.md
@@ -11,6 +11,7 @@
|
|||||||
- [Migrating from Visual Studio Code to VSCodium](#migrating)
|
- [Migrating from Visual Studio Code to VSCodium](#migrating)
|
||||||
- [Sign in with GitHub](#signin-github)
|
- [Sign in with GitHub](#signin-github)
|
||||||
- [How do I run VSCodium in portable mode?](#portable)
|
- [How do I run VSCodium in portable mode?](#portable)
|
||||||
|
- [How do I fix the default file manager?](#file-manager)
|
||||||
- [How do I press and hold a key and have it repeat in VSCodium?](#press-and-hold)
|
- [How do I press and hold a key and have it repeat in VSCodium?](#press-and-hold)
|
||||||
- [How do I open VSCodium from the terminal?](#terminal-support)
|
- [How do I open VSCodium from the terminal?](#terminal-support)
|
||||||
- [From Linux .tar.gz](#from-linux-targz)
|
- [From Linux .tar.gz](#from-linux-targz)
|
||||||
@@ -138,6 +139,23 @@ You can follow the [Portable Mode instructions](https://code.visualstudio.com/do
|
|||||||
- **Windows** / **Linux** : the instructions can be followed as written.
|
- **Windows** / **Linux** : the instructions can be followed as written.
|
||||||
- **macOS** : portable mode is enabled by the existence of a specially named folder. For Visual Studio Code that folder name is `code-portable-data`. For VSCodium, that folder name is `codium-portable-data`. So to enable portable mode for VSCodium on Mac OS, follow the instructions outlined in the [link above](https://code.visualstudio.com/docs/editor/portable), but create a folder named `codium-portable-data` instead of `code-portable-data`.
|
- **macOS** : portable mode is enabled by the existence of a specially named folder. For Visual Studio Code that folder name is `code-portable-data`. For VSCodium, that folder name is `codium-portable-data`. So to enable portable mode for VSCodium on Mac OS, follow the instructions outlined in the [link above](https://code.visualstudio.com/docs/editor/portable), but create a folder named `codium-portable-data` instead of `code-portable-data`.
|
||||||
|
|
||||||
|
## <a id="file-manager"></a>How do I fix the default file manager (Linux)?
|
||||||
|
|
||||||
|
In some case, VSCodium becomes the file manager used to open directories (instead of apps like Dolphin or Nautilus).<br />
|
||||||
|
It's due to that no application was defined as the default file manager and so the system is using the latest capable application.
|
||||||
|
|
||||||
|
To set the default app, create the file `~/.config/mimeapps.list` with the content like:
|
||||||
|
```
|
||||||
|
[Default Applications]
|
||||||
|
inode/directory=org.gnome.Nautilus.desktop;
|
||||||
|
```
|
||||||
|
|
||||||
|
You can find your regular file manager with the command:
|
||||||
|
```
|
||||||
|
> grep directory /usr/share/applications/mimeinfo.cache
|
||||||
|
inode/directory=codium.desktop;org.gnome.Nautilus.desktop;
|
||||||
|
```
|
||||||
|
|
||||||
## <a id="press-and-hold"></a>How do I press and hold a key and have it repeat in VSCodium (Mac)?
|
## <a id="press-and-hold"></a>How do I press and hold a key and have it repeat in VSCodium (Mac)?
|
||||||
|
|
||||||
This is a common question for Visual Studio Code and the procedure is slightly different in VSCodium because the `defaults` path is different.
|
This is a common question for Visual Studio Code and the procedure is slightly different in VSCodium because the `defaults` path is different.
|
||||||
|
|||||||
Reference in New Issue
Block a user