Dom0 entries have vanished from the applications menu.

169 views
Skip to first unread message

filtratio...@posteo.de

unread,
Jul 26, 2017, 7:52:38 PM7/26/17
to qubes...@googlegroups.com
In the application menu, dom0 entries have disappeared, including the
logout options. All entries for AppVM, ServiceVM, and Templates remain.
This has happened to me before, but I don't know how to proceed.

XFCE builds these menus from .desktop files in locations like
~/.local/share/applications/ (mine has has only .desktop files for VMs)
and /usr/share/applications/ (which has none.) /var/lib/qubes/qubes.xml
mentions /var/lib/qubes/servicevms/dom0/, but that folder doesn't exist
on my system.

It looks like this happened right after I removed some templates with
the "$ sudo dnf remove " command. Terminal outputted some errors, but I
overlooked them and don't know if they would be in any logs.

Can anyone help me with this?

Unman

unread,
Jul 27, 2017, 10:49:14 AM7/27/17
to filtratio...@posteo.de, qubes...@googlegroups.com
This is a known issue that has affected a number of users.

If you look on the bright side you now have a much cleaner menu, and you
can limit it to the few applications that you might want to run in dom0
(hint - very few.)

You can copy the files from out of a Fedora based qube if you have one.

If you still have the install medium then you can extract the desktop
files for applications that you want, by pulling them from the rpm
packages:

For example, to get the xterm .desktop file:

mount qubes.iso /mnt
rpm2cpio /mnt/Packages/x/xterm-318-2.fc23.86_64.rpm |cpio -idv "*.desktop"

This will extract xterm.desktop in usr in the current directory, and you
can then move it in to /usr/share/applications

You can, of course, put this in a loop and iterate over all the Packages
on the install disk, if you must.

If you have neither Fedora templates, nor the install medium, then you
can write desktop files simply enough, or get them from another user.

I should say that NOT having dom0 entries is in my opinion a good thing
- when I'm preparing Qubes for a new user I almost always delete them,
and radically simplify the menu.

unman



filtratio...@posteo.de

unread,
Jul 27, 2017, 4:20:50 PM7/27/17
to Unman, qubes...@googlegroups.com
> This is a known issue that has affected a number of users.
>
> If you look on the bright side you now have a much cleaner menu, and you
> can limit it to the few applications that you might want to run in dom0
> (hint - very few.)
>
> You can copy the files from out of a Fedora based qube if you have one.
>
> If you still have the install medium then you can extract the desktop
> files for applications that you want, by pulling them from the rpm
> packages:
>
> For example, to get the xterm .desktop file:
>
> mount qubes.iso /mnt
> rpm2cpio /mnt/Packages/x/xterm-318-2.fc23.86_64.rpm |cpio -idv "*.desktop"
>
> This will extract xterm.desktop in usr in the current directory, and you
> can then move it in to /usr/share/applications
>
> You can, of course, put this in a loop and iterate over all the Packages
> on the install disk, if you must.
>
> If you have neither Fedora templates, nor the install medium, then you
> can write desktop files simply enough, or get them from another user.
>
> I should say that NOT having dom0 entries is in my opinion a good thing
> - when I'm preparing Qubes for a new user I almost always delete them,
> and radically simplify the menu.
>
> unman
>
>
>
RESOLVED

I mounted the install media and extracted the desktop files as per your
instructions. Creating launchers from the desktop worked too. Desktop
files for the applications I wanted imported fine, but the xfce settings
manager is empty when I open it. That's fine, though.

Thanks, Unman.

Mike Freemon

unread,
Nov 3, 2017, 9:02:28 PM11/3/17
to filtratio...@posteo.de, Unman, qubes...@googlegroups.com
For future lurkers, this also works:

qubes-dom0-update --action=reinstall <list of below packages>

xfce4-settings-4.12.0-6.fc23.x86_64
xfce4-screenshooter-1.8.2-5.fc23.x86_64
xfce4-power-manager-1.6.0-4.fc23.x86_64
xfce4-about-4.12.1-3.fc23.x86_64
xfce4-panel-4.12.0-4.fc23.x86_64
xfce4-session-4.12.1-6.fc23.x86_64
xfce4-sensors-plugin-1.2.5-3.fc23.x86_64
xfce4-taskmanager-1.1.0-4.fc23.x86_64
xfce4-terminal-0.6.3-8.fc23.x86_64
xfce4-notifyd-0.2.4-8.fc23.x86_64
xfce4-appfinder-4.12.0-4.fc23.x86_64

The list of packages to specify here is pretty easy to see from the
output of "rpm -V" in dom0.

Reply all
Reply to author
Forward
0 new messages