mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
9029914815
Setting up the icon and desktop file is a pretty central part of making an application work, so we should do it for our example. The fact that the examples are uninstalled makes this a little more complicated.
10 lines
362 B
Plaintext
10 lines
362 B
Plaintext
To make gnome-shell use the desktop file and icon for this example
|
|
while running it uninstalled, do the following:
|
|
|
|
mkdir -p ~/.local/share/applications
|
|
sed -e "s#@bindir@#$PWD#" exampleapp.desktop \
|
|
> ~/.local/share/applications/lt-exampleapp.desktop
|
|
|
|
mkdir -p ~/.local/share/icons/hicolor/48x48/apps
|
|
cp exampleapp.png ~/.local/share/icons/hicolor/48x48/apps
|