Re: [qubes-users] How to set file association in disposable VMs?

2017-01-29 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2017-01-04 06:26, Unman wrote:
> On Wed, Jan 04, 2017 at 10:00:35AM +, Robin Green wrote:
>> On Wed, 4 Jan 2017 at 00:16 Unman 
>> wrote:
>> 
>>> Did you actually read that bug report?
>> 
>> 
>> Yes.
>> 
>> 
>>> I'm amazed it's still open.
>>> 
>>> I assume that you are using a Fedora template
>> 
>> 
>> Yes.
>> 
>> 
>>> since 'mimeopen' works for a vanilla Debian template.
>>> 
>> 
>> I don't think the Fedora template uses mimeopen directly any
>> more.
>> 
>> 
>>> 
>>> 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
>>> 
>>> 
>>> I haven't tested this with Okular, but it works for setting
>>> other default applications. Can you confirm it with Okular?
>>> 
>> 
>> No, it doesn't. I tried both ways of settings the file
>> associations. Neither works.
>> 
> 
> You're right that the mimeopen method doesnt work for okular,
> although I wonder if this is a matter of getting the command
> right.
> 
> However, setting okular as default application in nautilus in 
> fedora-24-dvm, and then regenerating the DispVM template DOES work,
> at least for me. Can you check again with the xpdf/evince switch,
> and then add okular to the mix?
> 
> One thing I have noticed - for some reason it's best to restart 
> nautilus in the qube, before opening a file in a dispVM.
> 
> Andrew - can you test also and report back?
> 
> unman
> 

Yes, tested and confirmed. Here's the procedure I performed:

01. Clone fedora-24-minimal to fedora-24-okular.
02. Install Okular (and some other productivity programs) in
fedora-24-okular.
03. In dom0: $ qvm-create-default-dvm fedora-24-okular
04. Create a PDF in fedora-24-okular.
05. Double-click on the PDF in Nautilus. It opens in Evince by default,
as expected.
06. Right-click on the PDF in Nautilus. In Properties, set Okular as the
default application.
07. Close the PDF and double-click it in Nautilus again. It opens in
Okular this time, as expected.
08. In fedora-24-okular: $ > .qubes-dispvm-customized
09. Shut down fedora-24-okular.
10. In dom0: $ qvm-create-default-dvm fedora-24-okular
11. Start a new DispVM.
12. Create a PDF in the new DispVM.
13. Double-click on the new PDF in Nautilus.
14. It opens in Okular, as expected.

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYjjeEAAoJENtN07w5UDAwsu8P/1OIpwGxoxK8exIEwLJdeFex
q+Xf7tbuwpaGNppeAoLygI9HBbZfsO/6QCf0AzRCwTEZUdH6WANh6HaYwcMPxZQc
PPs4ceXCqPrdFLPtA4SsVKYdYM0urUeQc2YVOktsOK3VS2o98hqzq22HtrPoxz9J
2CnKxLm7ZjCSOBksG83PBL5XSWaw4QUtj++LZqD/8+iqx6ZxV/uJCtRTUzohmh5V
N4huztLaVtBVgon6GYt2M2QdxRUhN3UPNXeW9Ftj5SPsY/cBcvS/E/UnTg2pN70r
7jN3MizfXMJ8O2VLpA/J2vZF0qQJO57uK39AyXhYsb+kPbd39LCi/3fjavs/wOV1
kEOUwS2V5gVBb1DNxXg0iyWvhshrXjO2bxep7JumrHhY/HLVioysxxJkyQxzAzfq
YfF7FYKNk5RvhNl86XwrN4hysi3ZxEqOBS5FAaN/0RnUvmtbBuVKMkS5YuSLl/vo
NeHxFohVt9XMIYAv92SCe013SJ7OQSdWSolmP/sstJAqsAIlqfe3uzPHnr3uV+93
PYzTgNNPIW/xWArpSCxtIB249boakNAG4/i8bwW0c+0MYfhzVFc/9/ar3QjTT1N5
DQzCIhRWF7nvf+9WUTGyGjLeOcU8i9syWTTlkrA/DSdfmAT5lpMrgL6netWK378K
bFdNqS/E/ChBQC1j4LUa
=Chom
-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/d752fc60-0f94-5cad-91c9-aa069b98c232%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-04 Thread Unman
On Wed, Jan 04, 2017 at 10:00:35AM +, Robin Green wrote:
> On Wed, 4 Jan 2017 at 00:16 Unman  wrote:
> 
> > Did you actually read that bug report?
> 
> 
> Yes.
> 
> 
> > I'm amazed it's still open.
> >
> > I assume that you are using a Fedora template
> 
> 
> Yes.
> 
> 
> > since 'mimeopen'
> > works for a vanilla Debian template.
> >
> 
> I don't think the Fedora template uses mimeopen directly any more.
> 
> 
> >
> > 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
> >
> >
> > I haven't tested this with Okular, but it works for setting other default
> > applications. Can you confirm it with Okular?
> >
> 
> No, it doesn't. I tried both ways of settings the file associations.
> Neither works.
> 

You're right that the mimeopen method doesnt work for okular, although I
wonder if this is a matter of getting the command right.

However, setting okular as default application in nautilus in
fedora-24-dvm, and then regenerating the DispVM template DOES work, at
least for me.
Can you check again with the xpdf/evince switch, and then add okular to
the mix?

One thing I have noticed - for some reason it's best to restart
nautilus in the qube, before opening a file in a dispVM.

