open transparent remote / other backends files over file chooser #1837
spiderbit
started this conversation in
Ideas/Feature Requests
Replies: 1 comment
-
Not sure I follow this story or what the question/request is? But opening/listing remote filesystems is very far out of the scope of rofi. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am used to emacs TRAMP, so when I want to open let's say fstab on my server, I can open the file chooser add /ssh:root@server:/ then tab-complete to /etc/fstab open it, edit it, and save it.
Now the parser is not as important I would be ok to use something like the ssh port to open it, but more the need to not mount it manually and open with a local application a file here, I think it could be done by do a mount to /tmp// (before mkdir, or there is a function that does maybe both at the same time), and see the files from there, maybe over gvfs maybe over sshfs.
The same could be done over adb, samba, davs and many other protocols, it could just cache the files over ssh and have some size limit setup. The problem with caching is that nothing tracks then after opening that it's supposed to be uploaded again, and the apps would not show the remote path, therefor I think dynamic mounting would be the next best option.
Also maybe a simpler version would be to have a mount command that scans known_hosts and gvfs available stuff to mount, and then maybe another file command that shows a list of all mounted filesystems and then open files over that.
Beta Was this translation helpful? Give feedback.
All reactions