Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNOME Files/Nautilus doesn't see external storage on Vanilla OS #262

Open
Blumoop opened this issue Feb 27, 2025 · 7 comments
Open

GNOME Files/Nautilus doesn't see external storage on Vanilla OS #262

Blumoop opened this issue Feb 27, 2025 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Blumoop
Copy link

Blumoop commented Feb 27, 2025

Issue Description

When using GNOME Files, I can insert a USB drive and in the GUI the USB shows up for a split second before disappearing. I'm unable to do what I want to do with the external storage as GNOME Files acts like there's no external storage existing.

Steps to Reproduce

  • Install the latest Vanilla OS
  • Open GNOME Files
  • Insert a external storage device
  • It will appear before disappearing

On what version of Vanilla OS this happens?

Vanilla OS 2 Orchid

Additional Information

GNOME Files on other distros don't show this behavior, and other applications on Vanilla OS can see the external storage just fine, such as the Dolphin flatpak.

@Blumoop Blumoop added bug Something isn't working triage labels Feb 27, 2025
@taukakao taukakao removed the triage label Feb 27, 2025
@taukakao taukakao self-assigned this Feb 27, 2025
@taukakao
Copy link
Member

I can reproduce this bug. Probably a debian packaging issue.

A workaround is going to the /media folder manually.

@Mycellf
Copy link

Mycellf commented Feb 28, 2025

I have a USB drive and /media is empty when its plugged in.

@Mycellf
Copy link

Mycellf commented Mar 2, 2025

I just tried accessing the USB drive through /media in Nautilus and the disc is there. When viewed through the terminal, however, it's empty. Also, Nautilus shows "USB DISK" (locked) and "USB DISK1" (the actual drive).

EDIT: It appears the discrepancy comes from Nautilus viewing /run/host/var/media in stead of /media. When I right click to open /media in the terminal from Nautilus is opens it there.

@taukakao
Copy link
Member

taukakao commented Mar 2, 2025

The terminal is inside a container.
/run/host is the host filesystem, so /run/host/var/media/ is the same thing as /var/media on the host (where Nautilus is installed)
/media should be a symlink to /var/media, so both folders are the same thing.

So I don't know where this problem comes from but I will have to check myself.

@Mycellf
Copy link

Mycellf commented Mar 2, 2025

myusername@apx-vso-pico:~$ cd /var/media
bash: cd: /var/media: No such file or directory
myusername@apx-vso-pico:~$ cd /media
myusername@apx-vso-pico:/media$ 

@taukakao
Copy link
Member

taukakao commented Mar 2, 2025

You're still inside a container here.
/var/media only exists on the host system.

Try:
host-shell ls /var/media
And:
host-shell ls -ld /media
should say that /media is a symlink to /var/media

/var/media is then mounted in the container in /media, you can try running
mount | grep /media
to see if that's the case.

@Mycellf
Copy link

Mycellf commented Mar 2, 2025

It works as you described. ls /media prints nothing. host-shell ls /media prints the expected contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants