Access to KiCad files on a network drive

Hi,
i am in the state of moving from win to linux and i want to access my files from my desktop and from my laptop, so i decided to use a network drive to store all the project files.
Unfortunately KiCad does not offer to select a network path to open a project.
Do i simply handle it wrong or is there a workaround available?

When opening a project, you have the option ā€œ+ Other Locationsā€ in the menu on the left.
Does that fix it?

Unfortunately not. All references are to local machine only.

Post your version info, and in particular say if you are using a snap or a flatpak.

Help > About KiCad > Copy version info

Not a Linux user, but we do have a linux machine here at work.

I believe our linux guy said he had to ā€˜mountā€™ the drive first and then it shows up as a local drive.
Not sure if this is the case but could be something to look at.

1 Like

Application: KiCad x86_64 on x86_64

Version: 7.0.10, release build

Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.1.1
FontConfig 2.14.2
libcurl/8.5.0-DEV OpenSSL/3.1.4 zlib/1.3 nghttp2/1.56.0

Platform: Freedesktop SDK 23.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, cinnamon, x11

Build Info:
Date: Jan 5 2024 12:26:28
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.84.0
OCC: 7.7.2
Curl: 8.5.0-DEV
ngspice: 42
Compiler: GCC 13.2.0 with C++ ABI 1018

Build settings:
KICAD_SPICE=ON

Two possible things to look at:

  1. as 636Steve said, you will need to ā€œmountā€ the network share before KiCad can see it; you canā€™t directly browse network shares in the Gnome file chooser as far as I know.

  2. It looks like you are using Flatpak. You might need to do some extra steps to give Flatpak access to a mounted network share. See How to use a shared folder in flatpak apps? - Fedora Discussion

I am also a Linux starter, so i am not shure i understand exactly what you are asking for.
What i did: i installed samba, made a shared directory in my home directory, added apropriate lines in the smb.conf file.
I can access this folder from win via \\winshare and it is displayed on other linux machines under Network, i can log in to this folder and access all files.
Is this what you were asking about ā€˜mounting the driveā€™ ?

Thank you, craftyjon, that is the solution. I uninstalled the flatpak version, installed the other offered version, have now access to the other machines.
Application: KiCad

Version: 6.0.2+dfsg-1, release build

Libraries:
wxWidgets 3.0.5
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16

Platform: Linux 5.15.0-91-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11

Build Info:
Date: Feb 12 2022 09:36:02
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.81.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

What Linux distro are you using? 6.0.2 is very old and has a number of known bugs, and also will be incompatible with files made in V7 if you are using that on other computers. You should see if there is a way to install a newer version (besides Flatpak if you donā€™t want to go through the steps to make the Flatpak work)

System:
Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial:
Mobo: ASUSTeK model: PRIME N100I-D D4 v: Rev 1.xx serial:
UEFI: American Megatrends v: 0405 date: 12/13/2023
CPU:
Info: quad core model: Intel N100 bits: 64 type: MCP smt: arch: N/A rev: 0 cache:
L1: 384 KiB L2: 2 MiB L3: 6 MiB
Speed (MHz): avg: 1273 high: 1986 min/max: 700/3400 cores: 1: 1540 2: 1986 3: 866 4: 700
bogomips: 6451
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel vendor: ASUSTeK driver: N/A bus-ID: 00:02.0 chip-ID: 8086:46d1 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: vesa unloaded: fbdev,modesetting
gpu: N/A display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") s-diag: 583mm (23")
Monitor-1: default res: 1920x1080 hz: 77 size: N/A
OpenGL: renderer: llvmpipe (LLVM 15.0.7 256 bits) v: 4.5 Mesa 23.0.4-0ubuntu1~22.04.1
direct render: Yes
Audio:
Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
chip-ID: 8086:54c8 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-91-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 1.82 TiB used: 48.48 GiB (2.6%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN570 2TB size: 1.82 TiB
speed: 31.6 Gb/s lanes: 4 type: SSD serial: rev: 234200WD temp: 33.9 C scheme: GPT
Partition:
ID-1: / size: 1.79 TiB used: 48.47 GiB (2.6%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-3:2 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 174c:2074 class-ID: 0900
Hub-3: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Hub-4: 2-3:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0 speed: 5 Gb/s power: 8mA
chip-ID: 174c:3074 class-ID: 0900
Sensors:
System Temperatures: cpu: 56.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: 2241 apt: 2216 flatpak: 25
No active apt repos in: /etc/apt/sources.list

Processes: 219 Uptime: 2h 56m wakeups: 0 Memory: 15.36 GiB used: 1.63 GiB (10.6%) Init: systemd
v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13

As said in another post, i am Linux Beginner, want to leave win and not really familiar with the versions and disadvantages. I tried some distros and finished up with Mint / Cinnamon. I looked into the link you posted and was not really shure how to use it. I watched a lot of YT videos about linux - and this is the result now.
If i switch over to use this PC with OpenMediaVault - would this generate problems with KiCad? This PC as storage device only?

I am currently running KiCad 7.0.10 Flatpak on Linux Mint 21.3 Cinnamon and storing my files on a Synology server.

The server is mounted automatically each time the PC is started. Here are the steps I took:

  1. Add a mount point to your home directory. Mine looks like this: ā€œ/home/user/mnt/nas1/ā€.
    Replace ā€œuserā€ with your Linux user name. ā€œnas1ā€ is the name of my NAS.

  2. Create a file in your home directory to hold the credentials required to log into your NAS. The file I created is named smbcreds. The file should contain the following:
    username=your user name for your NAS
    password=password for your NAS

  3. Modify your /etc/fstab file. I added the following line to my fstab file:
    //xxx.xxx.x.xxx/data /home/user/mnt/nas1/data cifs credentials=/home/user/smbcreds,rw,uid=1000,gid=1000 0 0

replace xxx.xxx.x.xxx with the IP address of your NAS
replace user with the user name for your NAS
The directory on my NAS where my files are stored is named ā€œdataā€. Replace data with the name of the directory where your files are stored.

After all this is done type:
sudo mount -a
which will read the fstab file and mount the new share.

I am not a Linux expert. I finally got all this working after a few failures.

Iā€™m with @craftyjon, run an upgrade to KiCAD 7.0.10
6.0 is really old.
You wonā€™t see any major stumbling blocks, the leap from 5.1 to 6.0 was much larger, 6.0 to 7.0 is more evolutionary.

You are using something based on Ubuntu, you can try installing the PPA as shown here: Install on Linux | KiCad EDA

Wow, what a lot of help!
Thank you all, will try this on friday or saturday, working currently on an project to turn off the ā€˜Serverā€™ automatically when WiFi is turned off in the evening. Can be turned on via a web-site or mqtt. Runs with Pi Zero 2, want to port it to Pi Pico W.
Will keep you informed.

I have mounted the ā€˜serverā€™ with fstab as posted, have installed KiCad V7 via terminal. Works fine now, does what i expected.
Thank you all for the help!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.