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
1answer
14 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 ...
1
vote
1answer
26 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
77 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 ...
1
vote
1answer
73 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
10 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
12 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 ...
4
votes
2answers
53 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 ...
2
votes
2answers
95 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
39 views

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

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??? ...
0
votes
1answer
29 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 ...
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
13 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
58 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
89 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
61 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
15 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
35 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
65 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
19 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
51 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
47 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
35 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
25 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
114 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
28 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 ...
2
votes
1answer
81 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
10 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
73 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
14 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
24 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
715 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
53 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
36 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
49 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 ...
3
votes
1answer
157 views

How can I add a dynamic, application specific quicklist for recently used files to the Unity Launcher?

It would be an awesome feature to access recently used documents from LibreOffice with a dynamic quicklist in the launcher. There is quite some experience on how to create custom static quicklists. ...
0
votes
0answers
24 views

Executing oracle 11g xe desktop file in ubuntu

I have installed oracle 11g xe followed this steps . A desktop file created in my home/Desktop directory as you see in the picture oracle desktop file. I have allowed this file executed like a ...
0
votes
0answers
20 views

Alarm Clock: How to turn off the alarm?

http://askubuntu.com/a/401819/340383 says: PS: You can also have: Alarm Clock — Ubuntu Apps Directory I started an alarm like this: And with preferences settings thusly: And then ...
9
votes
1answer
976 views

Custom right-click action in Unity Launcher keeps cursor busy for 20 seconds

To have a "minimize window" option through right click on an icon in the Unity launcher (Ubuntu 14.04), I followed the detailed instructions here about changing a .desktop file and made a custom ...
1
vote
0answers
22 views

How to create a .desktop file that launchs 2 programs at the same time? [duplicate]

I am trying to make a .desktop file that launches more than one app. This are the commands I tried: Exec=appcmd & appcmd Exec=appcmd AND appcmd Exec=appcmd && appcmd
0
votes
0answers
40 views

Neither autostart .desktop or sh scripts working

Having successfully set up .desktop scripts for Ubuntu MATE, finding exactly the same set up fails to work on Ubuntu 14.04 LTS. Trying to set up a script which can load the terminal and execute a ...
0
votes
1answer
15 views

wrong icons on desktop

As a result of some misconfiguration, I had to redo a number of things in my Kubuntu 14.04 system. I've pretty much fixed everything, but now I have a new problem: the icons visible on my desktop are ...
0
votes
1answer
43 views

.Desktop EXEC universal home path

I am making .desktop for teamspeak as their programmers didn't. It ought to work for everyone and to do so I need to target home folder universaly with EXEC. So let's pretend program X is in ...
1
vote
1answer
140 views

Eclipse Icon not shown, desktop file points to xpm

I recently installed the latest version of Eclipse that I downloaded from the Eclipse website. It is located at /opt/eclipse. I have a symbolic link form /usr/bin/eclipse to /opt/eclipse/eclipse. I ...
0
votes
0answers
63 views

Desktop file doesn't show icon in Launcher

I have a small script, which uses rsync to do a backup and some associated housekeeping, that I run from a .desktop file which contains the line Terminal=true The desktop file is in ...
0
votes
0answers
25 views

Can I hide a part of my Ubuntu screen

I want to hide a part of my Ubuntu screen. Is there a way to put like a filter in front to all what is ongoing, so that I can decide what to see, using for instance a keyboard shortcut. When visiting ...
0
votes
0answers
19 views

Ubuntu Server GUI at specific runlevel

I have just recently installed Ubuntu Server, of course for server purpose. It is ok that there is only command line interface but I need GUI only for browser, nothing else. (Terminal browsers are ...
2
votes
0answers
42 views

Script crashes when starting from .desktop file

When I execute script from terminal by hand, it runs without problems: gksudo /path/to/module.sh But when I use .desktop file to run script on startup: [Desktop Entry] Type=Application Exec=gksudo ...