"Qubes Domains": Add tools/commands to the tray icon (for DVM)

17 views
Skip to first unread message

Major Lazor

unread,
Jan 21, 2020, 5:09:46 AM1/21/20
to qubes...@googlegroups.com
Is it possible to add tools or commands to the tray icon "Qubes Domains" ?

One example: When using a DVM I often want to move downloaded files to a
persistent VM. In such cases I "run terminal" and start nautilus. It
would be nice if nautilus was available directly. Is there a way for
such a configuration? If not, understand this as a Feature Request :)

Thank you.

awokd

unread,
Jan 23, 2020, 9:27:07 AM1/23/20
to qubes...@googlegroups.com
Major Lazor:
> Is it possible to add tools or commands to the tray icon "Qubes Domains" ?

Not that I am aware of, but you should be able to add all the per-domain
commands you want under the Qubes menu in the top left of your screen.
Go to [appvm]/Qube Settings/Applications and you can pick and choose
which ones you want.

> One example: When using a DVM I often want to move downloaded files to a
> persistent VM. In such cases I "run terminal" and start nautilus. It
> would be nice if nautilus was available directly. Is there a way for
> such a configuration? If not, understand this as a Feature Request :)
>
> Thank you.
>


--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Major Lazor

unread,
Jan 23, 2020, 9:30:05 AM1/23/20
to awokd, qubes...@googlegroups.com
Am 23.01.20 um 15:26 schrieb 'awokd' via qubes-users:
> Major Lazor:
>> Is it possible to add tools or commands to the tray icon "Qubes Domains" ?
> Not that I am aware of, but you should be able to add all the per-domain
> commands you want under the Qubes menu in the top left of your screen.
> Go to [appvm]/Qube Settings/Applications and you can pick and choose
> which ones you want.
Yes, but this menu does not list (running) disposible VMs (/Instances)

awokd

unread,
Jan 23, 2020, 9:42:49 AM1/23/20
to qubes...@googlegroups.com
Major Lazor:
Got it- missed that part.

Steve Coleman

unread,
Jan 23, 2020, 1:26:17 PM1/23/20
to qubes...@googlegroups.com
On 2020-01-23 09:42, 'awokd' via qubes-users wrote:
>
> Major Lazor:
>> Am 23.01.20 um 15:26 schrieb 'awokd' via qubes-users:
>>> Major Lazor:
>>>> Is it possible to add tools or commands to the tray icon "Qubes Domains" ?

Its not exactly the same thing as adding a permanent menu for dispVm's
but I have an launch icon which calls my qvm-add-disp script in dom0.

It's simple and it works for me. You just start as many dispvm's as you
like and then click the desktop launcher icon when you need to add
another app to some dispvm instance. You could put the launcher itself
in the menu if you like, or the toolbar.

The bash script simply enumerates the currently running DispVM instances
and generates a zenity GUI listbox with check boxes, one for each
combination of dispVM/application. The script hard-codes a list of
available applications in the APPS=() list variable.

When the GUI appears I can then check off which apps I want to launch in
which specific dispVMs. When I click the Ok button it will roll through
those selected combinations and launch whatever I had selected from that
listbox in the requested dispvm instances.

All you have to do is edit the APPS=( prog1 prog1 ) list to allow for
selecting your specific applications instead of my current set of apps.

Note: I believe I had to add zenity application to my dom0, so this
script does of course have some minor security implications. But I'm ok
with that risk given the convenience that it gives me to graphically
prompt myself for little utilities like this, and where a full blown
python gui app is just too much trouble. Its simple and it works well
for the little things.

Steve


qvm-disp-add
Reply all
Reply to author
Forward
0 new messages