From 59f2f6202c882f27c59327e0b95161a030529c18 Mon Sep 17 00:00:00 2001 From: journoSEC Date: Wed, 31 May 2023 10:55:01 +0200 Subject: [PATCH 1/5] Update bluetooth.md Added rc.local script and separate media qube instructions --- docs/configuration/bluetooth.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/configuration/bluetooth.md b/docs/configuration/bluetooth.md index 8e4bf12..80fff4b 100644 --- a/docs/configuration/bluetooth.md +++ b/docs/configuration/bluetooth.md @@ -12,6 +12,21 @@ Then restart the qube. From now on you should have a tray icon and be ready to c In the picture above I had a sys-net combined to use USB devices too. The procedure stays the same. +Note: if you're using a separate sys-usb, and need to attach your bluetooth module to a AudioVM or MediaVM, 'blueman-manager' won't run without a recognized adapter from 'blueman-applet'. Once you attach, you can run 'blueman-manager' and with a script like the below in your AppVM's `rc.local` auto-connect to your preffered device: + +``` +address="XX:XX:XX:XX:XX:XX" + +while (sleep 1) +do +connected=`sudo hidd --show` > /dev/null +if [[ ! $connected =~ .*${address}.* ]] ; then +sudo hidd --connect ${address} > /dev/null 2>&1 +fi +done + +``` + ## AudioVM For the most secure scenario, one should be running an AudioVM rather than rely on having PulseAudio in dom0. The creation of such a VM is beyond the scope of this guide. From 9ffe15eba29684cc0915ad0748fbba071c85c82b Mon Sep 17 00:00:00 2001 From: journoSEC Date: Wed, 31 May 2023 13:17:04 +0200 Subject: [PATCH 2/5] Update README.md Added repo/script for -- A "Truly Disposable" Qube --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 79e2067..02ccde4 100644 --- a/README.md +++ b/README.md @@ -127,4 +127,5 @@ requests](https://github.com/Qubes-Community/Contents/pulls). [other Qubes blog posts](http://zrubi.hu/en/category/virtualization/qubes/) !) - ![](/_res/l.png) [Ubuntu VMs](http://qubes.3isec.org/): repository with templates and packages to set up Ubuntu VMs +- ![](/_res/l.png) [shadow-qube](https://github.com/kennethrrosen/qubes-shadow-dvm): A "Truly Disposable" Qube - ![](/_res/l.png) [Qubes for Journalists and free-speech defenders](https://github.com/kennethrrosen/journoSEC): a work-in-progress respository of scripts and advice for journalists and human rights workers. From 7d6a01083e7c61ee75fd2f5a99923b5548e50a82 Mon Sep 17 00:00:00 2001 From: ooops Date: Thu, 1 Jun 2023 10:01:05 +0000 Subject: [PATCH 3/5] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 02ccde4..79e2067 100644 --- a/README.md +++ b/README.md @@ -127,5 +127,4 @@ requests](https://github.com/Qubes-Community/Contents/pulls). [other Qubes blog posts](http://zrubi.hu/en/category/virtualization/qubes/) !) - ![](/_res/l.png) [Ubuntu VMs](http://qubes.3isec.org/): repository with templates and packages to set up Ubuntu VMs -- ![](/_res/l.png) [shadow-qube](https://github.com/kennethrrosen/qubes-shadow-dvm): A "Truly Disposable" Qube - ![](/_res/l.png) [Qubes for Journalists and free-speech defenders](https://github.com/kennethrrosen/journoSEC): a work-in-progress respository of scripts and advice for journalists and human rights workers. From 8d0b51ce39abd8d22605f3c3e445401258e21f10 Mon Sep 17 00:00:00 2001 From: ooops Date: Thu, 1 Jun 2023 10:16:26 +0000 Subject: [PATCH 4/5] Update bluetooth.md --- docs/configuration/bluetooth.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/configuration/bluetooth.md b/docs/configuration/bluetooth.md index 80fff4b..13ff464 100644 --- a/docs/configuration/bluetooth.md +++ b/docs/configuration/bluetooth.md @@ -26,6 +26,7 @@ fi done ``` +he loop should be the last thing in rc.local or appended with `&`. This is a simple solution. (Something more robust would require extra work with `udev` perhaps.) ## AudioVM From a43956d31a41f78771534891fcf3acfa1f3960e5 Mon Sep 17 00:00:00 2001 From: ooops Date: Thu, 1 Jun 2023 10:18:34 +0000 Subject: [PATCH 5/5] Update bluetooth.md typo --- docs/configuration/bluetooth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/bluetooth.md b/docs/configuration/bluetooth.md index 13ff464..48956f0 100644 --- a/docs/configuration/bluetooth.md +++ b/docs/configuration/bluetooth.md @@ -26,7 +26,7 @@ fi done ``` -he loop should be the last thing in rc.local or appended with `&`. This is a simple solution. (Something more robust would require extra work with `udev` perhaps.) +The loop should be the last thing in rc.local or appended with `&`. This is a simple solution. (Something more robust would require extra work with `udev` perhaps.) ## AudioVM