Re: [qubes-users] Copying text to/from Dom0

2019-09-26 Thread duc01k
unman:
> On Thu, Sep 26, 2019 at 09:28:00AM +, duc...@disroot.org wrote:
>> 799:
>>> Hello
>>>
>>>  schrieb am So., 22. Sep. 2019, 13:40:
>>>

 In the official documentation "Copying from (and to) dom0", there is no
 mention at all of how to copy text via the clipboard from a domain to
 dom0. What is the method to use?
>>>
>>>
>>> Copying from dom0 to an AppVM is ok, as dom0 has to be trusted. 
>>
>> But how is this done? Like I say, the official documentation references
>> a **Qubes Clipboard** widget, but I can't seem to locate it in practice.
>> Sorry if I'm overlooking something very simple.
>>
> 
> Look in panel - there should be qui-clipboard widget. (icon in KDE is
> usual "copy" icon.)
> Click and there is option to "Copy dom0 clipboard"
> 
> If you don't see it check that qui-clipboard is running in dom0
> 

I've just booted Qubes and for the _first time ever_ I have a clipboard
icon sitting between the drive widget and the network widget. I know for
a fact this wasn't present on any other boot occasion... Spooky isn't
the word for it.

Murphy's Law:  A problem will be reproducible up until the point you
attempt to demonstrate it to, or elicit help from, support personnel.

But it's there now. Hopefully it'll be there on every subsequent boot.

Thanks.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0a4a447f-dbe1-0c4f-b6f2-e03acbbddda3%40disroot.org.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Copying text to/from Dom0

2019-09-26 Thread unman
On Thu, Sep 26, 2019 at 09:28:00AM +, duc...@disroot.org wrote:
> 799:
> > Hello
> > 
> >  schrieb am So., 22. Sep. 2019, 13:40:
> > 
> >>
> >> In the official documentation "Copying from (and to) dom0", there is no
> >> mention at all of how to copy text via the clipboard from a domain to
> >> dom0. What is the method to use?
> > 
> > 
> > Copying from dom0 to an AppVM is ok, as dom0 has to be trusted. 
> 
> But how is this done? Like I say, the official documentation references
> a **Qubes Clipboard** widget, but I can't seem to locate it in practice.
> Sorry if I'm overlooking something very simple.
> 

Look in panel - there should be qui-clipboard widget. (icon in KDE is
usual "copy" icon.)
Click and there is option to "Copy dom0 clipboard"

If you don't see it check that qui-clipboard is running in dom0

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2019092609.GA30919%40thirdeyesecurity.org.


Re: [qubes-users] Copying text to/from Dom0

2019-09-26 Thread duc01k
799:
> Hello
> 
>  schrieb am So., 22. Sep. 2019, 13:40:
> 
>>
>> In the official documentation "Copying from (and to) dom0", there is no
>> mention at all of how to copy text via the clipboard from a domain to
>> dom0. What is the method to use?
> 
> 
> Copying from dom0 to an AppVM is ok, as dom0 has to be trusted. 

But how is this done? Like I say, the official documentation references
a **Qubes Clipboard** widget, but I can't seem to locate it in practice.
Sorry if I'm overlooking something very simple.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cdc3edcb-a54b-5706-9210-820b6a4fc208%40disroot.org.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Copying text to/from Dom0

2019-09-22 Thread 799
Hello

 schrieb am So., 22. Sep. 2019, 13:40:

>
> In the official documentation "Copying from (and to) dom0", there is no
> mention at all of how to copy text via the clipboard from a domain to
> dom0. What is the method to use?


Copying from dom0 to an AppVM is ok, as dom0 has to be trusted. The
opposite way you are moving data from a more untrusted source to dom0. This
includes a risk (from a "beeing reasonable secure perspective").

The way I do it, is to use "xclip" which is installed in the AppVM
(template).
Xclip can be used to copy the content of the clipboard to a file or the
other way around.
Therefore you could write a script in dom0 which will take the AppVM
clipboard content inside the appbm store it in a file and then use pass-io
or qvm-copy to move the data from the AppVM to dom0 and - if you install
xclip in dom0 - even to the clipboard of dom0.

I'm using xclip to move screenshots from dom0 to the AppVM, if you look
into the script you will be able to get an idea how xclip works.

https://github.com/one7two99/my-qubes/blob/master/dom0-scripts/qvm-screenshot-to-clipboard.sh

[799]

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2v9PGtNqU%2BCpNtw2DNkfOA85OSQzAoKxMNQ7ph7WLv4Qg%40mail.gmail.com.


[qubes-users] Copying text to/from Dom0

2019-09-22 Thread duc01k
Sorry guys, another couple of questions!

I was trying to manually correct the .onion addresses in the dom0 repos
at qubes-dom0.repo and qubes-templates.repo. I had the new address in a
text file on a flash drive. I think the advice is not to connect flash
drives directly to dom0 so I attached it to the Vault domain instead.
Then I discovered I didn't know how to copy/paste the text from that
domain's clipboard to dom0.

In the official documentation "Copying from (and to) dom0", there is no
mention at all of how to copy text via the clipboard from a domain to
dom0. What is the method to use?

Later, when I was trying to copy text from dom0 Console via clipboard to
the Vault domain, I read the same article and it says:

> 1. Use the **Qubes Clipboard** widget:
>   - Copy text to the clipboard normally in dom0.
>   - Click the **Qubes Clipboard** icon in the Notification Area

But I can't find a Qubes Clipboard icon in the Notification Area. I'm
not even sure where the Notification Area is - is it the Task Bar at the
top of the screen? All notifications seem to cascade down the right side
of the screen, and there's definitely no icon there.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/63f8d6b1-1e7f-06a6--e5a2d774feb2%40disroot.org.


signature.asc
Description: OpenPGP digital signature