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
15 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
30 views

How to add a desktop shortcut?

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
12 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
50 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
36 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
48 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
14 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
12 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
34 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
51 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
15 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
46 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
41 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
30 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
22 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 ...
3
votes
0answers
41 views

.desktop file will not open with 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
68 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
9 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
61 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
10 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
20 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 ...
3
votes
2answers
691 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
35 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
45 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
46 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
147 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
22 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
16 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
697 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
36 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
42 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
118 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
53 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
17 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 ...
5
votes
1answer
58 views

Desktop entry, or other convinent but safe way to exec multiple statements,

I'm running Gnome on Ubuntu 15.4. I want to execute two or more actions at once, but let's try with two: sudo pm-suspend gnome-screensaver-command -l pm-suspend has been added and allowed to be ...
1
vote
0answers
31 views

Eclipse installation question - .desktop file

Another noob question trying to install Eclipse as per How to install Eclipse? that is following right up after this question: Eclipse installation process - initial "sudo mv eclipse /opt" ...
0
votes
0answers
36 views

How to prevent launcher flashing after clicking it and before a window opens or timeout?

When I click a Unity launcher icon, it will flash until a window opens or until a timeout is reached. Also the mouse cursor changes to the spinning circle. While it is flashing, further clicks on the ...
0
votes
0answers
9 views

Toshiba Canvio Wireless Hard drive adapter

I have a new Toshiba Canvio Wireless hard drive adapter hooked up to a 1TB external hard drive. Toshiba only makes software for IOS, Android and Windows. I installed the exe file on to my desktop ...
1
vote
2answers
230 views

Icon path in .desktop file

On my desktop I have a .desktop file. If I type: Icon=/home/ianbell/Pictures/myLogo.png the icon of the .desktop file changes (the expected result). But, if I type: Icon=~/Pictures/myLogo.png ...
0
votes
1answer
64 views

Create desktop entry for executable

I'm sure the solution for this is trivial, but I haven't found the way to create a desktop file for an executable! My desktop file is: [Desktop Entry] Name=MOHAA LINUX Exec=mohaa_lnx ...
5
votes
3answers
296 views

Showing all installed programs in Ubuntu

In Ubuntu, where to see all programs just like the "program files" in windows, from which I can launch a program from a list of all program installed?
1
vote
1answer
50 views

Is there a file manager with file search that doesn't break xubuntu desktop

I am looking of a file manager for Xubuntu that would: (1) Be file search capable. The default combination Thunar+Catfish is can only search files, but cannot manipulate those. Catfish fails to ...
0
votes
0answers
30 views

Run .Desktop file as root

How do I make my desktop file run as root? I have a script to restart the network-manager that needs sudo to run, but it won't work as a desktop file because it still needs root.
7
votes
2answers
137 views

What happens internally when I click “Lock to launcher” in Unity?

In the Unity desktop, when I start a GUI application, its icon appears in the launcher (if it isn't already there). Now when I right-click this icon, I either get the option Lock to Launcher or ...