-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2017-01-03 16:16, Unman wrote: > On Tue, Jan 03, 2017 at 08:57:58AM +0000, Robin Green wrote: >> On Tue, 3 Jan 2017 at 03:14 Unman <un...@thirdeyesecurity.org> wrote: >> >>>>> -------- Original Message -------- >>>>> Subject: [qubes-users] How to set file association in disposable VMs? >>>>> Local Time: December 29, 2016 7:48 PM >>>>> UTC Time: December 29, 2016 11:48 AM >>>>> From: gree...@gmail.com >>>>> To: qubes-users <qubes-users@googlegroups.com> >>>>> >>>>> I have configured Nautilus in an AppVM to open PDF files with Okular, >>> and >>>>> I've then done the same configuration (as user "user") in the >>> TemplateVM >>>>> that the disposable VMs are also based on. However, when I choose >>> "Open in >>>>> disposable VM" from that reconfigured AppVM, even though the dispvm >>>>> savefile is updated before launching the dispvm, it still uses the >>> default >>>>> PDF viewer instead of Okular. >>>>> >>>>> >>>>> Sounds similar to this: >>>>> >>>>> >>> https://groups.google.com/forum/#!searchin/qubes-users/open$20in$20dvm|sort:relevance/qubes-users/GZ2zWcoMuwc/vwAzmYS5DgAJ >>>>> >>>>> --WillyPillow >>>>> >>> >>> You don't say *how* you have changed the association. >>> >> >> I changed it using Nautilus, by right-clicking on the file, Properties. >> >> >>> Try changing the file association in the template: >>> mimeopen -d file.pdf will allow you to set the default application. >>> Close down the template. >>> Then make sure the dvm file is regenerated before opening the dispVM, >>> as you have done. >>> >> >> That didn't work either. Please note, as noted already in this thread, this >> is a known bug. >> > > Did you actually read that bug report? I'm amazed it's still open. >
Would you mind explaining why you think it should be closed? > I assume that you are using a Fedora template since 'mimeopen' > works for a vanilla Debian template. > > For Fedora based dvms, the dvm does NOT pick up the association from the > template. It's therefore necessary to customize the DispVM: there are > instructions for doing this in the docs. > > In brief, for a fedora-24-dvm: > qvm-run -a fedora-24-dvm xterm > > In the dvm: > mimeopen -d test.pdf > touch /home/user/.qubes-dispvm-customized > sudo halt > > Regenerate DispVM template using qvm-create-default-dvm: > qvm-create-default-dvm fedora-24 > If this solves the problem in the aforementioned issue, we can add this to the documentation (as a way of closing that issue). > > I haven't tested this with Okular, but it works for setting other default > applications. Can you confirm it with Okular? > - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYbH01AAoJENtN07w5UDAwBqoP+wZmMw2YtKRloYd6uS042NGM nKrp1BmPYyDsjiGscEiH8k2xsoteltstm/dV+AO5NiJdhqiC588SjIFuwZXzxZxI tyW7OjOH/2QAc9lVGgagfDM3JYABfgBRzyyyB2D9Ehy3UVTTsvM/wKmIfD41Qppj P4Xo3S44ns2mDl/IFggGgDt4mX7lJiAnrBDbOpBQpASmxfetcqcn5PifPMG/T3wc iLG0XyCsAzRLozYLBah4fMg0XrjP3ZE95wLf8iKtW9ftL8bSnmYpeFqPm/MR6CSS s8tvxWQtBBEhBGf3IhSphMM96rPYQsgrG2681Oa2S5nULEcVfYYCEH4HjKLOOv35 dtqWGTZ4UN5nj2i7ois3ob+Dccgid05FyLAMKcQ8EqNq90vQV4/xCWy80KeAqxXd Spqno1VUR/Gztux/o3o6g18aiiNVWg37IEPGFg3BAGdzq2cn/kYzFkykO/pa0QSE 5bMVX8FJ6FtSZ3jHnITliO9NTgobzElkxeCKlqT59beubCn77t7wCtY4nbIj7qKe Fa1hQG2stN8kWGnc1q/aBymq1JMRbsxYWSqkrAlM02t2Fd7WYMPCitKP8LzYDalN p7IA/s3eaY4sHuiIRZD4Q4u6QZbMo9LngYSzz9N7ow/Si+Ys3xFSH1mzCcg09e4e /zJHMzlEATJTY1nK+rPX =dhsc -----END PGP SIGNATURE----- -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/bf597435-73eb-c0dc-d71e-1a512ca4848c%40qubes-os.org. For more options, visit https://groups.google.com/d/optout.