Creating a .desktop File on Linux

Got an app that needs a shortcut and you can’t make one trivially with your desktop environment? Want to make one manually? The .desktop file is easy to understand.

Create a text file, but name it <foo>.desktop. Save it. This is the format of the code you’ll be using:

That’s all you really need. This isn’t very complicated. Your desktop environment almost certainly has an easier way, but this is how you do it manually. It comes in handy for some folks who want to have desktop icons (I have none, ever) and install applications that don’t set a desktop file.

Smash a Button
[Total: 0 Average: 0]
Get PDFPrint This
About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


Author: Admin

I'm a retired mathematician that has a fondness for Linux and many (not all) things tech. I'm an old-school geek that just enjoys the life he has. I live in a very, very rural area of Maine.

Leave a Reply

Your email address will not be published. Required fields are marked *

Linux Tips

This work is licensed under a Creative Commons Attribution 4.0 International License.
SITEMAP
Exit mobile version