Page MenuHomePhabricator

qubes integration tools missing
Open, NormalPublic

Description

@TNTBOMBOM

https://forums.whonix.org/t/qubes-whonix-version-14-debian-stretch-based-can-be-upgraded-to-version-15-debian-buster-based-testers-wanted/7143/18

There are differences with whonix 14 and whonix 15 intigration with Qubes helping tools like opening files in disposableVM , Transfer/Copy Files between VMs ... look at the images:

  • Normal options for file.txt inside Qubes-Debian:

https://forums.whonix.org/uploads/default/original/2X/2/2390a319e48787095aa11a761b6d9d92e9285ada.png

  • Options missed in Whonix 15:

https://forums.whonix.org/uploads/default/original/2X/c/cb479a69c8e651797ce4918b88617bf95292c31e.png

Details

Impact
Normal

Event Timeline

Patrick triaged this task as Normal priority.Jun 14 2019, 11:19 AM
Patrick created this task.
Patrick updated the task description. (Show Details)Jun 20 2019, 1:56 PM
Patrick changed the task status from testing-in-next-build-required to Open.Jun 20 2019, 2:03 PM

available:

  • Copy to VM
  • Move to VM
  • Create Archive...

missing:

  • Edit In DisposableVM
  • View In DisposableVM

Package qubes-core-agent-thunar is installed.

^

Any idea why these are missing? @marmarek

I cannot reproduce. I've installed qubes-template-whonix-15-4.0.1-201905241112, updated it with qubes testing repository enabled and I see all the actions available in thunar.
But I do see some warnings on thunar's stderr, like this:

(Thunar:27375): Gtk-WARNING **: 01:41:41.317: Refusing to add non-unique action 'uca-action-1507455450991127-4' to action group 'ThunarActions'

Looks like actions are added multiple times to /etc/xdg/Thunar/uca.xml, which is later copied to /home/user/.cnfig/Thunar/uca.xml. Relevant code in https://github.com/QubesOS/qubes-core-agent-linux/blob/master/debian/qubes-core-agent-thunar.postinst

Work for me too in new build https://forums.whonix.org/t/qubes-whonix-15-templatevms-debian-buster-based-4-0-1-201906232114-testers-wanted/7601

It might not work in upgraded builds since thunar was started before qubes-core-agent-thunar was ever installed. Cannot reproduce anymore.

What is the contents of your /home/user/.config/Thunar/uca.xml? @TNTBOMBOM (only relevant for VMs where this is an issue)

<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
	<icon>utilities-terminal</icon>
	<name>Open Terminal Here</name>
	<unique-id>1555514114536034-1</unique-id>
	<command>exo-open --working-directory %f --launch TerminalEmulator</command>
	<description>Example for a custom action</description>
	<patterns>*</patterns>
	<startup-notify/>
	<directories/>
</action>
<action>
	<icon>folder-copy</icon>
	<name>Copy to VM</name>
	<unique-id>1507455450991127-4</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh copy %F</command>
	<description></description>
	<patterns>*</patterns>
	<directories/>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>folder-move</icon>
	<name>Move to VM</name>
	<unique-id>1507455437157027-3</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh move %F</command>
	<description></description>
	<patterns>*</patterns>
	<directories/>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>document-open</icon>
	<name>Open in VM</name>
	<unique-id>1507455471075266-5</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh openvm %F</command>
	<description></description>
	<patterns>*</patterns>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>gtk-convert</icon>
	<name>Convert in DisposableVM</name>
	<unique-id>1507455488971315-6</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh pdf %F</command>
	<description></description>
	<patterns>*.pdf</patterns>
	<other-files/>
</action>
<action>
	<icon>gtk-convert</icon>
	<name>Convert in DisposableVM</name>
	<unique-id>1507455503129941-7</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh img %F</command>
	<description></description>
	<patterns>*</patterns>
	<image-files/>
</action>
<action>
	<icon>document-open</icon>
	<name>Edit in DisposableVM</name>
	<unique-id>1507455559234996-8</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh opendvm %F</command>
	<description></description>
	<patterns>*</patterns>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>document-open</icon>
	<name>View in DisposableVM</name>
	<unique-id>1507455559234997-9</unique-id>
	<command>/usr/lib/qubes/qvm-actions.sh viewdvm %F</command>
	<description></description>
	<patterns>*</patterns>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
</actions>

Looks like mine.

(Only difference is unique-id which shouldn't matter.)