A .desktop file is a launcher. When run, it executes a command, which usually launches an application. Use this tag if you are asking a question about using a .desktop file or about the .desktop file format in general.

learn more… | top users | synonyms

0
votes
2answers
36 views

Newly installed program does not launch from dash

I'm on Ubuntu 14.04, and installed a .deb file I downloaded (so install happens through Software Center). (Almost) All went well, and the program icon appeared in the Dash. When clicking it, nothing ...
-1
votes
1answer
35 views

PC hung no move mouse cursor in Ubuntu 16.04 [on hold]

Sometimes PC hung no move mouse cursor hold.
3
votes
2answers
167 views

How can I give a script its own icon in the Unity launcher?

With Ubuntu 16.04, if you create a launcher (desktop file in ~/.local/share/applications) with a custom icon for a terminal application (so with Terminal=true) then when you start it, it will spawn a ...
0
votes
0answers
16 views

Desktop entry start 2 times!

I have a desktop entry to start emacs daemon at boot. The desktop entry is as follows: [Desktop Entry] Type=Application Name=EmacsServer Exec=emacs --daemon Comment=Emacs daemon X-GNOME-Autostart-...
3
votes
1answer
52 views

Why does launching my own script from a launcher only work once?

I created a shell script, let's say it's echo hi sleep 5 echo bye exit Then I created a .desktop -file to launch the shell script. Double-clicking it works perfectly fine: [Desktop Entry] Version=...
1
vote
2answers
34 views

how to run an application from a different user than the user that installed the application

I have 2 user accounts, user_1 and user_2. I installed intellij under user_1 before creating the user_2 account. After I created user_2 and logged in as user_2, I cannot see the intellij application ...
0
votes
2answers
31 views

Role of .desktop extension

I've done a lot of trial and error and reading and can now create .desktop files (i.e., launchers, shortcuts, etc.) most of the time using Lubuntu. But I'm unclear whether or not the ".desktop" ...
2
votes
2answers
49 views

How can I find the PID for software where the name of the software is different from the executable? [duplicate]

I run "Videos" software from the Dash in Ubuntu. After some minutes the software freezes. I've tried searching for the PID of the software to kill it, but I can't find any result with these commands: ...
4
votes
2answers
78 views

How can i create eclipse launcher icon with specified gtk?

To solve this bug on the new release of Eclipse, most people use this solution. It works fine when I run Eclipse using terminal or from the default folder (/opt/eclipse/), but when I lock Eclipse to ...
0
votes
1answer
35 views

How do I create a desktop file out of a terminal command?

I want to create a .desktop file to run "world of warcraft" over wine. I can run the following command wine /home/maciej/434_mini -opengl to run it. How do I do this?
9
votes
2answers
196 views

Timestamp in Exec= line of .desktop file possible?

Lubuntu 16.04 - Openbox session I can use the terminal to open a time-stamped file with gedit: gedit ~/$(date +%Y%m%d%H%M%S).txt The command can also be used via a keyboard shortcut in Openbox. &...
1
vote
0answers
24 views

What's the problem with the panel in the desktop?

These couple days, when I start ubuntu, and after about 15 min to 1 hour, the colors of the Panel icons (time, username, language, network...etc) change their color and become white, and the Close, ...
0
votes
1answer
17 views

Running desktop entry causes program to start then close without ever showing

I'm trying to make a desktop entry for Xampp on Ubuntu 16.04. Here's what I have so far.. [Desktop Entry] Type=Application Comment=Launch XAMPP Manager Keywords=XAMPP,php,apache Name=Xampp Terminal=...
2
votes
1answer
30 views

How do I pin a window that is opened by another command?

I frequently use Tox for communication, in particular the μTox client. I recently switched to Ubuntu from Debian, and am finding it a nice alternative, but I have one constant problem; because I often ...
3
votes
1answer
52 views

Is their any way pinning location to unity dash?

i wanna add location or application to the main screen of unity dash instead of making a lot of .desktop files and pin to launcher on windows i simply pin location to start like this . is their any ...
2
votes
0answers
146 views

After login Desktop not showing 16.04

I am using ubuntu 16.04 and I have installed kali linux on top of that using katoolin, after restarting I can enter the password but desktop showing blank no icons. I used below command no use. Please ...
2
votes
1answer
144 views

