A .desktop file is a launcher. When run, it executes a command and 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
16 views

Unable to access desktop after latest NVIDIA update - 14.10

I have a dual boot Sony Vaio F Series laptop (model # VPCF234FD). It runs Windows 7 and Ubuntu 14.10. After my last update, which included an update of my NVIDIA drivers, if I'm not mistaken, I'm no ...
0
votes
1answer
72 views

Cannot change association for mp4 video files to custom .desktop

I cannot set default association of mp4 and avi files to my custom desktop files. For mkv, I can change from nautilus file>properties>open with tab. This is a video of the peculiar behavior that I am ...
1
vote
3answers
52 views

How to get custom desktop file to be the default program for certain files

I have written a python wrapper for vlc that sits as an appindicator and monitors keystrokes to vlc and loads next/prev files in folder. I have the script working from nautilus scripts. Now I need ...
0
votes
0answers
27 views

Lightdm has stopped working after Unwanted Nvidia display driver update

My computer has an Intel i3 processor and no other inbuilt GPU. However, the nvidia-* latest got installed on the computer during an update process. I used sudo apt-get remove nvidia-* to remove all ...
1
vote
0answers
13 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 ...
0
votes
0answers
13 views

Why my application is running from CLI but not from desktop file?

I am writing a Vala application. And I'm using CMake to install it. I have a desktop file that is properly installed and displayed but when I run my application from launcher, it doesn't launch, ...
0
votes
1answer
20 views

How can I download desktop version of unicorn 14.10 without torrent

I cannot find any copy of ubuntu-14.10-desktop-amd64.iso that I can download without using torrent. Can someone give me a URL for this.
1
vote
1answer
56 views

Creating shortcuts on desktop for applications

I know there are many questions about this. I tried to follow some of them but I could not succeed at it. So I installed Matlab R2014 on /opt/MATLAB/R2014 and it runs fine when I execute its shell ...
0
votes
0answers
18 views

accidentally deleted desktop folder, now all gui icons on screen default to /home/user/

I accidentally deleted the /home/user/Desktop folder and I would like to recreate this directory and assume the directories' old capabilities. For Instance, since the ~/Desktop folder was deleted, all ...
-1
votes
0answers
13 views

Desktop displayed, but no icons or menus to display

i installed ubuntu through vm-work station 10.When i logged in no icons are seen.Only thing it shows is purple background.Please help me out. Thanks in advance
0
votes
0answers
13 views

Unable to install Ubuntu on a Macbook Pro [duplicate]

When trying to install it says no mountable file systems? How can I install Ubuntu on Mac?
1
vote
1answer
27 views

GVim no longer launches from Unity after customizing .desktop file

I customized the Exec line in: ~/.local/share/applications/gvim.desktop [Desktop Entry] Version=1.0 Name=GVim 7.4 GenericName=Text Editor Comment=View and edit text files ...
0
votes
0answers
11 views

Which is the best alternative for Snipping tool (windows) in Ubuntu? [duplicate]

Which is the best alternative for Snipping tool (windows) in Ubuntu ?
0
votes
0answers
14 views

Desktop is not visible to users log in to GUI

I have Ubuntu 12.4LTS and have installed Ubuntu Desktop. When the current user log's in the whole desktop is visible and you can maneuver around. I add another 2 users via webmin Identical as the ...
1
vote
4answers
119 views

How Can I Run an Shell Script With .desktop Config File?

I am trying to run a shell script with a .desktop file but it doesn't seem to work, producing an error of There was an error launching the application at each attempt. I have the sh and .desktop files ...
0
votes
0answers
29 views

.desktop file with .bashrc environment

I am using IntelliJ IDEA, and it uses some of the environment variables defined in the .bashrc script. If I run its shell script from the terminal everything works fine but if I create a .desktop ...
-1
votes
1answer
39 views

Launch a .desktop file from boot

I have a .desktop file on my desktop that launches a html page. I need the .desktop file to run from startup, what would be the best way to do this? I have tried crontab and also the startup ...
0
votes
2answers
95 views

execute shell script from desktop in xfce

At first I just made a link to the .sh file on my desktop which failed to execute by double click. Then I've read about .desktop files and made one still to no avail. The program I want to run is a ...
0
votes
0answers
24 views

desktop not loading after moving /home

Desktop does't loand after moving /home in 14.04 The /home link does go to my home, but the ~ doesn't, it defaults to root. Have tried ccsm instal in other answers, but that doesn't work - i'm ...
0
votes
0answers
35 views

Ubuntu has lost it's task bar and everything from the desktop!

I have a laptop with Ubuntu 14 on - been playing about with EmberJS a lot recently and find Ubuntu a friendlier platform than OSX (I dread to think what it's like on Windows!) for this stuff. Anyway ...
0
votes
0answers
34 views

Chrome Remote Desk, dont work

anyone can help me to run this extension, and perform the command post askubuntu post
3
votes
1answer
67 views

Desktop file icon hijacks every newly opened terminal window

I have a desktop file that runs the following script: [Desktop Entry] Type=Application Terminal=true Name=MYAPP Icon=/usr/local/myAppDir/AppIcon.png Exec=/usr/local/myAppDir/myApp It does work, ...
0
votes
0answers
59 views

Unable to run custom Launcher entry which should run app as root

I'm trying to add an option to my Launcher which would open the application as root. My /usr/share/applications/sublime-text.desktop entry looks like this: [Desktop Entry] Version=1.0 ...
1
vote
1answer
43 views

association window <-> .desktop file <-> launcher entry

I'm trying to integrate my JS code with unity using low level dbus messaging. I'm able to set launcher icon properties (progress, count, menu etc) for known .desktop files ( for example, ...
1
vote
1answer
126 views

Cannot add an application to the launcher

I've downloaded Eclipse and I want it to be on my fast-launching dash bar but the problem is that, as you all probably know, Eclipse does not install but is inside a normal archive. So I tried to ...
-1
votes
1answer
40 views

Stencyl.Desktop not working

I have installed Stencyl on ubuntu and it is perfectly working fine from terminal commands, after making some amendments in Stencyl file. Now i want to make desktop entry for the Stencyl and wish to ...
1
vote
1answer
112 views

I created a desktop file in /usr/share/applications, but it doesn't show up in Dash

I've created a .desktop file. [Desktop Entry] Exec=cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $* Terminal=false StartupNotify=true Categories=GNOME;Oracle;Utility;Development; ...
1
vote
1answer
94 views

Desktop entry does not appear in Unity launcher

I created a .desktop entry for a custom QGIS installation in ~/.local/share/applications. For some reason the Unity launcher and Kupfer refuse to index the entry - it does not show up. Here is the ...
2
votes
1answer
2k views

Adding Folder shortcut to Launcher Ubuntu 14.04

I want to add some folder to the launcher so that I can access them at ease. How do I add shortcut to launcher?
0
votes
0answers
51 views

Upgrade to Ubuntu 14.04: Blank desktop

I just upgrade my Ubuntu to version 14.04, but the desktop after logging in is blank (no sidebar, no menu bar). I can open tty with Ctrl+Shift+F1 (F2) and log in, so I did try some solutions posted in ...
2
votes
1answer
100 views

nautilus show desktop file as normal file

here is my desktop file. nautilus show icon and name i set in desktop file. ▶ cat gitauto.desktop [Desktop Entry] Type=Application Terminal=true Name=Git Auto Push/Pull Icon=github-color.svg but ...
2
votes
1answer
64 views

Adding my launcher to the Unity Launcher automatically. How?

Based on official documentation: In order to add your launcher to the Unity Launcher on the left, you select and drag it onto the Launcher panel. Alternatively, you can place your .desktop ...
0
votes
1answer
63 views

Unity launcher made with Alacarte iconless

trying to create a launcher with a .png image file and main menu keeps on removing it. is .png not supported or do I need to edit the image first?
0
votes
1answer
78 views

How to use DRI_PRIME automatically from launcher

I thought something like the command ("komut" in picture)in the desktop launcher from attached picture but it doesn't work unfortunately.You get what i intend to do i hope. so how do i make that ...
2
votes
0answers
39 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 ...
1
vote
2answers
176 views

.desktop file doesn't execute a script, works fine when run by hand

I am having problems with my .desktop files. I have a shell script that constantly watches for a file to be put into the "Downloads" folder. When a file is put into the folder it automatically ...
0
votes
2answers
56 views

Trying to make a .desktop file that runs a .py file

I created a .desktop file that looks like this: [Desktop Entry] Name = My Script Comment = Test Exec= /home/zito/Documents/loc_tk.py Icon= Terminal=false type=Application I put the hashbang in the ...
0
votes
0answers
25 views

.desktop restore icon expects what size?

I created a .desktop file and set its icon to a png file that is 144x144 pixels. However on creation the icon is a white paper. I have to click resize and make it either bigger or smaller to take. And ...
2
votes
1answer
192 views

How to remove duplicate entries in dash?

After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash. How can I get rid of them?
2
votes
1answer
103 views

Why I cannot mount ISO file from this .desktop file by `fuseiso`?

I want to mount iso files without root permission by fuseiso, and this is how to mount a iso file: fuseiso -p '/path/to/isofilename' '/media/isofilename' , so I make a .desktop file followed ...
0
votes
0answers
125 views

Weird graphical glitches with Xubuntu 14.04 including folder icons disappearing on mouseover

I’ve just installed the above version on my ailing Dell Dimension tower PC - great to be able to get it up and running again... The only thing is that there seems to be a strange graphics issue - ...
2
votes
0answers
106 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, ...
0
votes
0answers
57 views

gtk-launch desktop file with arguments

I have a .desktop file with following Exec-line Exec = python script.py %u however, when I do gtk-launch test.desktop /home/user the argument /home/user is not passed to script.py Why? Or is there ...
0
votes
0answers
31 views

Odd Ubuntu graphical bug when viewing desktop

I'm having this odd bug which won't fix itself It happens after entering my password and logging in - it's like the desktop background is missing and so it just shows no pixels. I don't know what ...
0
votes
1answer
162 views

How to create a desktop entry for an application located in the user space?

I compiled the latest QGIS sources into ~/bin/qgis. I can start the application from the command line running ~/bin/qgis/bin/qgis. Now I want to have application launcher entry. So I copied the ...
0
votes
1answer
29 views

keep getting internal system errors and can not see the desktop

I have found quite a few topics within this problem, but didn't really find a clear answer. I have updated my Ubuntu. The update I have installed Ubuntu update center said it had some unothorized ...
2
votes
1answer
814 views

How to refresh launcher icon application menu in ubuntu 12.04?

After modifying a desktop file in /usr/share/applications, I need to refresh the launcher icon application menu so that my modification shows up. For the sake of clarity, the menu that should get ...
0
votes
1answer
129 views

Application Startup Icon Locked (root)

I have installed a program, an icon appears on the desktop, but it has a picture of a lock on it, and clicking it does nothing. It's a program I installed from a file. ...
0
votes
2answers
161 views

Running a .sh to execute multiple commands

I was curious how I would go about running multiple commands via shell script. For example, just to try it out, I'd like to be able to connect a .desktop to a .sh that will run all the update codes ...
15
votes
3answers
352 views

My .bashrc alias not run in .desktop file

I've added the following line to the .bashrc file: alias midos="sh /home/erkanmdr/Belgeler/midos/midos.sh" This command works fine in the terminal and tty. But not working in my .desktop shortcut ...