Andrew - can you test also and report back?

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 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/20170104142631.GA31999%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-04 Thread Unman
On Wed, Jan 04, 2017 at 10:00:35AM +, Robin Green wrote:
> On Wed, 4 Jan 2017 at 00:16 Unman  wrote:
> 
> > Did you actually read that bug report?
> 
> 
> Yes.
> 
> 
> > I'm amazed it's still open.
> >
> > I assume that you are using a Fedora template
> 
> 
> Yes.
> 
> 
> > since 'mimeopen'
> > works for a vanilla Debian template.
> >
> 
> I don't think the Fedora template uses mimeopen directly any more.
> 
> 
> >
> > 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
> >
> >
> > I haven't tested this with Okular, but it works for setting other default
> > applications. Can you confirm it with Okular?
> >
> 
> No, it doesn't. I tried both ways of settings the file associations.
> Neither works.
> 

Can you confirm it works for switching between xpdf and evince?

-- 
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/20170104123016.GB31162%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-04 Thread Unman
On Tue, Jan 03, 2017 at 08:42:37PM -0800, Andrew David Wong wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> On 2017-01-03 16:16, Unman wrote:
> > On Tue, Jan 03, 2017 at 08:57:58AM +, 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?
> > 
> 

I'm amazed it is still open because it is a subset of customizing the
dispVM template which is already well documented. 
This method works for switching between the apps I use - for PDF
between evince and xpdf. Robin reports it doesnt work for Okular, so we
should look at why that doesnt work when other programs do. I'm not
familiar with that program, (or nautilus generally), but the principles
of dispVM opening are quite straightforward.

-- 
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/20170104122858.GA31162%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-04 Thread Robin Green
On Wed, 4 Jan 2017 at 00:16 Unman  wrote:

> Did you actually read that bug report?


Yes.


> I'm amazed it's still open.
>
> I assume that you are using a Fedora template


Yes.


> since 'mimeopen'
> works for a vanilla Debian template.
>

I don't think the Fedora template uses mimeopen directly any more.


>
> 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
>
>
> I haven't tested this with Okular, but it works for setting other default
> applications. Can you confirm it with Okular?
>

No, it doesn't. I tried both ways of settings the file associations.
Neither works.

-- 
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/CACVBcp4mP%2BzuMmVajNTKSgnwsq81R-MN6Ecb_rDWU6KgFhU6ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-03 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2017-01-03 16:16, Unman wrote:
> On Tue, Jan 03, 2017 at 08:57:58AM +, 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.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-03 Thread Unman
On Tue, Jan 03, 2017 at 08:57:58AM +, 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.

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


I haven't tested this with Okular, but it works for setting other default
applications. Can you confirm it with Okular?

-- 
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/20170104001653.GA27422%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-03 Thread Robin Green
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.

-- 
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/CACVBcp4j5ufmszR-mJe-BDv%3DOnLMs_CJXZphS0GxtMMNRtnQBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2017-01-02 Thread Unman
On Thu, Dec 29, 2016 at 05:37:56PM +, Robin Green wrote:
> I *have* changed my MIME type associations - at least, I think that's what
> I've done.
> 
> On Thu, 29 Dec 2016 at 13:28 WillyPillow <w...@nerde.pw> 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.
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.

-- 
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/20170103031457.GB20791%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2016-12-29 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-29 03:48, Robin Green wrote:
> 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.
> 

That sounds like this known issue:

https://github.com/QubesOS/qubes-issues/issues/1603

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYZdvJAAoJENtN07w5UDAwW6gQAMF6i9/lbqNX6rcFUxTGFaAZ
zAfnLSwMZ4McxjThBIcm0dc9BNnQIOOb8WEQrMKCMJXDMQEOjY79B5kGcWT5gFQn
qYmmp/g9/fzuEU+I5KRziDJ0e9REwTkMdmw00gr9NoQ+/QwoUU6aVFqMpfX8LMXn
g3Hz2O+qZgKJd2UA1BPP2UnUCm04ZNnN658GSt9xdqTmkrg6okNRORK4/EQtnsJF
rhSpLfXab+QZ+KjL20j4q7H0rEfUMa/0BseFsIv5FPrUAwWJDso2c8FIpUjiPRRF
o2azz8rMwRSxx8o0cQlOL9cnk3nZKUuH5aSkIABgkXioxJHJC5u/cYmqnG/HTqV9
NFWrw42kqMNGIbLk938V86fUk8GsKdHKdPEr327eFnFAu2z3JCoYXTGzOMgUxgDl
A9DUwBQ0IrQ1bx8MXtcYB/1b09tlWU5IwGRaiBf/WUqi0M5iIBUesmA2CcK2uLCp
B6Gyy+1lpnkZNpTeSbaDGSVk+avWMUIUprmfWovjundUmyJgfYZwTdWrk6ChdTGw
slniDwfOHIIPTgPPjGNRzFmg00qfps/n+ruYcXulS9z25VQYgf21IuK+VYwcZ/0a
RHk29h45UOz9vZFUchBG9YLcCc+8mvPFaBoZVI6p0ehVsYOlYV9CVUfRyi2i2jD0
0cFuePcImvvSc4NOYdQ3
=Ocf4
-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/9ad307de-71a2-a573-e3cd-9528a770fb34%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to set file association in disposable VMs?

2016-12-29 Thread WillyPillow
 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 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/6-lUcWnJUTWGJKq5P3baXnx5oF9mQ-LEn1X-9pnIiOPyPH9YkaQy8RmVpyyo0WvOR0ur6AdM4UD0byzKPeCJymwkMapV3HT9plcH03sF7QI%3D%40nerde.pw.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] How to set file association in disposable VMs?

2016-12-29 Thread Robin Green
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.

-- 
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/2529376e-ef91-43c4-a12b-9204c71dbcde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.