Installing Silex
-
Setting up pCloud
In your installed Silex 3.9.0, set the destination using
SILEX_HOSTING_PATHwhen launching the app. The “File system hosting” dialog does not provide a folder selector. Silex configurationYour pCloud
Websitefolder already contains a website. Back it up before publishing—Silex will overwrite files with matching names, includingindex.html. I haven’t changed anything.-
Close Silex completely, and make sure pCloud Drive is running.
-
Open a terminal and run:
env SILEX_HOSTING_PATH="/home/ben/pCloudDrive/Public Folder/Website" /usr/bin/silex-desktop -
Open your project and click Publish.
-
Click Open published folder. It should now open:
/home/ben/pCloudDrive/Public Folder/Website
Silex writes the website directly into that folder; pCloud handles uploading it. Your editable Silex project stays in its existing location. Publishing implementation
To make this work when opening Silex from your application menu, create a personal copy of its launcher:
cp -n /usr/share/applications/Silex.desktop /home/ben/.local/share/applications/Silex.desktopOpen that copied file in a text editor and replace:
Exec=silex-desktopwith:
Exec=env "SILEX_HOSTING_PATH=/home/ben/pCloudDrive/Public Folder/Website" /usr/bin/silex-desktopSave it, then launch Silex from the menu.
This destination applies to every project published from that configured app. Publishing another Silex project could overwrite the same website.
Once pCloud finishes uploading, get the direct link to
Websitefrom the Public Folder section of my.pcloud.com. That is the address to share with learners; the/home/ben/…path works only on your computer. pCloud instructions -
-
Syncing Silex between PCs (Nobara)
Use pCloud Sync to synchronize Silex’s editable projects between the two PCs, while keeping your published website in
Public Folder/Website.pCloud Sync keeps local copies and transfers changes in both directions. This lets you edit locally on either computer. pCloud’s explanation
-
Prepare the Office PC first.
Close Silex and make a backup copy of this entire folder somewhere outside the folder being synchronized:
/home/ben/.local/share/org.silex.desktop/websitesThis contains your editable websites, pages, and templates. Synchronize only
websites, not the entireorg.silex.desktopfolder.In Dolphin, press Ctrl+L and paste the path to open this hidden location.
-
Connect the Office projects to pCloud.
Create a private folder in your pCloud account named:
Silex ProjectsKeep it outside Public Folder so your editable projects are not public.
Open pCloud → Preferences → Sync → Add new sync and select:
Setting Folder Local folder /home/ben/.local/share/org.silex.desktop/websitespCloud folder Silex ProjectsWait until pCloud finishes uploading before proceeding.
-
Install matching software on the Home PC.
Install pCloud and sign in to the same pCloud account.
Install the same Silex version as Office. Your current installation is Silex 3.9.0. You can check either computer with:
rpm -q silexOpen Silex once, then close it before setting up synchronization.
-
Connect the Home project folder to the same cloud folder.
On Home, the local folder should be:
/home/YOUR-HOME-USERNAME/.local/share/org.silex.desktop/websitesIf it already contains projects, move those projects to a separate backup folder first, leaving an empty
websitesfolder. Do this before adding the sync connection.In pCloud → Preferences → Sync → Add new sync, connect that empty local folder to the existing Silex Projects cloud folder. pCloud documents this approach for Linux. Linux sync instructions
Wait for the download to finish, then open Silex. Your Office websites and templates should appear automatically—no separate template import is needed.
-
Copy your publishing launcher to Home.
Your Office Silex launcher contains the setting that publishes to pCloud. Copy this file to the same relative location on Home:
~/.local/share/applications/Silex.desktopIts publishing line currently reads:
Exec=env "SILEX_HOSTING_PATH=/home/ben/pCloudDrive/Public Folder/Website" /usr/bin/silex-desktopIf your Home username is different, replace
/home/benwith the actual Home directory. Also confirm that pCloud mounts at that location.Start Silex using this application-menu launcher, with pCloud running. This launcher is separate from the synchronized projects, so it needs to be configured on each PC.
-
Follow this routine whenever you switch PCs.
-
Finish editing and close Silex on the first PC.
-
Wait for pCloud to finish syncing before shutting down.
-
On the other PC, wait for pCloud to finish downloading changes.
-
Then open Silex and continue working.
Keep Silex open on only one PC at a time. Treat this as transferring your work between computers, rather than simultaneous editing.
-
Your edits and templates synchronize without clicking Publish. Click Publish only when you want to update the public website. Keep occasional separate backups, since synchronization also carries deletions and mistakes to the other PC.
-