挂载局域网计算机的目录怎么固定到窗口里
Tofloor
poster avatar
老陌
deepin
2019-09-25 18:22
Author
如题:挂载局域网计算机的目录怎么固定到窗口里

在windows我映射网络驱动器,比如:x盘,双击就能看到远程(局域网)电脑中的文件了。

在ubuntu中可以添加一个标签,单击就自动挂载了,在deepin中怎么弄?



比如:10.10.8.6那个共享资源,怎么固定一下,一重启计算机就没有了,每次连接还需要手动输入。



Reply Favorite View the author
All Replies
avatar
走钢丝
deepin
2019-09-25 19:06
#1
据说可以添加个标签,参考:https://bbs.deepin.org/post/152546
如果不能满意的话,可以挂载。。。不过可能有点危险,参考:https://www.5yun.org/16235.html
Reply View the author
avatar
老陌
deepin
2019-09-25 19:40
#2
https://bbs.deepin.org/post/183074
据说可以添加个标签,参考:https://bbs.deepin.org/forum.php ... 34837&fromuid=17722
如果不能满意的话 ...

我看了,以前有这个功能,现在没有了。

实在不行只能手动挂载了。 准备写一个脚本,用时mount,不用时umount
Reply View the author
avatar
走钢丝
deepin
2019-09-25 19:46
#3
本帖最后由 lidanger 于 2019-9-25 11:57 编辑

不开机挂载的确实没危险。。不过那个标签,我在文件管理器中看了下,还是有的啊。

Reply View the author
avatar
老陌
deepin
2019-09-25 20:17
#4
本帖最后由 myccloves 于 2019-9-25 12:19 编辑
https://bbs.deepin.org/post/183074
不开机挂载的确实没危险。。不过那个标签,我在文件管理器中看了下,还是有的啊。

...

我要添加标签的是那个共享名,不是打开共享后里面看到的目录。

以windows为例:
比如:\\10.10.8.6\software  这个共享是固定的,里面有很多文件夹,我就想把\\10.10.8.6\software添加到标签中。另外在\\10.10.8.6下是查看不到software这个共享的。

可能是管理员隐藏这个共享了。


Reply View the author
avatar
jianguo922
deepin
2019-09-25 20:32
#5
https://bbs.deepin.org/post/183074
我要添加标签的是那个共享名,不是打开共享后里面看到的目录。

以windows为例:

有这个功能局域网访问就方便多了,不用每次都要重新访问
Reply View the author
avatar
走钢丝
deepin
2019-09-25 20:38
#6
https://bbs.deepin.org/post/183074
我要添加标签的是那个共享名,不是打开共享后里面看到的目录。

以windows为例:

或许可以手工写个 desktop 文件放桌面上。在 exec 那一行,改成, xdg-open smb://10.10.8.6。。
可惜,deepin 现在还是没有自动创建 desktop 的功能。
Reply View the author
avatar
老陌
deepin
2019-09-25 20:47
#7
https://bbs.deepin.org/post/183074
或许可以手工写个 desktop 文件放桌面上。在 exec 那一行,改成, xdg-open smb://10.10.8.6。。
可惜,d ...

好的,谢谢!

我试试。

我现在用手动的方式,写到一个脚本里了,但很麻烦。


Reply View the author
avatar
老陌
deepin
2019-09-25 20:57
#8
https://bbs.deepin.org/post/183074
好的,谢谢!

我试试。

我试了一下:
myccloves@office:~$ xdg-open smb://10.10.8.6/notice
gvfs-open: smb://10.10.8.6/notice:打开位置出错:指定的位置未挂载
Reply View the author
avatar
走钢丝
deepin
2019-09-25 21:09
#9
https://bbs.deepin.org/post/183074
我试了一下:
myccloves@office:~$ xdg-open smb://10.10.8.6/notice
gvfs-open: smb://10.10.8.6/notice ...

难道要写成 dde-file-manager smb://10.10.8.6/notice ?
Reply View the author
avatar
老陌
deepin
2019-09-25 22:43
#10
https://bbs.deepin.org/post/183074
难道要写成 dde-file-manager smb://10.10.8.6/notice ?

可以了。




但是总出现这个对话框,用匿名就可以登录,能不能不出现,像windows一样,直接进入。






Reply View the author
avatar
老陌
deepin
2019-09-25 22:44
#11
https://bbs.deepin.org/post/183074
有这个功能局域网访问就方便多了,不用每次都要重新访问

ubuntu可以。
Reply View the author
avatar
jianguo922
deepin
2019-09-25 23:32
#12

ubuntu属于资深系统,不仅内核优化好,驱动也不错,如果深度deepin达到ubuntu水准再加上生态普及linux还是可以的
Reply View the author
avatar
jhkwei
deepin
2019-09-25 23:54
#13
我的想法是像 NFS 一样挂载
1)安装 sudo apt-get install cifs-utils
2)挂载 sudo mount -t cifs  //RemoteIP/filepath  /local/path
Reply View the author
avatar
老陌
deepin
2019-09-25 23:55
#14
https://bbs.deepin.org/post/183074
我的想法是像 NFS 一样挂载
1)安装 sudo apt-get install cifs-utils
2)挂载 sudo mount -t cifs  //R ...

我现在就是这样做的。 不过用时需要打开终端,输入一下指令。(写脚本里了)
Reply View the author
avatar
jhkwei
deepin
2019-09-26 00:49
#15
本帖最后由 jhkwei 于 2019-9-25 16:52 编辑
https://bbs.deepin.org/post/183074
我现在就是这样做的。 不过用时需要打开终端,输入一下指令。(写脚本里了) ...

理论上可以放在 /etc/fstab 文件中,mount 也是按这个文件挂载的,你去网上找一下,
https://www.cnblogs.com/hpcpp/p/7483397.html

Reply View the author
avatar
老陌
deepin
2019-09-26 04:26
#16
https://bbs.deepin.org/post/183074
理论上可以放在 /etc/fstab 文件中,mount 也是按这个文件挂载的,你去网上找一下,
https://www.cnblogs. ...

我不写到fstab中,原因是时间长了就掉线了,不知道为啥? windows也是这样。
Reply View the author