Ubuntu mate caja right click on .desktop file, 'Open With Other Application' missing

I use Ubuntu MATE 16.04 Xenial Xerus (MATE verison 1.12) and when I right click on a .desktop file with caja there isn't any 'Open With Other Application' option, which is very annoying since I need ...
1
vote
1answer
13 views

eclipse.desktop on launcher being replaced on reboot [duplicate]

I've finally gotten eclipse installed on my 14.04 machine so that it launches from a new terminal with an eclipse.desktop file. I can drag it onto the launcher and when I click it everything works! ...
0
votes
0answers
13 views

Webstorm favourite entry adds another when executed

Yes, I know the question title doesn't make sense. I have a desktop entry which was created by webstorm itself. I need to add it to the favourites sidebar. So I just searched for it from launcher and ...
5
votes
2answers
85 views

Tor-Browser appears as Firefox in the Unity Launcher

Running Ubuntu 16.04 64-bit, I have installed Tor-Browser from Ubuntu Repository (via terminal). But when I run it, it runs as Firefox. While its icon in dash is its own, when it runs, it shows ...
3
votes
2answers
120 views

Run “sudo arduino” with .desktop file

To the close voters: seemingly a dupe, but not quite, at least not of the suggested one: in the linked question, the commands can be added safely to the sudoers file. In case of an IDE, it is a bad ...
-1
votes
1answer
46 views

How to make .desktop file for a package to be shown in Unity Dashboard on Ubuntu 13.04? [closed]

Well, the package download it via GUI (Graphical User Interface). Now, would like the app to appear on Dashboard and also to be findable in the search bar of Ubuntu. How to create a .desktop file??? ...
1
vote
1answer
35 views

Help Create First Desktop Application - “There was an error launching this application”

I created a .sh file "OpenNautilus.sh" #!/bin/bash nautilus;#open Nautilus Then I created a .desktop [Desktop Entry] Version=1.0 Type=Application Terminal=true Exec=home/vitor/Dropbox/Ubuntu/...
0
votes
0answers
35 views

How to add a desktop shortcut? [duplicate]

How to add a file shortcut on the desktop in 16.04? I tried to drag & drop a file from Nautilus to the desktop and nothing happened. Thanks.
0
votes
0answers
14 views

Desktop shortcuts display incorrectly if the “Name” property is not first in the “Desktop Entry” group

I have VMs for 14.04, 15.10, and now 16.04. I've had no particular trouble creating desktop shortcuts in the first two. I typically create a new desktop entry by copying the "*.desktop" file in ~/...
1
vote
1answer
62 views

How do I check if a set of commands are executed on startup? [duplicate]

I'm in the process of creating a GUI-frontend to xrandr, and I need some commands to be executed on startup. I'm using a .desktop file placed in ~/.config/autostart. I can't tell if this will work, ...
1
vote
2answers
133 views

How to get back Launcher icon for emacs in 16.04?

After installing 16.04 the Emacs icon in the Launcher turned into a question mark: In 15.10, the icon looked more like this: I guess the problem might be that I installed Emacs from source ( and ...
1
vote
2answers
70 views

vim.desktop - changes lost when terminal exits

I was thrilled to notice a GNOME launcher for vim in the vim-common package after I upgraded to Ubuntu 16.04, since it offers an alternative to gvim (a solid app, though not perfect for my workflow). ...
0
votes
1answer
16 views

.desktop file changing Exec depending on desktop environment

I am trying to make a .desktop file on my desktop which opens a window of the file manager of the desktop env I'm currently in (Nautilus for Ubuntu, PCManFM for LXDE) but my file doesn't seem to work: ...
2
votes
0answers
14 views

I seem to have two desktops running concurrently as well as over the top of each other

hope to god someone has seen this and knows wtf is going on :) I hardly ever log directly into the machine and will generally just use X2GO to connect to it remotely. I have not requested to install ...
1
vote
1answer
37 views

Ubuntu stopped working without apparent reason

I'm pretty new to the Linux System, I've installed Ubuntu 14.04.4 LTS and I am more then satisfied. I'm web delevoper,and for the first time in my life everything worked right away. I installed ...
1
vote
2answers
74 views

Know Ubuntu Distribution server or desktop

I am asking question after googling and I tried multiple solution but need a specific answer. I have logged in another pc with SSH and I need to know that the OS distribution is server or desktop. ...
0
votes
0answers
23 views

