New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispvm create should _not_ create appmenus #155

Closed
marmarek opened this Issue Mar 8, 2015 · 7 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 28 Mar 2011 21:41 UTC
And currently the appmenus are created in /usr/local/share/applications and they only pollute the Start menu.

Migrated-From: https://wiki.qubes-os.org/ticket/155

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 29 Mar 2011 14:35 UTC
Can we remove the %{template}-dvm VM after we create the savefile?

It would be ideal, so that we would not need to display this (otherwise useless) VM in the manager (which only confuses the user).

Member

marmarek commented Mar 8, 2015

Comment by joanna on 29 Mar 2011 14:35 UTC
Can we remove the %{template}-dvm VM after we create the savefile?

It would be ideal, so that we would not need to display this (otherwise useless) VM in the manager (which only confuses the user).

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by rafal on 30 Mar 2011 11:46 UTC
The current code expects to store certain files in template-dvm directory. So, the quick answer is no.
We could probably remove template-dvm from qubes.xml only. We would have to re-add it before each savefile regeneration (so that qvm-start would work); it is not particularly nice.
The clean solution is to mark template-dvm as special (passing e.g. --dvm-template to qvm-create), and act properly - do not create appmenus for it, and do not show it in the manager. I guess automatically recognizing all VMs whose name end in -dvm is not particularly aesthetic. So, we need another property in qubes.xml ? New class perhaps ? Not sure if it is worth the effort.

Member

marmarek commented Mar 8, 2015

Comment by rafal on 30 Mar 2011 11:46 UTC
The current code expects to store certain files in template-dvm directory. So, the quick answer is no.
We could probably remove template-dvm from qubes.xml only. We would have to re-add it before each savefile regeneration (so that qvm-start would work); it is not particularly nice.
The clean solution is to mark template-dvm as special (passing e.g. --dvm-template to qvm-create), and act properly - do not create appmenus for it, and do not show it in the manager. I guess automatically recognizing all VMs whose name end in -dvm is not particularly aesthetic. So, we need another property in qubes.xml ? New class perhaps ? Not sure if it is worth the effort.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 30 Mar 2011 13:13 UTC
Leaving it as it is now is only asking for troubles -- user will click on the appmenus for *-dvm, and some will perhaps even try to remove such VM from the gui-manager (I would probably do it myself!).

So, I think we should implement it now. Leaving this for the next week though.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 30 Mar 2011 13:13 UTC
Leaving it as it is now is only asking for troubles -- user will click on the appmenus for *-dvm, and some will perhaps even try to remove such VM from the gui-manager (I would probably do it myself!).

So, I think we should implement it now. Leaving this for the next week though.

@marmarek marmarek assigned marmarek and unassigned rootkovska Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 30 Mar 2011 13:55 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 30 Mar 2011 13:55 UTC

@marmarek marmarek added P: minor and removed P: major labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 3 Apr 2011 09:24 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 3 Apr 2011 09:24 UTC

@marmarek marmarek added P: major and removed P: minor labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 3 Apr 2011 15:40 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 3 Apr 2011 15:40 UTC

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment