Keystrokes for qubes-manager

38 views
Skip to first unread message

qubenix

unread,
Dec 15, 2016, 1:56:48 PM12/15/16
to qubes...@googlegroups.com
Any way to set a keystroke for qubes-manager to "Show/Hide all inactive
VMs"? I assume it's somewhere in
/usr/lib64/python2.7/site-packages/qubesmanager/main.py, but it would
take me a long while to dig through there and even then I'm not sure
what I'm doing with python.

--
qubenix
GPG: B536812904D455B491DCDCDD04BE1E61A3C2E500

Marek Marczykowski-Górecki

unread,
Dec 15, 2016, 10:05:08 PM12/15/16
to qubenix, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Dec 15, 2016 at 06:57:00PM +0000, qubenix wrote:
> Any way to set a keystroke for qubes-manager to "Show/Hide all inactive
> VMs"? I assume it's somewhere in
> /usr/lib64/python2.7/site-packages/qubesmanager/main.py, but it would
> take me a long while to dig through there and even then I'm not sure
> what I'm doing with python.

Take a look at this pull request how to define keyboard shortcuts:
https://github.com/QubesOS/qubes-manager/pull/16

For existing actions (like the one you want) it does not involve
touching main.py at all. Just .ui file - using qt4-designer.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYU1nhAAoJENuP0xzK19csTPwH/ivcK/tesmNK8iZ8UGk2fRh0
HaWTanUGZX3I3pQc6h/bibNPBiFylAN3XVDV2rBjT65HMo7bmE0jJ4OU8kvSDLWP
yiuCszp1teEt+XErna1i+RUXsKZynXvZjoVhHrgGyAMswpLDO0JICENuTgWK8JSz
MW3T27MQfIwQvHtSC1UprVlg03rIB+rjkT0FWNPDXUOE00CHua6V9FvgsDHHX6Qa
R93adV221XZ9iUMyzC9PbSYLJLi9eUpDiTgtadRNBkHVhSUU4ABiLLL9s50lpjIU
Sff3RQyYPo/1qZhXMlHrN1CHWJKBkHqwCKQZ+iEzjhrYwh4TxCgl6SKE5gtgY7M=
=mbeH
-----END PGP SIGNATURE-----

Jean-Philippe Ouellet

unread,
Dec 16, 2016, 12:05:43 AM12/16/16
to qubenix, qubes-devel
I already have a local patch for that (and others). Give me a bit and
I'll submit a PR.
> --
> 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 qubes-devel...@googlegroups.com.
> To post to this group, send email to qubes...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/725c25ae-e834-4fe3-1808-99fdcdd2cab3%40riseup.net.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages