Navigation Menu

Skip to content

Commit

Permalink
post(ubuntu): on custom desktop shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
l-lin committed Apr 12, 2019
1 parent 131daba commit a5cbbc6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion archetypes/default.md
Expand Up @@ -3,7 +3,7 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
imageUrl: ""
tags: []
categories: []
categories: ["post"]
comment: true
toc: false
autoCollapseToc: false
Expand Down
42 changes: 42 additions & 0 deletions content/post/2019/2019-04-12-Ubuntu_custom_desktop_shortcuts.md
@@ -0,0 +1,42 @@
---
title: "Ubuntu custom desktop shortcuts"
date: 2019-04-12T09:27:54+02:00
imageUrl: "https://career.guru99.com/wp-content/uploads/2014/08/Ubuntu.png"
tags: ["ubuntu"]
categories: ["post"]
comment: true
toc: false
autoCollapseToc: false
contentCopyright: false
---

With Ubuntu, you can create your own desktop shortcuts that will be accessible directly from the launcher.

You can do it by using a GUI, or you can do it using directly a terminal, which is the what we will be covering here.

<!--more-->

There are two applications folders that Ubuntu is looking:

* `/usr/share/applications/`
* Shared folder to every computer's users
* `~/.local/share/applications/`
* Folder specific to the users, thus shortcuts only available for current user

If you want to create a custom one, create a `<name>.desktop` file into one of those two folders with the following content:

```
[Desktop Entry]
Type=Application
Name=Name of the app
Icon=/path/to/your/icon.png
Exec="/path/to/your/exec" %f
Comment=Some comment
Categories=Categories;separated;by;semi-commas;
Terminal=false
```

Sources:

* https://askubuntu.com/questions/64222/how-can-i-create-launchers-on-my-desktop
* https://askubuntu.com/questions/1006882/intellij-shortcut-location

0 comments on commit a5cbbc6

Please sign in to comment.