1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00
joplin/readme/faq.md
2020-02-28 14:52:46 -06:00

7.6 KiB

How can I edit my note in an external text editor?

The editor command (may include arguments) defines which editor will be used to open a note. If none is provided it will try to auto-detect the default editor. If this does nothing or you want to change it for Joplin, you need to configure it in the Preferences -> Text editor command.

Some example configurations are: (comments after #)

Linux/Mac:

subl -n       # Opens Sublime (subl) in a new window (-n)
code -n       # Opens Visual Studio Code (code) in a new window (-n)
gedit --new-window    # Opens gedit (Gnome Text Editor) in a new window
xterm -e vim  # Opens a new terminal and opens vim. Can be replaced with an
              # alternative terminal (gnome-terminal, terminator, etc.) 
              # or terminal text-editor (emacs, nano, etc.)
open -a <application> # Mac only: opens a GUI application

Windows:

subl.exe -n   # Opens Sublime (subl) in a new window (-n)
code.exe -n   # Opens Visual Studio Code in a new window (-n)
notepad.exe   # Opens Notepad in a new window
notepad++.exe --openSession   # Opens Notepad ++ in new window

Note that the path to directory with your editor executable must exist in your PATH variable (Windows, Linux/Mac) If not, the full path to the executable must be provided.

When I open a note in vim, the cursor is not visible

It seems to be due to the setting set term=ansi in .vimrc. Removing it should fix the issue. See https://github.com/laurent22/joplin/issues/147 for more information.

All my notes got deleted after changing the WebDAV URL!

When changing the WebDAV URL, make sure that the new location has the same exact content as the old location (i.e. copy all the Joplin data over to the new location). Otherwise, if there's nothing on the new location, Joplin is going to think that you have deleted all your data and will proceed to delete it locally too. So to change the WebDAV URL, please follow these steps:

  1. Make a backup of your Joplin data in case something goes wrong. Export to a JEX archive for example.
  2. Synchronise one last time all your data from a Joplin client (for example, from the desktop client)
  3. Close the Joplin client.
  4. On your WebDAV service, copy all the Joplin files from the old location to the new one. Make sure to also copy the .resource directory as it contains your images and other attachments.
  5. Once it's done, open Joplin again and change the WebDAV URL.
  6. Synchronise to verify that everything is working.
  7. Do step 5 and 6 for all the other Joplin clients you need to sync.

How can I easily enter Markdown tags in Android?

You may use a special keyboard such as Multiling O Keyboard, which has shortcuts to create Markdown tags. More information in this post.

The initial sync is very slow, how can I speed it up?

Whenever importing a large number of notes, for example from Evernote, it may take a very long time for the first sync to complete. There are various techniques to speed thing up (if you don't want to simply wait for the sync to complete), which are outlined in this post.

Is it possible to use real file and folder names in the sync target?

Unfortunately it is not possible. Joplin synchronises with file systems using an open format however it does not mean the sync files are meant to be user-editable. The format is designed to be performant and reliable, not user friendly (it cannot be both), and that cannot be changed. Joplin sync directory is basically just a database.

Could there be a password to restrict access to Joplin?

The end to end encryption that Joplin implements is to protect the data during transmission and on the cloud service so that only you can access it.

On the local device it is assumed that the data is safe due to the OS built-in security features. If additional security is needed it's always possible to put the notes on an encrypted Truecrypt drive for instance.

For these reasons, because the OS or yourself can easily protect the local data, no PIN or password is currently supported to access Joplin.

There is however an issue open about it, so pull requests are welcome: https://github.com/laurent22/joplin/issues/289

WebDAV synchronisation is not working

"Forbidden" error in Strato

For example:

MKCOL .sync/: Unknown error 2 (403): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /.sync/
on this server.</p>
</body></html>

In this case, make sure you enter the correct WebDAV URL.

Nextcloud sync is not working

How can I use self-signed SSL certificates on Android?

If you want to serve using https but can't or don't want to use SSL certificates signed by trusted certificate authorities (like "Let's Encrypt"), it's possible to generate a custom CA and sign your certificates with it. You can generate the CA and certificates using openssl, but I like to use a tool called mkcert for it's simplicity. Finally, you have to add your CA certificate to Android settings so that Android can recognize the certificates you signed with your CA as valid (link).

How do I restart Joplin on Windows (so that certain changes take effect)?

If Show tray icon is enabled, closing the Joplin window does not quit the application. To restart the application properly, one of the following has to be done to quit Joplin:

  • click File in the menu and then click Quit
  • right-click on the Joplin tray icon and then click Exit

Additionally the Windows Task Manager can be used to verify whether Joplin is still around.

Why is it named Joplin?

The name comes from the composer and pianist Scott Joplin, which I often listen to. His name is also easy to remember and type so it felt like a good choice. And, to quote a user on Hacker News, "though Scott Joplin's ragtime musical style has a lot in common with some very informal music, his own approach was more educated, sophisticated, and precise. Every note was in its place for a reason, and he was known to prefer his pieces to be performed exactly as written. So you could say that compared to the people who came before him, his notes were more organized".