W dniu czwartek, 22 grudnia 2016 21:28:52 UTC+1 użytkownik Chris Seekamp 
napisał:
>
> I installed Qubes OS R3.2 yesterday. I have a thinkpad t450s and I use the 
> trackpoint. I have a little utility to toggle on/off the trackpad. So after 
> starting qubes I currently have to open up the Terminal Emulator for dom0 
> and execute the command. I would like to be able to put an entry in the 
> menu (perhaps below "Terminal Emulator") to execute my utility. I also will 
> probably be writing a program that allows me to assign a USB device 
> attached to the sys-usb-proxy to an AppVM. Right now I have to run a 
> sequence of commands in the terminal emulator to do this every time I want 
> to use my USB headset. Once I have this program written, I would like to be 
> able to invoke it from the menu as well. I see documentation on AppVM menus 
> but not on the one for dom0. I think I have to execute these things only 
> from dom0.
>
> Can someone point me to documentation for updating the dom0 menu, or if 
> there is none, tell me which code package to grab so I can look at how this 
> is done?
>
> Also, in case I want to write a GUI to do the second program I mentioned, 
> can someone recommend which toolkit to use based on what is being used 
> elsewhere in Qubes OS? I prefer using python (perhaps pygtk?) but I could 
> use C/C++ as well if absolutely necessary.
>
> Thanks.
>
1. In order to attach your USB headset to an appvm using one command do it 
like this: qvm-usb -a vmname $(qvm-usb|grep -i NAMEYOURHEADSETHERE|cut 
-f1), now you have a single line of bash to attach your headset. This can 
be bound to a keyboard shortcut using XFCE keyboard menu. Alternatively you 
can create a menu entry by saving this command as a bash script, making it 
executable (and giving the non-root use permission to execute it) and then 
saving it in /usr/share/applications

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/10de3fd4-3770-40a7-935e-e1882935f18e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to