Skip to content

A simple GNOME Shell extension that allows users to edit desktop files by right-clicking their app icon.

Notifications You must be signed in to change notification settings

Dannflower/edit-desktop-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit Desktop Files GNOME Shell Extension

Screenshot from 2024-09-28 18-21-00

Adds an Edit button to the pop-up menu displayed when right-clicking app icons in the app grid or dash. When clicked, it opens the .desktop file backing that app icon. Includes support for custom edit commands, allowing the user to specify another program or additional options when opening the file.

Installation

Get the latest release from the GNOME Extensions site

Alternatively, download the extension bundle from a release.

Development

Clone the project into:

~/.local/share/gnome-shell/extensions/editdesktopfiles@dannflower/

Enable the extension:

gnome-extensions enable editdesktopfiles@dannflower

Development Commands

Start a nested Wayland session

G_MESSAGES_DEBUG="GNOME Shell" WAYLAND_DISPLAY=wayland-1 dbus-run-session -- gnome-shell --nested --wayland

View the preferences window

gnome-extensions prefs editdesktopfiles@dannflower

Recompile schemas

glib-compile-schemas schemas/

Pack the extension for release

gnome-extensions pack

Release tags here on GitHub should be created any time a new release gets approved on the GNOME Extensions site. The tags should match the version number in the approved release on GNOME Extensions.

About

A simple GNOME Shell extension that allows users to edit desktop files by right-clicking their app icon.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •