Thank you for your ideas. From my understanding all your ideas that
would mean to open a Terminal and run

./script.sh a.ext b.ext c.ext d.ext

typing this is not much simpler than

1. start dispvm with nautilus
2. send files from source-vm nautilus
3. open files in destination-vm nautilus

in my opinion. This would only be useful if this could be added to
nautilus context menu. I guess this can be integrated using nautilus
actions.

However, during a brief lookup I could not yet find a way to get the
name of the disp-vm that I started. I can set a custom "BASE NAME", but
not a full name, can I?

btw: Consider answering everybody not only the list. I always missed
your answer.

Am 17.01.20 um 19:07 schrieb Steve Coleman:
> On 2020-01-17 11:40, [email protected] wrote:
>
>> Hey,
>>
>> Is there a way to open a bunch of files in the same dispVM ? Yes, I can
>> copy/move those files and open them in the dispVM, that is what I do
>> right now - but it would be nice if there was a simpler way to do so.
>
> You could write a set of scripts for that fairly easily, depending on
> your personal use-case.
>
> Option A
> One possibility is to have your local script first start the DispVM
> instance spawning a File Manager, then figure out the new DispVM name,
> and in a loop send all the files to that DispVM instance. Then Use the
> File Manager to open the documents, and when you close the file
> manager the DispVM goes away. If you need to retain the documents use
> the file manager to send them back first.
>
>
>
> Option B
> 1) The first script adds all the files to a single tarfile and then
> calls qvm-open-in-dvm for that one archive file. You can try playing
> with using "Open With Other Application" from your File Manager to
> kick off the script, but that might just call the script multiple times.
>
> 2) Then in the DispVM and have the default app for '*.tgz' be your
> script set to extract and open the individual documents with their
> respective applications.
>
> Both the sending and receiving scripts could live in the respective
> templates so that all AppVMs could send multiple files and the DispVM
> could extract and deal with them according to the xdg default
> applications for the document types. If you don't like assigning the
> *.tgz to have a special handler you can always create the tgz file and
> rename it to use a unique extension not assigned to any current
> application.
>
> Mime/XDG association
> https://superuser.com/questions/162092/how-can-i-register-a-custom-protocol-with-xdg
>
>
>
>
> Option C
> Create a temporary file system in a file and then use qvm-block to
> clone the files and attach and mount that fs into the DispVM. When
> finished delete/wipe the temporary file.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3872784e-e68f-90aa-a30e-3c587c399873%40web.de.

Reply via email to