How to organize applications within each VM's menu

I want to be able to somehow group or organize applications in the QMenu/VM-sub-menu to keep the commonly used applications grouped together. Sub-Categories like Video Processing, Document Processing, Software Development, Network Management, etc. Because of wearing many hats each day my VM menus get really long, and finding a specific app is not always easy and wastes time as I search alphabetically down the menu trying to remember the first letters of the app name. Does it have the company name first, or some other acronym, or just the App file name itself? I often switch modes from Development, to Writing, to Research and back again, within the same VM and the same day, and it doesn’t really make sense to create separate VMs for each duty just to be able to shorten the menu. It would be much easier if apps were grouped by category, then by name alphabetically within that category.

I have tried using Apps like Alacarte and even nano/Gedit to directly edit titles in the desktop files ( e.g. “Documents - PdfEdit” instead of “PdfEdit”), and yet the default Qubes menu system ignores any and all attempts to get them relisted alphabetically by any other desktop file title.

The Qubes menu already uses its submenu for each VM, and creating aditional folders under that architecture with Alacarte does not actually add any submenus no matter how/where it is done in the Template, Dom0, Nor the VM itself. A third layer in the default Qmenu system does not seem possible. Separators or moving items up and down the list to group things also does not seem possible. Editing each individual Desktop file title name in all the Templates is even ignored.

I have no clue what the main Qmenu is actually using to decide how to sort the names in its lists for each VM. There must be a way to do this without editing the Templates desktop files, or menu files, on the file system that would just get rewritten by qvm-sync-appmenus anyway.

Shouldn’t there be a way to organize the menus for a specific VM using some kind of tagging system so it doesn’t need to be redone when swapping/updating templates? There must be a way to do a simple sort by a user defined value, group applications, create a submenu, or define a way to view commonly used apps together. Editing the desktop files in the Template seems like the wrong approach, and even then the QubesManager/Settings/Applications tab and the Qmenu can’t even agree on the same order of presentation.

Would SaltStack be good for recreating a user-defined menu structure after software updates or template upgrades? There must be a way to organize these VM menus.

What am I missing here?

2 Likes

+1 / Me Too!

2 Likes

I agree that the Qubes menu need to be more ‘efficient’ to work with.

The Favorites menu has that functionality build-in and you can short applications by qube or by name but certainly needs to be improved.

I think the approach to the Qubes menu is to list all the applications you use on that qubes alphabetically and use it to find apps that maybe you rarely use by spending a few extra seconds to find it in that list (any app installed in the template can be launch from that qube, but it’s only the ones you chose to list in the qube Settings).
The apps you use most often should be added to the favorites, which would make the list much shorter and easy to go through.

It’s the Favorites menu I have problems with,

  • the shorting that I chose is reset after restart and there is no way to set a default short,
  • each favorite item takes up a lot of real-estate which makes the list long. I’d like to be able to change the view to list, icons, icons with name, etc.
  • secondary shorting. Like if I short by qube I can short again apps alphabetically.

PS. This is a security risk if you ask me.

Using the favorites menu would just exacerbate the original problem even more, because each VM would be adding to one favorites list.

It should be a fairly simple thing to add some kind of tagging system that can be used for sorting the application list in each VM, as that feature already exists. The Xfce4 menu on most distributions comes this way by default, with sorting and grouping by some tag specified within the RPM distribution install file. What seems to be needed here is simply a third layer to the Qmenu, with the second and third layers acting exactly like the default Xfce4 menus on other distributions. One that can be managed by the user would be even better, as the Xfce4 menu isn’t perfect either.

I would happily make do organizationally with anything that is currently available, but I just can’t figure out what Qubes uses to sort this menu. I have tried changing the *.desktop files in numerous ways, and that does exactly nothing to the sorting order. I might try editing the *.menu files, but those files will just get rewritten each time an application is added or removed in that VM menu. I’m at a loss for how to make this more manageable without arbitrarily adding more VMs just to have more smaller/organized/concise menus.

Something like SaltStack could save/reapply all the application tags after updates so the menus stay sorted even after a major Qubes upgrade, if there was a way to query and modify the tags.

What I desire is not a security problem because each VM is already its own Security Domain, and each VM has common tasks that are required for that same project. My Banking, Purchasing, and Internet browsing are already in a different Security Domain. Sometimes you just need a lot of Apps to get a job done. For example, if you write software for your nonprofit research project, you will ultimately need to write about it using the required tools. If that project also requires editing video then you will also need those apps too. Which video editing App you need on any particular day depends on what you need to get done, because not all Apps can do all the same things. Why should I have to create another VM just to add another App? Same with writing. Some things require PDF, while other tasks might require OpenDocument format, or Markdown, Json, etc. You will need to write for your website. Which IDE you need may change as well, depending on the language required. All I am asking for is a way to group the Document editing, and the Video Editing by some category, or even positionally with separators. It’s far faster to find a group of related Apps and then search that group for the specific App you need rather than searching a long, scrolling list sorted alphabetically by naming conventions that you don’t even control. It’s particularly annoying when a pop-up causes the menu to disappear when you are busy scrolling, just trying to find the app you need.

I have about 20 apps in my favorites and to be honest, I have to scroll to find what I need, but the problem is how apps use the space in favorites. They take too much space. If I could choose icons view for example I’d be able to see all of them without scrolling.

The Favorites is more than enough for my needs, but it seems like you are looking for something more advanced.
This functionality of shorting apps according to their tags from all the qubes, and show these tags/groups in the Qubes menu in Dom0 is not something you can just “configure”. You can always request the feature on Github, but if you are up to it you can build it yourself. I would definitely give it a try :wink: