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

5
votes
1answer
191 views

how to use an image for my custom .desktop file for unity previews

When one left clicks an application, it also displays the screenshot of the desired application. screenshot of the desired effect: I can't find the screenshotlink=? command in the vlc.desktop ...
3
votes
1answer
83 views

.desktop launches app with custom icon. why not shell?

I have a .desktop file that launches an app, and it uses the .desktop icon: [Desktop Entry] Name=My Ro Type=Application Comment=Web Application Exec=/path/to/myapp -test Icon=/opt/giteye/icon.xpm ...
3
votes
1answer
265 views

Which hidden files in the /home/user folder control the desktop?

The background story: The other day my (L)ubuntu offered me to upgrade from 12.04 LTS to 14.04 LTS, which I gladly accepted. At the end of the evening, I started the update out of the update manager, ...
3
votes
1answer
574 views

.desktop file in xsessions folder not autorunning

I was setting up a kiosk per this tutorial http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS I have hit a problem with the kiosk.desktop file since it is not ...
2
votes
1answer
152 views

Screen refresh problem

I recently upgraded from Ubuntu 15.04 to Ubuntu 15.10 with sudo do-release-upgrade Everything worked fine. But when I tried to change the desktop background unity crashed. I restarted the computer ...
2
votes
1answer
59 views

Ubuntu Desktop corporate warning splash page

Good Afternoon The Windows servers in my office have a corporate warning splash page whenever a user logs on to the system. The user would then have to click "ok" to acknowledge the warning that ...
2
votes
1answer
274 views

Xubuntu 12.10 cannot archive folder on desktop

When I right click a folder on the desktop, there's no option to archive it. I actually have to open up the Thunar file manager, navigate to the desktop folder, and right click on the folder in order ...
1
vote
1answer
52 views

Find default desktop directory

Years ago, we had a sysadmin who set up the default install so that all users start out with trash, their home folder, and some application launchers on their desktop. I'm currently in the process of ...
3
votes
0answers
163 views

How can I get a change to a .desktop file get recognized by Unity/Gnome?

Unity/Gnome does not appear to pickup changes to .desktop files automatically (in particular the "Name" and "Icon" fields). I have found update-desktop-database, but that seems to update the MIME ...
2
votes
0answers
32 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 ...
2
votes
0answers
133 views

Running CLI/terminal programs as entirely separate program (i.e not as an instance of Urxvt with -e toggle?)

I'm currently running Openbox as WM, with Urxvt as terminal emulator, and zsh as shell. I use Mutt for emailing, Ranger for files, Cortex for redditing, Newsbeuter for RSSing. All of these programs ...
2
votes
0answers
620 views

Custom launcher in Ubuntu 12.04 xdg/autostart

I have some script that should start when user logs in. I've created .desktop file and put it into /etc/xdg/autostart. It works on two pretty old PCs with Ubuntu with a long life (10.xx -> 11.10 -> ...
1
vote
0answers
21 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" ...
1
vote
0answers
20 views

14.04 LTS on old Pressario Desk top is blank but short cuts are there if you can remember where they are!

I have a Compaq Pressario that has been running Ubuntu for a few years. Now I have the problem that I can log in and it refreshes the background, flashes then sits there, no icons. The mouse is active ...
1
vote
0answers
95 views

Where are SVG launcher icons automatically loaded from?

I have created several desktop shortcuts for VirtualBox machines (VBMs) on my 15.04 Ubuntu OS. I've noticed that desktop files in /usr/share/applications and ~/.local/share/applications usually have ...
1
vote
0answers
31 views

Obtain different launcher items with .desktop files running the same executable

Suppose you need different launchers to run the same application, as in S1.desktop: [Desktop Entry] Name=S1 Comment=Open a terminal with ssh connection to S1 Exec=gnome-terminal --maximize --tab ...
1
vote
0answers
55 views

gtk-launch .desktop is not using custom icon

