Tips・こまったとき
最終更新日: 2026年7月20日
トップページのよくある質問より一歩踏み込んだ内容をまとめています。
クラウド同期のフォルダに vault を置いている方へ
Google ドライブ・OneDrive・Dropbox などの同期フォルダに Obsidian vault を置いて使うこともできます。 このとき、同期の一時的な切断や再接続をはさむと、Obsidian 側で編集しても付箋に反映されなくなることがあります。 Petatto.md は vault フォルダの変更を見張って付箋を更新していますが、フォルダが一度 OS から切り離されると、 再接続後もその見張りが外れたままになることがあるためです。
直し方
メインウィンドウの vault カードにある 「再走査」 ボタンを押してください。 見張りを貼り直し、その時点の最新の内容で付箋を開き直します。 付箋の位置・サイズ・色はそのまま残ります(付箋化の解除やファイルの書き換えは行いません)。
- 「再走査」でも直らないときは、アプリを一度終了して起動し直してください。
- クラウド側がまだオフライン・未同期で vault フォルダに届かない状態だと、「再走査」はエラーになります。同期が復帰してからもう一度押してください。
- 「最近この付箋、更新されていないかも?」と感じたときの最初の一手として覚えておくと安心です。
特定のフォルダを付箋の対象から外す(.petatto-ignore)
付箋にしたくないフォルダ(テンプレート置き場、下書き、アーカイブなど)には、
.petatto-ignore という名前の空ファイルを 1 つ置きます。
そのフォルダの中にあるノートは、petatto-md: true が書かれていても付箋になりません。
ファイルの作り方
ドットで始まる名前のファイルは Obsidian からは作成・表示できないため、エクスプローラなど Windows 側で作成してください。
- まずエクスプローラの「表示」でファイル名拡張子を表示にしておきます(そうしないと
.petatto-ignore.txtという別名になってしまい、機能しません)。 - 対象のフォルダで右クリック →「新規作成」→「テキスト ドキュメント」を作り、名前を
.petatto-ignoreに変更します。 - 名前の変更がうまくいかない場合は、末尾にもう一つドットを付けて
.petatto-ignore.と入力してください(末尾のドットは自動的に取り除かれます)。 - 中身は空のままで構いません。書かれている内容は読み取りません。
もう少し細かいところ
- 下の階層まで丸ごと外れます。 置いたフォルダだけでなく、その中のサブフォルダ、さらにその中……と、何段でも対象外になります。
- vault のいちばん上に置くと、vault 全体が対象外になります。 付箋が 1 つも出てこなくなったときは、まずここを確認してください。
- 一部だけを対象に戻すことはできません。 外したフォルダの中に何を置いても、その中のノートを個別に呼び戻す方法はありません。戻したいときは、
.petatto-ignoreを削除して、本当に外したい下のフォルダに置き直してください。 - 置く順番が大事です。 先に
.petatto-ignoreを置いてから、そのフォルダのノートにpetatto-md: trueを書いてください。逆の順番だと、書いた瞬間にいったん付箋になります。そのときはアプリを起動し直せば出てこなくなります(下記)。 - すでに出ている付箋はすぐには閉じません。 後から
.petatto-ignoreを置いた場合、その時点で開いている付箋はそのまま残り、次にアプリを起動したときに出てこなくなります。すぐ消したいときはアプリを起動し直してください。ノートのpetatto-md: trueはそのまま残るので、あとで.petatto-ignoreを外せばまた付箋として出てきます。
(付箋ヘッダの「×」は使わないでください。「×」はノートのpetatto-md自体を書き換えて付箋化を解除する操作なので、フォルダを対象外にしたいだけの場合は目的が違ってしまいます。) - 外したフォルダのファイルは「新規付箋化」からも選べません。 トレイの「新規付箋化…」で選ぶと、対象外である旨のエラーになります。
- 外したフォルダの中は見ていません。 対象外にしたフォルダの中でノートを削除・移動しても、Petatto.md は何も通知しません(意図的な除外として扱います)。
それでも解決しないとき
GitHub のissueからお知らせください。お使いの Windows のバージョン、Petatto.md のバージョン、 vault の置き場所(クラウド同期かどうか)を添えていただけると助かります。
Tips & Troubleshooting
Last updated: July 20, 2026
A deeper dive than the FAQ on the home page.
If your vault lives in a cloud-synced folder
You can keep your Obsidian vault in a synced folder such as Google Drive, OneDrive, or Dropbox. When you do, a brief disconnection and reconnection of the sync client can leave edits you make in Obsidian no longer showing up on your sticky notes. Petatto.md watches your vault folder for changes and updates the notes accordingly, but once the folder is detached from the OS, that watch can stay detached even after the folder comes back.
How to fix it
Press the "Rescan" button on the vault card in the main window. It re-attaches the watch and reopens your sticky notes with the current contents of the files. Position, size, and color of each note are preserved (nothing is un-stuck and no file is rewritten).
- If "Rescan" does not help, quit the app and start it again.
- If the cloud folder is still offline and the vault path cannot be reached, "Rescan" will report an error. Wait until syncing has resumed and press it again.
- Keep it in mind as the first thing to try whenever a note feels out of date.
Excluding a folder from sticky notes (.petatto-ignore)
To keep a folder out of Petatto.md (templates, drafts, archives, and so on), place a single
empty file named .petatto-ignore inside it.
Notes in that folder will not become sticky notes even if they contain petatto-md: true.
Creating the file
Obsidian cannot create or show files whose names begin with a dot, so create it from File Explorer in Windows.
- First turn on File name extensions in Explorer's View menu — otherwise you will end up with
.petatto-ignore.txt, which has no effect. - Right-click inside the folder, choose New → Text Document, and rename it to
.petatto-ignore. - If renaming is rejected, type
.petatto-ignore.with an extra dot at the end (Windows removes the trailing dot for you). - Leave the file empty. Its contents are never read.
Details worth knowing
- Everything below is excluded too. Not just the folder you put it in, but its subfolders, their subfolders, and so on, however deep.
- Placed at the top of your vault, it excludes the whole vault. If no sticky notes appear at all, check this first.
- You cannot bring part of it back. Nothing you place inside an excluded folder will re-include the notes within it. To bring them back, delete the
.petatto-ignorefile and place it in the deeper folder you actually meant to exclude. - Order matters. Place
.petatto-ignorefirst, then addpetatto-md: trueto notes in that folder. In the other order, a note becomes a sticky note the moment you write the flag; just restart the app and it will stay away (see below). - Sticky notes already on screen do not close right away. If you add
.petatto-ignorelater, notes that are currently open stay open and simply do not come back the next time you start the app. To clear them immediately, restart the app. Thepetatto-md: trueflag stays in your notes, so removing.petatto-ignorelater brings the sticky notes back.
(Do not use the "×" button here. "×" rewrites thepetatto-mdflag in the note itself to un-stick it, which is not what you want when you only meant to exclude a folder.) - Excluded files cannot be picked in "New sticky note". Choosing one from the tray menu returns an error saying the folder is excluded.
- Petatto.md stops looking inside. Deleting or moving notes within an excluded folder produces no notifications — the exclusion is treated as intentional.
Still stuck?
Let us know on GitHub. It helps to include your Windows version, your Petatto.md version, and where your vault is stored (cloud-synced or not).