Issues with SMB Share
I'm unable to preview media content such as photos, videos and documents such as pdfs and word documents over an smb share.
![No description](https://cdn.answeroverflow.com/1206413113100996649/image.png)
49 Replies
I'm also unable to play videos over smb using haruna or vlc
Works fine using a windows client, I'm able to view PDFs and play videos
The only documents I can view properly on bazzite are small things like text and markdown files
not all applications support this in the same way they do on windows because the smb path implementation is different depending on DEs
the best way to do this (and have almost all programs support it) would be to mount the share into a folder using something like fstab
credentials file can contain the username and password in this format
NOTE: haruna managed to play my music files with the path
smb://192.168.10.22/storage/Music/file.mp3
when i opened from dolphin, but pdfs did not work in okular.
this is a per application issuecan i sidestep this if i just use nfs? i'm fine wth just hosting smb for the windows clients and nfs for the linux devices
ok wait i can get video playback working using haruna if i use a local connection instead of through tailscale
but yeah pdfs through okular still don't work
Not if it is the application not supporting how the de does protocols.
Gnome kinda works around this using gvfs and does a temp local mount for you.
Kde uses a completely different way (not sure exactly what they do, I just noticed when opening remote files in gnome, the file would have a local path through gvfs)
"Say NO to fstab
solutions... " - By @©TriMoon™ 😉
These fine How-To's might be interesting read for both of you:
- https://forum.manjaro.org/t/root-tip-how-to-systemd-mount-unit-samples/1191/1#smb-network-share-14 (Section: SMB network shares)
- https://forum.manjaro.org/t/root-tip-how-to-use-systemd-to-mount-any-device/1185
It's MUCH safer to use systemd-units instead of fidling with fstab
...
- Because if you make a mistake, only that mount will fail, but your system will stay bootable...
- Plus you can have automount/dismount when not used, which is not possible with fstab
configs.
🖖Manjaro Linux Forum
[root tip] [How To] Use systemd to mount ANY device
Difficulty: ★☆☆☆☆ Disk device recognition Manjaro uses udev (see Arch Wiki) to load devices at boot time. The loading of devices is arbitrary and therefore you cannot predict which device will be available at a given path. But static device names do exist and you can assign specific locations to your device and thus ensure e.g. scripts will wo...
Manjaro Linux Forum
[root tip] [How To] systemd mount unit samples
Difficulty: ★★☆☆☆ Example mount units for systemd The examples here are a supplement to the guide on systemd mount units ⚠ Remember to remove the comments placed in the units - they are not writing for copy-paste but as examples. (comments is text beginning with a #) [root tip] [How To] Use systemd to mount ANY device Only use an automoun...
I might just switch to gnome lol
Everything functions well using it
this works but it creates two mounts
![No description](https://cdn.answeroverflow.com/1208738354158641162/image.png)
i'm guessing this is cause of how bazzite works?
because of symlinks
you can hide one of them
right click --> hide
hmm, the mount works but it's not automounting so i have to run sudo mount -a for the mount to actually work
![No description](https://cdn.answeroverflow.com/1209793882364051476/aFJQr3Q.png)
i get this error if it helps with anything
guess you will have to make a systemd unit for the mount then
welp
lemme figure out how to do that
will have to be a system unit not a user unit based on that error, at least thats my guess