On Wednesday, June 15, 2016 at 6:14:20 PM UTC-5, nicklaus...@gmail.com wrote: > On Wednesday, June 15, 2016 at 4:59:12 PM UTC-5, Unman wrote: > > On Sun, Jun 12, 2016 at 08:55:05PM -0700, nicklausmcclen...@gmail.com wrote: > > > Is there any mechanism to identify what label the AppVM has from with in > > > it? I'm looking for a (hopefully) automated way to make other colors > > > match the label, i.e. have my terminal prompt and tmux bar be green in > > > green AppVMs and red in red AppVMs. > > > > > > > The red labelling is drawn from dom0 currently. I don't think there's a > > way of pulling dom0 information from within a qube, so I think you will > > be disappointed. > > Although I cant see any reason why it wouldn't be possible to write label > > information to he qube on boot, and then read that out. Might be worth > > playing with this. > > I can't believe I didn't think of that. I'll try to work something out with > qrexec and I'll post the code when I'm done in case anyone would like to use > it. Thank you!
I mocked up an example RPC here: https://github.com/kulinacs/qubes-rpc-GetLabel I'd love to get some feedback from anyone willing to take a look at it. -- 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/fa72cbdf-6cc1-48bc-9b90-0eb1dcd89e85%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.