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

Don't overwrite custom user commands in application menu shortcuts #1286

Closed
andrewdavidwong opened this Issue Oct 7, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Oct 7, 2015

There have been persistent problems involving non-fuctional application menu shortcuts. (The most notorious examples have been nautilus and xterm failing to launch under common use cases. See #1285.) Users could easily fix these issues themselves if only their custom commands were not overwritten.

In addition to fixing problems, users might have legitimate reasons for wanting to customize their commands, e.g., to add functionality or for accessibility. These customizations should not be automatically (and silently) overwritten by Qubes scripts.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 7, 2015

Member

This is highly difficult because different desktop environments have different methods of caching menus, editing items, etc. So it may not be even simple to notice if the file was edited by the user. Also this way, if the VM file changes location on upgrade, it won't be updated and such shortcut will be broken.

Anyway it is simple to copy the entry (in KDE menu editor - "copy", then "paste") and make the modifications in the copy. It will not be overwritten.

Member

marmarek commented Oct 7, 2015

This is highly difficult because different desktop environments have different methods of caching menus, editing items, etc. So it may not be even simple to notice if the file was edited by the user. Also this way, if the VM file changes location on upgrade, it won't be updated and such shortcut will be broken.

Anyway it is simple to copy the entry (in KDE menu editor - "copy", then "paste") and make the modifications in the copy. It will not be overwritten.

@marmarek marmarek closed this Oct 7, 2015

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