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

Application removed from menu cannot be added back #2952

Closed
marmarek opened this Issue Aug 1, 2017 · 8 comments

Comments

Projects
None yet
4 participants
@marmarek
Member

marmarek commented Aug 1, 2017

Qubes OS version (e.g., R3.2): R4.0


Steps to reproduce the behavior:

  1. Open VM settings
  2. Remove application from the list, click OK
  3. Check if application is really removed from the menu.
  4. Open VM settings
  5. Add the same application back, click OK
  6. Check if application is present in the menu

Expected behavior:

Application added back

Actual behavior:

Application still missing.

General notes:

Report on qubes-users

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 1, 2017

Member

Also, changing VM color does not update the menu. I belive it is the same bug.
Both issues can be fixed with:

xdg-desktop-menu install ~/.local/share/qubes-appmenus/VMNAME/apps/*.{directory,desktop}
Member

marmarek commented Aug 1, 2017

Also, changing VM color does not update the menu. I belive it is the same bug.
Both issues can be fixed with:

xdg-desktop-menu install ~/.local/share/qubes-appmenus/VMNAME/apps/*.{directory,desktop}
@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Sep 30, 2017

@marmarek Your workaround works to reinstate ALL applications menu available to that vm, rather than only the ones selected in the applications tab.

Is there a command to update the menus based on that application tab list?

mannp commented Sep 30, 2017

@marmarek Your workaround works to reinstate ALL applications menu available to that vm, rather than only the ones selected in the applications tab.

Is there a command to update the menus based on that application tab list?

@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Nov 20, 2017

Is this fixed as the workaround is a half measure not a solution.

mannp commented Nov 20, 2017

Is this fixed as the workaround is a half measure not a solution.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Nov 20, 2017

Member

Is this fixed as the workaround is a half measure not a solution.

What do you mean? With the fix referenced above (marmarek/qubes-desktop-linux-common@e45e760) application menu is correctly updated when needed.

Member

marmarek commented Nov 20, 2017

Is this fixed as the workaround is a half measure not a solution.

What do you mean? With the fix referenced above (marmarek/qubes-desktop-linux-common@e45e760) application menu is correctly updated when needed.

@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Nov 20, 2017

I was looking at the xdg-desktop-menu command and it still creates all menu items regardless of whether the app exists in the selected list.

I did not realise qvm-appmenus --update was the correct command to recreate the menus and not xdg-desktop-menu, as that still has the same effect.

mannp commented Nov 20, 2017

I was looking at the xdg-desktop-menu command and it still creates all menu items regardless of whether the app exists in the selected list.

I did not realise qvm-appmenus --update was the correct command to recreate the menus and not xdg-desktop-menu, as that still has the same effect.

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Nov 21, 2017

Automated announcement from builder-github

The package qubes-desktop-linux-common-4.0.8-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-desktop-linux-common-4.0.8-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Nov 21, 2017

Closed

desktop-linux-common v4.0.8 (r4.0) #312

@jpouellet

This comment has been minimized.

Show comment
Hide comment
@jpouellet

jpouellet Dec 7, 2017

Contributor

Somehow my system .desktop files got deleted. The cause was probably just me being an idiot, but in case it's not and someone in the future comes across this issue by searching for that problem symptoms (as I just did), you can restore the system menu items with:

sudo qubes-dom0-update --action=reinstall $(rpm -qal | grep /usr/share/applications | xargs rpm -qf | sort -u)
Contributor

jpouellet commented Dec 7, 2017

Somehow my system .desktop files got deleted. The cause was probably just me being an idiot, but in case it's not and someone in the future comes across this issue by searching for that problem symptoms (as I just did), you can restore the system menu items with:

sudo qubes-dom0-update --action=reinstall $(rpm -qal | grep /usr/share/applications | xargs rpm -qf | sort -u)
@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Dec 11, 2017

Automated announcement from builder-github

The package qubes-desktop-linux-common-4.0.8-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Automated announcement from builder-github

The package qubes-desktop-linux-common-4.0.8-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

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