On Mon, Apr 17, 2017 at 02:29:05AM +0300, Eva Star wrote:
> I'm get tired that Qubes Manager till now do NOT have "Start Terminal" at
> right click menu of each vm, but only "Run command in VM".
> 
> I want to patch it to add "Run terminal". I found that need to duplicate
> "Run command" entry, name it "Run Terminal" and predefined "gnome-terminal"
> on the input field.
> 
> I need to modify action. On the repository I see actions at mainwindow.ui
> file. But I can not find it on the disk to add new action!
> 
> <action name="action_run_terminal">
>    <property name="icon">
>     <iconset resource="resources.qrc">
>      <normaloff>:/run-command.png</normaloff>:/run-command.png</iconset>
> </property>
> 
> Where is mainwindow.ui with actions???
> 
> If I will found it I will add new function to process this action by
> duplicating action_run_command_in_vm_triggered(self) and predefined
> "gnome-terminal" into it.
> 
> 

I've done some manager hacking myself - some of it now incorporated in
release.
If you dont want to build a package then you can simply start hacking in 
/usr/lib64/python2.7/site-packages/qubesmanager.
(Back this up first, of course.)

Beside the ui elements in ui_mainwindow the slots are in main.py. If
you're going to hack these remember to remove the compiled files.
I'd recommend using xterm, as it's in all the templates afaik.

unman

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170417001102.GA9735%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to