Search code examples
filephpstormjetbrains-ideflatpak

PhpStorm Can't See Projects on USB on Linux OS [Zorin 16.3]


We have just installed PhpStorm 2023.2.1 via flatpak from the Zorin 16.3 Linux OS "Software" package provider. The install ran smoothly and imported existing IDE settings.

Our projects and work related data (such as SSH Keys) are on a separate USB, attached to the computer. The computer has full user level access to these files via Nautilus.

PhpStorm can't see the USB drive, and can't access it in any way. PhpStorm can't open projects from the drive, can't import (drag and drop) PHP files from the drive into PhpStorm and can't re set up remote connections using SSH Keys (can't point to the SSH Keys on the USB).

How can we get PhpStorm to recognise the USB media and access that data accordingly?

Previously on Windows PhpStorm had no issues accessing a secondary drive (E:) but can't seem to do this on this Linux OS.

p.s This is not the same as this Q.

UPDATE

I have downloaded and used Jetbrains Toolbox app which works (running as root by the looks of it) but even then, loading PhpStorm installed by Toolbox the PhpStorm program is still unable to reach anything that is on the USB, unable to see the Drive.

Arrgghhh, why is this so tediously complex?!


Solution

  • I have found through some luck and trial and error that the local folder;

    /media/user/USB_reference 
    

    contains the USB data files and these can be opened and operated by PhpStorm.

    I would like to be able to create a Symlink that I can put in /home/user/ that can link to a specific folder on the USB, eg. /media/user/USB_reference/work

    Creating a Symlink (as root user in terminal) works well to make a new link in the /home/user directory that goes straight to the USB:

    ln -s /media/user/USB_drivename/directory /home/user/USB_data_name