[Portland-bugs] [Bug 59732] New: Can't unmount sshfs after playing a file with vlc (locked by xdg-screensaver)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 22 11:57:14 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59732
Priority: medium
Bug ID: 59732
Assignee: portland-bugs at lists.freedesktop.org
Summary: Can't unmount sshfs after playing a file with vlc
(locked by xdg-screensaver)
Severity: normal
Classification: Unclassified
OS: All
Reporter: fry.kun at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: xdg-utils
Product: Portland
When I use VLC to play back a video file mounted via sshfs, I often run into
the problem of unmounting the path after playback is finished (and VLC is
closed)
VLC is set up to prevent screensaver from showing during playback, but the
script that locks this (/usr/bin/xdg-screensaver) only checks for unlock every
50 seconds (using "sleep 50").
In this setup, some sshfs-mounted files remain open and sshfs refuses to
unmount since the files are in use.
My temporary workaround is to modify xdg-screensaver to set "sleep 5" -- but
this only works because I unmount by hand (5 seconds lag between closing vlc
and running the command is acceptable to me). This may not work well if someone
sets up a script, for example, to sshfs-mount, play a clip, and instantly
unmount when playback is finished.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20130122/e682d12d/attachment.html>
More information about the Portland-bugs
mailing list