---
title: "Create own shorcut icon in Ubuntu 22 panel"
url: https://michalasobczak.pl/posts/create-own-shorcut-icon-in-ubuntu-22-panel.html
author: "Michał Sobczak"
description: "If you want to run some curl on icon click from Ubuntu 22 panel, then you need to create file in ~/.local/share/applications: Then after few seconds, press special key (aka Windows key) and type your “application” name."
published: 2024-02-11T11:43:12.000Z
updated: 2024-08-29T08:20:43.000Z
language: en
categories: ["Hobby"]
tags: ["Ubuntu"]
license: CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/)
---
# Create own shorcut icon in Ubuntu 22 panel

If you want to run some curl on icon click from Ubuntu 22 panel, then you need to create file in ~/.local/share/applications:

```ini
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=curl http://x.x.x.x:yyyy/action
Name=Gateway
Icon=dialog-information
```

Then after few seconds, press special key (aka Windows key) and type your “application” name. You can grab and paste it onto application panel to be shown as a shortcut.
