On 04/17/2017 02:44 AM, Reg Tiangha wrote:
I don't know the answer to your question, but the problem with that is
that not every TemplateVM has gnome-terminal installed (for example, the
Fedora or Debian minimal templates). If you wanted to make something
more generic, you'd probably be safer with 'xterm' even though it isn't
as convenient to use. That's what gets called whenever you click on
'Update VM' (except in Whonix, where it's Konsole).
But if you're just doing it for yourself, you can launch whatever you want.
That said, being able to right-click in Qubes Manager and quickly launch
any kind of terminal program would be a super useful feature to have.
It's a little hack for me. "gnome-terminal" predefined entry will be
enough to start with. I'm also see on the function that executed, that
it have vm objects and 99% sure that this object hold all prefs of VM.
Then it will be not hard to parse settings and add little more
statements for this predefined string:
Advanced Logic if you want:
- default value xterm or empty
- if the template name of the AppVM (or templateVM) contain "fedora"
then predefined value "gnome-terminal"
- if it's HVM then no values
- if AppVM name start with "win" then "cmd" or empty.
But as already noted: little hack with gnome-terminal will be enough to
start.
But the problem to find the file whereis right-click menu. As I can
understand, source file somehow "compiled" by Qt... I do not know how to
recompile them, because I'm new to python and know almost nothing about Qt.
--
Regards
--
You received this message because you are subscribed to the Google Groups
"qubes-users" 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-users/7e16f20a-fd0c-1ee9-7bd5-2d9d6ed93d47%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.