Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDispvm create should _not_ create appmenus #155
Comments
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 1 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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).
|
Comment by joanna on 29 Mar 2011 14:35 UTC It would be ideal, so that we would not need to display this (otherwise useless) VM in the manager (which only confuses the user). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by rafal on 30 Mar 2011 11:46 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by joanna on 30 Mar 2011 13:13 UTC So, I think we should implement it now. Leaving this for the next week though. |
marmarek
assigned
marmarek
and unassigned
rootkovska
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 30 Mar 2011 13:55 UTC |
marmarek
added
P: minor
and removed
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 3 Apr 2011 09:24 UTC |
marmarek
added
P: major
and removed
P: minor
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by marmarek on 3 Apr 2011 15:40 UTC |
marmarek commentedMar 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