I copied my .desktop shorcut to user_home+"/.local/share/applications/" then going to terminal and typing in gtk-launch nameOfMyDesktopFile it launchs it, but it doesn't take the custom icon. I'm ...
1
vote
0answers
168 views

How to launch .desktop file from terminal

I have a file on my desktop named "Firefox - Profile B.desktop". I am running Firefox in profile A. I tell Firefox Profile A to run a command in terminal. I'm trying to make it launch "Firefox - ...
1
vote
0answers
24 views

How does KSPLICE for the desktop interact with the “need to restart to apply changes” dialogue after updates?

One would expect that it would make those dialogs disappear. I'm not saying that it doesn't for me, as I haven't installed ksplice. I am saying I'ld like to know whether it works to eliminate those ...
1
vote
0answers
104 views

Set the terminal title in a .desktop started application

I've an application that I want to start via an entry in the upper gnome panel using a .desktop file, it has to run inside a terminal. #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 ...
1
vote
0answers
74 views

Problem logging into my desktop account on Xubuntu 14.04LTS

My main account on Xubuntu 14.04LTS 64bit loops back to the login screen after it tries to load. guest account works, and I managed to make a new account using terminal, but I need access to all the ...
1
vote
0answers
148 views

Not loading correctly after login

On a fresh install of Ubuntu, right after logging in, the upper right fourth desktop, and the bar at the top of the screen (I'm new to Linux, don't know what it's called yet), refuse to load properly, ...
0
votes
0answers
9 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 ...
0
votes
0answers
9 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
6 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 ...
0
votes
0answers
23 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.
0
votes
0answers
27 views

Ubuntu Desktop screen going crazy

I'm new to Linux and had an extra computer on hand so after reading about Linux I took Windows 7 off and installed Ubuntu Desktop on it. Well, all works fine until I hit the settings tab on the home ...
0
votes
0answers
69 views

unable to launch gnome-session --session=ubuntu

I used xkill command in terminal then clicked on the top bar(by mistake). after rebooting i got this message : : unable to launch "gnome-session --session=ubuntu" X session --- "gnome-session ...
0
votes
0answers
50 views

Ubuntu showing less ram than before after fresh install

I had Ubuntu 15.04 installed but its support ends in January. And I don't have that much bandwidth and money to do a upgrade every 9 months so I turned back to 14.04 and upgraded it to 14.04.3. But I ...
0
votes
0answers
19 views

MySQL Workbench available only via command line

This might be a silly question: I downloaded MySQL Workbench but I cannot find it in the finder area. If I go to the command line and type mysql-workbench then run, I'm able to launch it. But it ...
0
votes
0answers
29 views

why my desktop entry file not working for a perl program?

[Desktop Entry] Name=hotel Version=1.0 Encoding=UTF-8 X-GNOME-FullName=hotel Type=Application Categories=Application;Utility; Path=/home/yathayed/yedukondalu/programs/perl/advanced/tk Exec=perl ...
0
votes
0answers
10 views

How does tracker find applications with no .desktop files

I am running Ubuntu GNOME 15.10 with GNOME 3.18, and when I search for something in the activities overview, even if an application does not have a .desktop file it will shoe up in the search results ...
0
votes
0answers
56 views

How to get a remote desktop on an Azure hosted Ubuntu?

I have an Ubuntu installed on Azure. (it was created from a bitname image, but this is hopefully should not matter) Here is the version: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS ...
0
votes
0answers
47 views

Desktop is not coming after update because of gnome-session fallback

I updated my Ubuntu 14.04 recently. Then I restarted and enter my password in GUI and after that got this screen I pressed Okay. However, nothing happens after that. Can anyone please help?
0
votes
0answers
16 views

Change time for mouse hover event

How do I change the time before a mouse hover event triggers. I'm using Eclipse and the tool tips are triggering too fast, I'd like to slow it down. From my reading of various answers in Eclipse ...
0
votes
0answers
15 views

how to restore my program UI after using “ctrl+super+D” to show the Desktop?

I'm running Eclipse, and then I used Crl+Super+D to show the Desktop, now I can't see the Eclipse. I clicked on the Eclipse program and it says there is another copy running on.
0
votes
0answers
368 views

KDE on Ubuntu 15.04 - Missing .desktop Icons

I installed plasma 5.3 on my ubuntu machine and I am encountering a strange problem. Some application icons are just not displayed: this happens only with kde, while with other DE (unity, gnome and ...
0
votes
0answers
10 views

I boot Ubuntu and some files in the Desktop appear suddenly in the top right corner of the screen

When I boot Ubuntu 14.04 sometimes all the PDF, TXT files and some folders that are in the Desktop appear suddenly in the top right corner of the screen. Any idea why is happening this?
0
votes
0answers
54 views

Ubuntu mate desktop not responding

Here is link to my desktop screenshot: http://imgur.com/WfQuy7W I recently installed KDE and after I realize that ubuntu mate is better than KDE I moved back to mate.. But then all my desktop files ...
0
votes
0answers
58 views

14.04 Can I create a sound indicator item for a script?

I have made a script to interact with MPC on the command line and would like to add to it so that I can control it in the Ubuntu sound menu. I have added my .desktop file (Below) to the sound menu. ...
0
votes
0answers
88 views

Adding TeamSpeak3 to Unity launcher

I've extracted TS3 in to /opt Folder, marked the ts3client_runscript.sh as executable, added a file named teamspeak3-client.desktop to /usr/share/applications with the content: [Desktop Entry] ...
0
votes
0answers
17 views

How do I create a *.desktop entry for an executable via Right-Click in nautilus?

I tried Arronax but it didn't seem to work for me. It had permissions issues, plus it wouldn't even show the right click menu after installing the nautilus plugin.
0
votes
0answers
35 views

.desktop-file two part exec line

I am trying to get bleachbit to run. Unfortunately I get the error, that it could not import gtk. It seems that this is due to me having python 2 & 3 installed. Starting bleachbit over the console ...
0
votes
0answers
27 views

blank desktop on Oracle virtualbox

I have been trying to install Ubuntu 14.04 LTS on my oracle virtualbox, after installation, it brings forth a blank desktop without any programs or applications on it. It will display "Guest session" ...
0
votes
0answers
38 views

Reduce delay for re-clicking a .desktop entry in Unity launcher

I have a number of homemade desktop entries in my Unity launcher, and I perceive that after I click on any of them, the clicked item experiences a delay of 5 or 6 seconds before it will respond to ...
0
votes
0answers
62 views

Ubuntu Desktop is not working

I was working on an Ubuntu 12.04 system. For some task I wanted to use 14.04, to keep the backup, I detached my hard disk, and installed Ubuntu 14.04 on a totally new hard disk. Now, when I'm trying ...
0
votes
0answers
24 views

how to prevent some linux applications start pipelight's wineserver

I have pipelight installed in my system. Some native linux applications such as geary, unity tweak launch pipelight`s wineserver and it takes a while to load. How can I prevent them to not launch ...
0
votes
0answers
41 views

How to Set a Different Desktop Slideshow for Each Workspace

I have figured out how to do two things (well, two things relevent to this question :) To set a different background for each workspace (using Compiz Config) and set a desktop slideshow for all ...
0
votes
0answers
135 views

Custom .desktop file not working, cannot start application

I added a custom .desktop file in ~/.local/share/applications and made it executable. However, I cannot start the program (ViTables), neither by clicking on the desktop file nor by starting it from ...
0
votes
0answers
24 views

How can I display a custom image when selecting a custom session in the greeter?

before I asked this question and found out how to run any program directly in place of a desktop environment. Now I'd like to know if it is possible to change the background image alongside the ...