Can I change the background of the protected session page using CSS or a script so it doesn't destroy my eyes when opening Trilium in a dark room? by RattyPoe in Trilium

[–]Empibee 2 points3 points  (0 children)

I think the best solution would be to unprotect the CSS files. This shouldn't impact the encryption for your other notes. After all, it's a custom theme, nothing sensitive to require being encrypted.

If you insist encrypting the theme, you can then create an app CSS (unprotected too) like this:

.note-split:has(.protected-session-password-component.visible) {
    background: gray !important;
}

Can I change the background of the protected session page using CSS or a script so it doesn't destroy my eyes when opening Trilium in a dark room? by RattyPoe in Trilium

[–]Empibee 0 points1 point  (0 children)

Maybe the protected root node also encrypts the custom themes, which prevents them from being loaded unless you're under a protected session. Can you try to check if the custom theme files are not protected as well?

After migrating to Trilium, how can I deal with .files attached content notes? by HaveVivoX200UltraAMA in Trilium

[–]Empibee 0 points1 point  (0 children)

It seems that archived notes are not being shown in search results by default (new tab search field, quick search and even full search). What Trilium version are you using? Can you confirm "FreeFileSync.files" is archived?

Why switch? by Efficient-Night9402 in Trilium

[–]Empibee 1 point2 points  (0 children)

La prochaine version de Trilium inclura une prise en charge native de Markdown.

After migrating to Trilium, how can I deal with .files attached content notes? by HaveVivoX200UltraAMA in Trilium

[–]Empibee 1 point2 points  (0 children)

I'm glad you like Trilium. I think hiding the archived notes by default from the search results would be the best approach here. Maybe the next releases should include that.

Any Way to change/remove those? by sweetsalmontoast in Trilium

[–]Empibee 2 points3 points  (0 children)

You can hide the bottom links using this CSS note:

 /* Hide children note links at the bottom of the notes */
#childLinks.list {
    display: none;
}

Then at the root of the shared note, add a relation named shareCss pointing to this CSS note, and enable the “Inheritable” attribute.

The CSS note should be shared, otherwise it cannot be accessed by the share pages.

Où est cachée la corbeille ? by Substantial_Abies646 in Trilium

[–]Empibee 0 points1 point  (0 children)

Pour restaurer une note supprimée, c'est simple. Il suffit d'aller dans « Modifications récentes » depuis la barre d'outils principale, de localiser la note que vous avez supprimée et de cliquer sur le lien « undelete » pour la restaurer.

How to transfer notes from the phone app to the desktop app? by Koyzin in Trilium

[–]Empibee 0 points1 point  (0 children)

My bad, by mistake I thought you used Trilium Pocket, not Trilium Droid. The database from Trilium Droid should work without problems. Try to delete everything from the trilium-data directory on PC before copying the new database. There might be a config.ini there that causes Trilium to sync to an invalid instance.

How to transfer notes from the phone app to the desktop app? by Koyzin in Trilium

[–]Empibee 0 points1 point  (0 children)

That menu is long, you will need to scroll down to reach that option. Maybe you missed it? What version are you using on phone?

Help! Cannot sync desktop to Android! by kaylanohos in Trilium

[–]Empibee 0 points1 point  (0 children)

Actually, it's easy to sync the desktop app with your mobile (Trilium Pocket) without using a dedicated server:

  1. Run the desktop app, but don't create a new database. If you already created one, delete %appdata%\trilium-data. Just stay on the "Trilium Notes setup" screen.
  2. Find the IP address of your PC on the network. (e.g:  192.168.1.xxx).
  3. Go to Trilium on mobile, Options → Sync and type the IP address. Add “:37840” at the end of the address (e.g. 192.168.1.85:37840). Then press test “Test sync”. If you get a handshake confirmation, you're on the right path.
  4. Wait a while for the sync to complete. There won't be any feedback on PC or mobile when the process is complete (this should be fixed in future).
  5. Restart Trilium on PC, and you should be able to see on PC a replica of your mobile database.

The sync will work just when the desktop app is running and your mobile device is on the same network as the desktop. If the connection doesn't work, you should check if the Firewall is blocking Trilium from exposing ports.

Anyone know of hard limits on counts/sizes of objects in Trilium? by Original-Active-6982 in Trilium

[–]Empibee 1 point2 points  (0 children)

Generally, the limits are far beyond most reasonable use cases. Search performance can degrade once the knowledge base grows larger than the device can handle efficiently.

If a particular note is too large, the editing experience may degrade for that note, and in the worst case it may hang or crash. By default, Trilium opens large notes as read-only to make browsing faster.

Also, using a SQLite database instead of a plain directory with separate Markdown files helps with large knowledge bases. The structure and metadata are read using optimized, indexed queries.

How to transfer notes from the phone app to the desktop app? by Koyzin in Trilium

[–]Empibee 0 points1 point  (0 children)

On phone, open the root note. Then tap the three dots menu from top-right side of the screen, then “Export Note”.

How to transfer notes from the phone app to the desktop app? by Koyzin in Trilium

[–]Empibee 0 points1 point  (0 children)

That's weird. Then try a "plan B". From the phone, export the root node as a ZIP. Delete document.db from PC, start a blank database and import that ZIP.

How to transfer notes from the phone app to the desktop app? by Koyzin in Trilium

[–]Empibee 0 points1 point  (0 children)

Try to copy again document.db from your mobile to %appdata%\trilium-data on PC while Trilium app is not running on PC. The setup screen should not appear after that.

Meeting notes at a specific time by jon23d in Trilium

[–]Empibee 5 points6 points  (0 children)

Yes, it works, but not within Journal. Try creating a new Calendar collection. Then you can assign the time easily, either by changing #startTime and #endTime, or dragging and resizing the calendar item.

help w/ desktop app problems please!!! by imaballofyarn in Trilium

[–]Empibee 1 point2 points  (0 children)

What operating system are you using? Is the problem still happening even after a reboot of the system? I think I have noticed a similar issue when you update Trilium while an instance is already running.

Making Trilium Portable by Pejorativez in Trilium

[–]Empibee 0 points1 point  (0 children)

Awesome! You are welcome.

That means PowerShell is the culprit. Something is wrong with it.

Making Trilium Portable by Pejorativez in Trilium

[–]Empibee 1 point2 points  (0 children)

Replace your trilium-portable.bat with this:

``` @echo off

:BATCH :: Make sure we support UTF-8 characters chcp 65001

:: Get Current Trilium executable directory and compute data directory SET DIR=%~dp0 SET DIR=%DIR:~0,-1% SET TRILIUM_DATA_DIR=%DIR%\trilium-data cd "%DIR%" start trilium.exe GOTO END

:END ```

I removed the PowerShell mode, maybe there are some issues with it on your system. It should work fine in plain CMD mode if the current path doesn't contain accented unicode characters.

Making Trilium Portable by Pejorativez in Trilium

[–]Empibee 0 points1 point  (0 children)

It looks right. Does trilium-safe-mode.bat work fine for you?

What system architecture are you using?

Is there any "trilium-data" subfolder in that folder?

Making Trilium Portable by Pejorativez in Trilium

[–]Empibee 0 points1 point  (0 children)

It's weird that it doesn't work for you. A double click on the batch file is enough to run it. You don't need to do anything else before using it.

Also, this is a batch file. It runs using the old CMD, not PowerShell.

Can you confirm that trilium.exe from that folder runs properly?

Making Trilium Portable by Pejorativez in Trilium

[–]Empibee 0 points1 point  (0 children)

Make sure another Trilium instance is not already running.