In R4.2 in debian-12-minimal I installed the XFCE environment. But in Thunar file browser, I still don’t have the right-click-menu copy-to-vm and move-to-vm. I installed qubes-core-agent-thunar qubes-gui-agent-xfce. What else whould I install?
Hi @oijawyuh ,
I’ll try qubes-core-agent-nautilus
Reason (from a 4.1 debian11-template-based AppVM ) :
$ dpkg -l|grep nautilus
ii gir1.2-nautilus-3.0:amd64 3.38.2-1+deb11u1 amd64 libraries for nautilus components - gir bindings
ii gnome-sushi 3.38.0-1 amd64 sushi is a quick previewer for nautilus
ii libnautilus-extension1a:amd64 3.38.2-1+deb11u1 amd64 libraries for nautilus components - runtime version
ii nautilus 3.38.2-1+deb11u1 amd64 file manager and graphical shell for GNOME
ii nautilus-data 3.38.2-1+deb11u1 all data files for nautilus
ii nautilus-extension-gnome-terminal 3.38.3-1 amd64 GNOME terminal emulator application - Nautilus extension
ii python3-nautilus 1.2.3-3+b1 amd64 Python binding for Nautilus components (Python 3 version)
ii qubes-core-agent-nautilus 4.1.45-1+deb11u1 amd64 Qubes integration for Nautilus
$ dpkg -L qubes-core-agent-nautilus
/.
/usr
/usr/lib
/usr/lib/qubes
/usr/lib/qubes/qvm_nautilus_bookmark.sh
/usr/share
/usr/share/doc
/usr/share/doc/qubes-core-agent-nautilus
/usr/share/doc/qubes-core-agent-nautilus/changelog.Debian.gz
/usr/share/doc/qubes-core-agent-nautilus/copyright
/usr/share/nautilus-python
/usr/share/nautilus-python/extensions
/usr/share/nautilus-python/extensions/qvm_copy_nautilus.py
/usr/share/nautilus-python/extensions/qvm_dvm_nautilus.py
/usr/share/nautilus-python/extensions/qvm_move_nautilus.py
You could also search in the below topic:
Thanks, @ludovic .
I did try qubes-core-agent-nautilus
and it did work but in nautilus file browser, not thunar file browser. The Debian minimal configuration posts on this forum mostly apply GNOME / natilus, not to XFCE / thunar.
In this case, some ways you can explore yourself to understand the problem:
- compare a workable with-thunar template with your minimal template : where are the thunar extensions? How does it work? Rule policies, …
- compare in qubes-core-agent-linux, the thunar files with the nautilus files : thunar vs nautilus
- search in the issues a thunar related problem
- search in the forum a thunar related problem (example]
And you can explain here the ways that you find.
Finally maybe it will end with a bug report…
There’s qubes-core-agent-thunar
package: https://deb.qubes-os.org/r4.1/vm/pool/main/q/qubes-core-agent/qubes-core-agent-thunar_4.1.45-1%2Bdeb12u1_amd64.deb
And for R4.2: https://deb.qubes-os.org/r4.2/vm/pool/main/q/qubes-core-agent/qubes-core-agent-thunar_4.2.20-1%2Bdeb12u1_amd64.deb
Hi @augsch. As I mentioned earlier, I already installed qubes-core-agent-thunar as well as qubes-gui-agent-xfce.
Thanks @ludovic for your advice. It seems I’m not the only one with this problem. But no solution yet.
Do you have the following script on your system?
/usr/lib/qubes/qvm-actions.sh
If you do, check /etc/xdg/Thunar/uca.xml
, you should have the following at the end of the file:
<action>
<icon>stock_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>stock_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>
@DVM I just checked. Yes, I have all the scripts in my minimal Debian Qube where I still cannot get the Thunar menu items to show copy/move to other qube. Note I have “Copy to other qube” instead of “Copy to VM.” This is a sample of what I have:
<icon>stock_folder-copy</icon>
<name>Copy to other qube</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>stock_folder-move</icon>
<name>Move to other qube</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/>
Mine is an old naming scheme, now the template looks like this:
Replace what you have in <action>
with the template and see if you have them in the menu list.
Edit; Can you check if you have this file too: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
Had the same prob. Installing qubes-menus, qubes-core-agent-linux along with qubes-core-agent-thunar fixed it.