.desktop file not executing properly

I have a script that works very well in terminal by simply typing aprs.sh from anywhere. This script runs a few terminal based applications, and then runs a graphical application giving me a total of ...
0
votes
2answers
55 views

How can I exclude an application from Dash search? [duplicate]

I have an application that I'd like not to show up when I search for it is Dash. How can I keep the application, but prevent it from being found when I search for it?
2
votes
2answers
50 views

Is it possible to run more than one command in a someapp.desktop file? [duplicate]

i am just trying to find a way to run an extra command when opening an app (Firefox), but i am failing miserably... The original question is here. I tried to add my command after the app command as ...
0
votes
1answer
46 views

Unable to run .jar file using .desktop file, even though it runs from terminal

I'm running 32-bit Ubuntu 12.04 (on a 64-bit machine - don't ask). I have Oracle Java 8 installed as the default java version (confirmed using both 'java -version' and 'update -alternatives'), but ...
0
votes
0answers
29 views

How can I start a job of a python script from a .desktop file?

I have created following .desktop file to start a python program (uses tkinter if this is relevant): [Desktop Entry] Type=Application Name=Program Icon=utilities-terminal Exec=gnome-terminal -e "bash ...
4
votes
1answer
122 views

.desktop file will not open in Google Chrome when launched from SpaceFm

While using Google Chrome I often drag website links from the address bar into a folder on the desktop for later reference. This creates a .desktop file that is essentially a link to a webpage. ...
1
vote
1answer
29 views

How do I get rid of redundant Wine launchers in Unity?

I want to get rid of redundant Unity launchers of uninstalled software, especially uninstalled windows (wine) software. All answers already given elsewhere are user specific and not universal and does ...
2
votes
1answer
116 views

Sublime Text 3 not available from Dash despite posessing a .desktop file

After installing Sublime Text 3 .deb file the package description said something along the lines of "This is to be run on the terminal". So I said to myself, "No problemo Sublime, I will create a ....
0
votes
0answers
12 views

How to disable the joystick for dragging Windows in KDE 5? (Kubuntu)

How to disable the joystick for dragging Windows in KDE 5? This is activated clicking on an unknown key and locks the keyboard. How to disable completely?
1
vote
1answer
86 views

Ubuntu in Virtual Box - Desktop shows in preview but not in actual Virtual Box

Brand new around here. Installed ubuntu 14.04 (32-bit due to system reqs) for VirtualBox. Booted up the desktop, but it's only showing in the preview mode - the actual VirtualBox is a blank purple ...
0
votes
0answers
15 views

Reset pidgin notification icon to default after applying Win-7 icons

I have applied Windows 7 Icon theme. Now Pidgin application icon has been changed to this: Before applying the theme it was like this: How to reset it to default even after applying theme (...
0
votes
1answer
29 views

How to remove/stop desktop component from the server?

I found that my ubuntu server is displaying GUI on boot. How to remove this? This is headless server and there is not reason to spend resources for GUI. Simultaneously I wish to keep virtual stuff ...
4
votes
2answers
724 views

Why won't this script run on startup?

This script works perfectly when I launch it manually. How can I get it to run on startup? The function of the script is to get Docky to auto relaunch in the case of a crash. I created the script ...
1
vote
1answer
36 views

The desktop image moved to one side

Question update: The original install was fine. Later, the whole desktop image shifted to the right. I didn't change anything. If I boot into Ubuntu's "fail safe graphic mode," the desktop display is ...
1
vote
1answer
61 views

Ubuntu Desktop as a server. Should I uninstall the GUI? And if, how?

I'm running an Ubuntu 14.04 Desktop version as a LAMP server. Is a big difference between efficiency when the GNOME desktop environment is running? or it is better that I remove desktop and use only ...
1
vote
1answer
38 views

Xubuntu add Launcher that launches two applications

I am using Xubuntu and trying to customize my Panel with new Launchers. I want to make a launcher that will start two applications. In this case, Chrome and Minecraft (aka lazytime launcher). I've ...
0
votes
0answers
55 views

Why .desktop file does not launch an app?

Short problem description I would like to open Matlab by clicking with the mouse on an icon in my Desktop. What happens is that Matlab launch picture briefly appears on a screen but then it exits and ...