Local .desktop files

In XFCE, whenever I needed to customize some menu entry, I would just go to /usr/share/applications/ and edit the corresponding .desktop file. This applies the changes globally and whenever the program is updated the modified .desktop file will be overwritten.

However, there is a “local” approach for this, which will affect only the current user. Copy the .desktop file you want to edit to ~/.local/share/applications/.

Open it in a text editor, edit and save the changes. Now, the menu will display this local copy.

One Comment on “Local .desktop files”

  1. […] to ~/.local/share/applications/. Then, I edited the Exec line of this local copy of the .desktop file as the Arch Linux wiki […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s