On Fri, Jul 07, 2017 at 01:49:54AM +0000, [email protected] wrote: > Hi everyone, > > I followed the instructions in the Qubes docs to create a dispvm > template based on the whonix-ws template. I installed a few applications > in the template (gedit, libreoffice, etc.) and I've been able to > customize my dispvm by setting preferences in applications. > > I'm having trouble changing the default applications that files open in > though. For example, whenever I open a plain text file in a dispvm, it > opens in libreoffice. I want it to open in gedit instead. I'm having a > similar issue with pdf and image files. > > I tried using update-alternatives in whonix-ws-dvm, but that didn't work > for me (the only options for editors were non-gui editors like nano and > vim). Changing the default application in the file manager (dolphin) in > whonix-ws-dvm also doesn't work for me. > > I'm able to get around this by opening a terminal in a dispvm, then > using the "copy to vm" feature to copy the text file to my new dispvm, > then opening gedit in terminal, then opening the file from > QubesIncoming, but this is a pain. > > Does anyone know how to change the default applications for dispvms?
This has been covered a number of times on the list - it's a subset of configuring the dispVMTemplate. If setting it in file manager doesnt work then mimeopen should serve. There was a thread "How to set file association in disposable VMs" 6 months back - that should have everything you need. unman -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170707114147.a55qp3bg4aoi2yps%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
